Model specification abstract class. Sub-classes can override
targetLangs, compatibleSubcomponents, compatibleContainers, and
compatibleGens.
|
|
|
|
|
|
|
|
|
__delitem__(self,
name)
Delete named object (Var, Par, Fun, Input, or sub-component) |
source code
|
|
|
|
|
__getitem__(self,
name)
Return object named using the hierarchical naming format. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_register(self,
obj,
depth=0,
parent_obj=None) |
source code
|
|
|
add(self,
arg,
tosubcomponent=None)
Add object to registry, into a specified sub component if provided. |
source code
|
|
|
|
|
|
|
|
|
difference(self,
other)
Print the difference between two ModelSpecs to screen. |
source code
|
|
|
flattenSpec(self,
multiDefUnravel=True,
globalRefs=None,
ignoreInputs=False,
force=False)
Flatten structured model specification to dictionary compatible with
FuncSpec instantiation. |
source code
|
|
|
|
|
|
|
isDefined(self,
verbose=False,
ignoreInputs=False) |
source code
|
|
|
|
|
|
|
|
|
search(self,
name,
component_type_order=None)
Find Quantity objects containing a component named <name>, of
type given by the hierarchical name <comptype1.comptype2. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|