CellML Discussion List

Text archives Help


[cellml-discussion] nested components in CellML


Chronological Thread 
  • From: david.nickerson at gmail.com (David Nickerson)
  • Subject: [cellml-discussion] nested components in CellML
  • Date: Sat, 22 Oct 2011 14:30:37 +1300

On Sat, Oct 22, 2011 at 10:10 AM, Lucian Smith <lpsmith at spod-central.org>
wrote:
> * Maxwell Neal <mneal at u.washington.edu> [2011-10-21 22:03] writes:
>> Hi all,
>>
>> I was wondering - can CellML models have nested components? ?That is, are
>> there instances where some model component is a component in another model
>> component?
>> Thanks,
>
> Yes--this is covered by the concept of encapsulation. ?See
> http://www.cellml.org/getting-started/tutorials/tutorial/best_practice/#grouping
> for more detail, but basically you set up a whole tree of nested
> components, and this nesting determines the rules for how you can connect
> the variables in those components.
>
> Also, an imported component from another file that encapsulates other
> components brings those components (and corresponding connections) with
> it in the import.
>
> Is that a reasonable summary, list denizens?

yep, I think that summarises it nicely. Importing along with
encapsulation allows the definition of models where some components
are components from another model.


Cheers,
Andre.




Archive powered by MHonArc 2.6.18.

Top of page