Package PyDSTool :: Package Generator :: Module ADMC_ODEsystem' :: Class ADMC_ODEsystem
[hide private]
[frames] | no frames]

Class ADMC_ODEsystem

source code

           object --+            
                    |            
baseclasses.Generator --+        
                        |        
       baseclasses.ctsGen --+    
                            |    
         ODEsystem'.ODEsystem --+
                                |
                               ADMC_ODEsystem

Wrapper for code generator for ADMC++32 and Matlab. Uses Matlab functional specifications only.

Instance Methods [hide private]
 
__del__(self) source code
 
__init__(self, kw)
Use the nobuild key to postpone building of the library, e.g.
source code
 
_prepareAuxContents(self) source code
 
_prepareEventFuncStrings(self, vfdefines) source code
 
_prepareEventSpecs(self) source code
 
_prepareEventsFileContents(self) source code
 
_prepareGetFileContents(self) source code
 
_prepareICContents(self) source code
 
_prepareModelContents(self) source code
 
_prepareParamContents(self) source code
 
_prepareSetFileContents(self) source code
 
_prepareVfieldContents(self, vfdefines) source code
 
_prepareVfieldDefines(self) source code
 
makeLib(self, libsources=[], libdirs=[], include=[])
makeLib calls makeLibSource and then the compileLib method.
source code
 
makeLibSource(self)
makeLibSource generates the MATLAB source for the vector field specification.
source code

Inherited from ODEsystem'.ODEsystem: AuxVars, Jacobian, JacobianP, Rhs, __getstate__, __setstate__, addMethods, checkInitialConditions, cleanupMemory, compute, haveJacobian, haveJacobian_pars, haveMass, prepDirection, set, validateICs

Inherited from baseclasses.ctsGen: validateSpec

Inherited from baseclasses.Generator: __copy__, __deepcopy__, __repr__, __str__, addEvtPars, checkArgs, contains, get, getEventTimes, getEvents, info, query, resetEventTimes, resetEvents, setEventICs, showAuxFnSpec, showAuxSpec, showEventSpec, showSpec

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

Class Variables [hide private]

Inherited from baseclasses.Generator (private): _querykeys

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__del__(self)
(Destructor)

source code 
Overrides: baseclasses.Generator.__del__

__init__(self, kw)
(Constructor)

source code 

Use the nobuild key to postpone building of the library, e.g. in order to provide additional build options to makeLibSource and compileLib methods or to make changes to the C code by hand. No build options can be specified otherwise.

Overrides: object.__init__

makeLib(self, libsources=[], libdirs=[], include=[])

source code 

makeLib calls makeLibSource and then the compileLib method. To postpone compilation of the source to a DLL, call makelibsource() separately.

makeLibSource(self)

source code 

makeLibSource generates the MATLAB source for the vector field specification. It should be called only once per vector field.