ode_jac_vfunct_mfptr Class Template Reference

Provide ODE Jacobian in the form of member function pointers.

#include <ode_jac_funct.h>

Inheritance diagram for ode_jac_vfunct_mfptr:

ode_jac_vfunct

Detailed Description

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

Definition at line 321 of file ode_jac_funct.h.


Public Member Functions

 ode_jac_vfunct_mfptr (tclass *tp, int(tclass::*fp)(double x, size_t nvar, const double y[nv], double dfdy[nv][nv], double dfdx[nv], param_t &))
 Specify the member function pointer.
virtual int operator() (double x, size_t nvar, const double y[nv], double dfdy[nv][nv], double dfdx[nv], param_t &pa)
 Compute the derivatives dfdx and the Jacobian matrix dfdy given y at the point x.

Protected Attributes

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

Private Member Functions

 ode_jac_vfunct_mfptr (const ode_jac_vfunct_mfptr &)
ode_jac_vfunct_mfptroperator= (const ode_jac_vfunct_mfptr &)

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