ode_vfunct_cmfptr Class Template Reference

Provide ODE functions in the form of const member function pointers. More...

#include <ode_funct.h>

Inheritance diagram for ode_vfunct_cmfptr:

ode_vfunct

Detailed Description

template<class tclass, class param_t, size_t nv>
class ode_vfunct_cmfptr< tclass, param_t, nv >

Provide ODE functions in the form of const member function pointers.

Definition at line 345 of file ode_funct.h.


Public Member Functions

 ode_vfunct_cmfptr (tclass *tp, int(tclass::*fp)(double x, size_t nvar, const double y[nv], double dydx[nv], param_t &) const)
 Specify the member function pointer.
virtual int operator() (double x, size_t nvar, const double y[nv], double dydx[nv], param_t &pa)
 Compute the nv derivatives as a function of the nv functions specified in y at the point x.

Protected Attributes

int(tclass::* fptr )(double x, size_t nvar, const double y[nv], double dydx[nv], param_t &) const
 Pointer to the member function.
tclass * tptr
 Pointer to the class.

Private Member Functions

 ode_vfunct_cmfptr (const ode_vfunct_cmfptr &)
ode_vfunct_cmfptroperator= (const ode_vfunct_cmfptr &)

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

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page