Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Attributes | Private Member Functions
ode_funct_fptr_param< param_t, vec_t > Class Template Reference

Provide ODE functions in the form of function pointers.

#include <ode_funct.h>

Inheritance diagram for ode_funct_fptr_param< param_t, vec_t >:
ode_funct< vec_t >

Detailed Description

template<class param_t, class vec_t = ovector_base>
class ode_funct_fptr_param< param_t, vec_t >

Definition at line 110 of file ode_funct.h.

Public Member Functions

 ode_funct_fptr_param (int(*fp)(double, size_t, const vec_t &, vec_t &, param_t &), param_t &pa)
 Create an object given a function pointer.
virtual int operator() (double x, size_t nv, const vec_t &y, vec_t &dydx)
 Compute the nv derivatives as a function of the nv functions specified in y at the point x.

Protected Attributes

int(* fptr )(double x, size_t nv, const vec_t &y, vec_t &dydx, param_t &)
 The function pointer.
param_t * pp
 The parameter.

Private Member Functions

 ode_funct_fptr_param (const ode_funct_fptr_param &)
ode_funct_fptr_paramoperator= (const ode_funct_fptr_param &)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.