LILAC
|
Type interface for the rhs class. More...
#include <rhs_type.hpp>
Public Member Functions | |
virtual const std::type_info & | vtype () const |
returns the type of the current variable | |
virtual void | initial_condition (ptr_passer in, size_t len) |
Generic initial condition, call default constructor for each element/. |
Type interface for the rhs class.
This class associates each rhs object with a given type This make it possible to allow for runtime selection of typed integrators while using a template to help save code. Each general purpose integrator should always support a type that has the basic numeric operators and an abs function defined. This should be enough for almost all cases but you can define your own if need be
Definition at line 32 of file rhs_type.hpp.
|
inlinevirtual |
Generic initial condition, call default constructor for each element/.
Reimplemented in c_elegans.
Definition at line 40 of file rhs_type.hpp.
|
inlinevirtual |
returns the type of the current variable
Definition at line 35 of file rhs_type.hpp.