Header file for the dsim_integrator class and associated types. More...
Go to the source code of this file.
Classes | |
class | dsim_integrator |
An integrator, providing an implementation of an integration algorithm to be applied to object variables. More... | |
Typedefs | |
typedef dsim_integrator *(* | dsim_integrator_factory_t )(const char *) |
Type for the factory function for an integrator. |
Header file for the dsim_integrator class and associated types.
typedef dsim_integrator*(* dsim_integrator_factory_t)(const char *) |
Type for the factory function for an integrator.
All integrators must have a factory function with C linkage conforming to this function signature; this factory function will be used by the simulation engine to create integrator instances for this integrator. The factory function will take a single parameter, a C string giving the name of the new integrator instance. The new integrator instance should be allocated on the heap (via new) and the name parameter should be passed unchanged to the constructor.