obsvars specifies the observable variables for this model, which must
be present in all trajectory segments (regardless of which other
variables are specified in those segments). intvars specifies
non-observable (internal) variables for the model, which may or may not
be present in trajectory segments, depending on reductions, etc., that
are present in the sub-model (e.g. generator) that determines the
trajectory segment.
|
|
__init__(self,
*a,
**kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
| _prepareICs(self,
xdict,
traj,
ds,
t0,
ti_1) |
source code
|
|
|
|
| _applyStateMap(self,
epochStateMaps,
model_interface,
next_model_interface,
traj,
xdict,
t0) |
source code
|
|
|
|
cleanupMemory(self)
Clean up memory usage from past runs of a solver that is interfaced
through a dynamic link library. |
source code
|
|
|
|
| _findTrajInitiator(self,
end_reasons,
partition_num,
t0,
xdict,
mi=None,
swRules=None) |
source code
|
|
|
|
_addTraj(self,
trajname,
trajseq,
epochEvents,
modelNames,
force_overwrite=False)
Add a computed trajectory to database. |
source code
|
|
|
|
haveJacobian(self)
Returns True iff all objects in modelInfo have defined Jacobians. |
source code
|
|
|
|
haveJacobian_pars(self)
Returns True iff all objects in modelInfo have defined Jacobians. |
source code
|
|
|
|
Rhs(self,
dsName,
t,
xdict,
pdict=None,
asarray=False)
Direct access to a sub-model generator's Rhs function. |
source code
|
|
|
|
Jacobian(self,
dsName,
t,
xdict,
pdict=None,
asarray=False)
Direct access to a sub-model generator's Jacobian function (if defined). |
source code
|
|
|
|
JacobianP(self,
dsName,
t,
xdict,
pdict=None,
asarray=False)
Direct access to a generator's JacobianP function (if defined). |
source code
|
|
|
|
MassMatrix(self,
dsName,
t,
xdict,
pdict=None,
asarray=False)
Direct access to a generator's MassMatrix function (if defined). |
source code
|
|
|
|
AuxVars(self,
dsName,
t,
xdict,
pdict=None,
asarray=False)
Direct access to a generator's auxiliary variables
definition (if defined). |
source code
|
|
|
|
compute(self,
trajname,
**kw)
Compute a hybrid trajectory and store it internally in the 'trajectories'
attribute. |
source code
|
|
|
|
|
|
|
|
|
|
_infostr(self,
verbose=1)
Return string information about named sub-model (if given by dsName)
at given verbosity level (default 0) |
source code
|
|
|
Inherited from Model:
__call__,
__copy__,
__deepcopy__,
__delitem__,
__getitem__,
__len__,
__repr__,
__str__,
current_defining_args,
defaultVars,
forceIntVars,
forceObsVars,
getDSAlgPars,
getDSEventActive,
getDSEventTerm,
getEndPoint,
getEndTime,
getEventMappings,
getTrajEventStruct,
getTrajEventTimes,
getTrajEvents,
getTrajModelName,
getTrajTimeInterval,
getTrajTimePartitions,
has_exact_traj,
info,
query,
renameTraj,
resetEventTimes,
sample,
searchForNames,
searchForVars,
set,
setDSAlgPars,
setDSEventActive,
setDSEventBisect,
setDSEventDelay,
setDSEventDir,
setDSEventICs,
setDSEventInterval,
setDSEventPrecise,
setDSEventStartTime,
setDSEventTerm,
setDSEventTol,
setICs,
setPars,
showAuxFnSpec,
showAuxSpec,
showDSEventInfo,
showDef,
showEventSpec,
showSpec,
sub_models
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|