Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Member Functions | Protected Attributes
ode_bv_shoot_grid< mat_t, mat_row_t, func_t, vec_t, alloc_vec_t, alloc_t, vec_int_t > Class Template Reference

Solve boundary-value ODE problems by shooting from one boundary to the other on a grid. More...

#include <ode_bv_solve.h>

Inheritance diagram for ode_bv_shoot_grid< mat_t, mat_row_t, func_t, vec_t, alloc_vec_t, alloc_t, vec_int_t >:
ode_bv_shoot< func_t, vec_t, alloc_vec_t, alloc_t, vec_int_t > ode_bv_solve

Detailed Description

template<class mat_t = omatrix, class mat_row_t = omatrix_row, class func_t = ode_funct<>, 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_shoot_grid< mat_t, mat_row_t, func_t, vec_t, alloc_vec_t, alloc_t, vec_int_t >

This class is experimental.

Default template arguments

Definition at line 365 of file ode_bv_solve.h.

Public Member Functions

int solve_grid (double x0, double x1, double h, size_t n, vec_t &ystart, vec_t &yend, vec_int_t &index, size_t nsol, vec_t &xsol, mat_t &ysol, mat_t &err_sol, mat_t &dydx_sol, func_t &derivs)
 Desc.

Protected Member Functions

int solve_grid_fun (size_t nv, const vec_t &tx, vec_t &ty)
 The shooting function to be solved by the multidimensional solver.

Protected Attributes

size_t l_nsol
 Desc.
vec_t * l_xsol
 Desc.
mat_t * l_ysol
 Desc.
mat_t * l_dydxsol
 Desc.
mat_t * l_errsol
 Desc.

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.