Package PyDSTool :: Module MProject :: Class GeneratorInterface
[hide private]
[frames] | no frames]

Class GeneratorInterface

source code

 object --+    
          |    
dsInterface --+
              |
             GeneratorInterface

Wrapper for Generator (for non-hybrid models) that shares similar API with ModelInterface for use in HybridModel objects.

Instance Methods [hide private]
 
__init__(self, model, FScompatibleNames=None, FScompatibleNamesInv=None)
model argument must be a Generator only
source code
 
get(self, key, ics=None, t0=0) source code
 
set(self, key, value, ics=None, t0=0) source code
 
Rhs(self, t, xdict, pdict)
Direct access to a generator's Rhs function.
source code
 
Jacobian(self, t, xdict, pdict, idict=None)
Direct access to a generator's Jacobian function (if defined).
source code
 
JacobianP(self, t, xdict, pdict)
Direct access to a generator's JacobianP function (if defined).
source code
 
MassMatrix(self, t, xdict, pdict)
Direct access to a generator's MassMatrix function (if defined).
source code
 
AuxVars(self, t, xdict, pdict)
Direct access to a generator's auxiliary variables definition (if defined).
source code

Inherited from dsInterface: get_test_traj, query

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from dsInterface (private): _querykeys, _setkeys

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, model, FScompatibleNames=None, FScompatibleNamesInv=None)
(Constructor)

source code 

model argument must be a Generator only

Overrides: object.__init__