ode_funct Class Template Reference

Ordinary differential equation function [abstract base]. More...

#include <ode_funct.h>

Inheritance diagram for ode_funct:

ode_funct_cmfptr ode_funct_fptr ode_funct_mfptr

Detailed Description

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

This base class provides the basic format for specifying ordinary differential equations to integrate with the O2scl ODE solvers. Select the appropriate child of this class according to the kind of functions which are to be given to the solver.

For functions with C-style arrays, use the corresponding children of ode_vfunct .

Definition at line 44 of file ode_funct.h.


Public Member Functions

virtual int operator() (double x, size_t nv, const vec_t &y, vec_t &dydx, param_t &pa)=0
 Compute the nv derivatives as a function of the nv functions specified in y at the point x.

Private Member Functions

 ode_funct (const ode_funct &)
ode_functoperator= (const ode_funct &)

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