ode_bv_solve Class Template Reference

Solve boundary-value ODE problems with constant boundary conditions [abstract base].

#include <ode_bv_solve.h>

Inheritance diagram for ode_bv_solve:

ode_bv_shoot

Detailed Description

template<class param_t, class func_t = ode_funct<param_t>, class vec_t = ovector_base, class alloc_vec_t = ovector, class alloc_t = ovector_alloc, class vec_int_t = ovector_int_base>
class ode_bv_solve< param_t, func_t, vec_t, alloc_vec_t, alloc_t, vec_int_t >

Definition at line 44 of file ode_bv_solve.h.


Public Member Functions

virtual int solve (double x0, double x1, double h, size_t n, vec_t &ystart, vec_t &yend, vec_int_t &index, param_t &pa, func_t &derivs)=0
 Solve the boundary-value problem.

Data Fields

int verbose
 Set output level.

Static Public Attributes

Values for the index array


static const int unk = 0
 Unknown on both the left and right boundaries.
static const int right = 1
 Known on the right boundary.
static const int left = 2
 Known on the left boundary.
static const int both = 3
 Known on both the left and right boundaries.

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