LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
rhs_type< T, _rhs_type > Class Template Reference

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/.

Detailed Description

template<typename T, class _rhs_type = rhs>
class rhs_type< T, _rhs_type >

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

See Also
rk45,
rhs,
rhs_CNLS,
rk45,
rk45_tmpl

Definition at line 32 of file rhs_type.hpp.

Member Function Documentation

template<typename T, class _rhs_type = rhs>
virtual void rhs_type< T, _rhs_type >::initial_condition ( ptr_passer  in,
size_t  len 
)
inlinevirtual

Generic initial condition, call default constructor for each element/.

Reimplemented in c_elegans.

Definition at line 40 of file rhs_type.hpp.

template<typename T, class _rhs_type = rhs>
virtual const std::type_info& rhs_type< T, _rhs_type >::vtype ( ) const
inlinevirtual

returns the type of the current variable

Definition at line 35 of file rhs_type.hpp.


The documentation for this class was generated from the following file: