Solve an initial-value ODE problem and store the result in a table object. More...
#include <ode_iv_table.h>
This class is experimental.
Definition at line 54 of file ode_iv_table.h.
Public Member Functions | |
int | solve_grid_table (size_t n, vec_t &ystart, table<> &t, std::string x_col, std::string y_prefix, std::string dydx_prefix, std::string yerr_prefix, func_t &derivs) |
Desc. | |
int | solve_store_table (double x0, double x1, double h, size_t n, vec_t &ystart, size_t &n_sol, table<> &t, std::string x_col, std::string y_prefix, std::string dydx_prefix, std::string yerr_prefix, func_t &derivs) |
Desc. | |
![]() | |
ode_iv_solve () | |
virtual | ~ode_iv_solve () |
int | solve_final_value (double x0, double x1, double h, size_t n, ubvector &ystart, ubvector ¥d, ode_funct<> &derivs) |
Solve the initial-value problem to get the final value. More... | |
int | solve_final_value (double x0, double x1, double h, size_t n, ubvector &ystart, ubvector ¥d, ubvector &yerr, ode_funct<> &derivs) |
Solve the initial-value problem to get the final value with errors. More... | |
int | solve_final_value (double x0, double x1, double h, size_t n, ubvector &ystart, ubvector ¥d, ubvector &yerr, ubvector &dydx_end, ode_funct<> &derivs) |
Solve the initial-value problem to get the final value, derivatives, and errors. More... | |
int | solve_store (double x0, double x1, double h, size_t n, size_t &n_sol, ubvector &x_sol, mat_t &y_sol, mat_t &yerr_sol, mat_t &dydx_sol, ode_funct<> &derivs, size_t istart=0) |
Solve the initial-value problem and store the associated output. More... | |
int | set_astep (astep_base< ubvector, ubvector, ubvector, ode_funct<> > &as) |
Set the adaptive stepper to use. | |
virtual const char * | type () |
Return the type, "ode_iv_solve" . | |
Additional Inherited Members | |
![]() | |
typedef boost::numeric::ublas::vector< double > | ubvector |
![]() | |
bool | err_nonconv |
If true, call the error handler if the solution does not converge (default true) | |
int | verbose |
Set output level. | |
size_t | nsteps_out |
Number of output points for verbose output (default 10) More... | |
size_t | ntrial |
Maximum number of applications of the adaptive stepper (default 1000) | |
size_t | nsteps |
Number of adaptive ste!ps employed. | |
bool | exit_on_fail |
If true, stop the solution if the adaptive stepper fails (default true) | |
astep_gsl< ubvector, ubvector, ubvector, ode_funct<> > | gsl_astp |
The default adaptive stepper. | |
![]() | |
virtual int | print_iter (double x, size_t nv, ubvector &y) |
Print out iteration information. | |
void | free () |
Free allocated memory. | |
void | allocate (size_t n) |
Allocate space for temporary vectors. | |
![]() | |
ubvector | vtemp |
ubvector | vtemp2 |
ubvector | vtemp3 |
ubvector | vtemp4 |
size_t | mem_size |
The size of the temporary vectors. | |
astep_base< ubvector, ubvector, ubvector, ode_funct<> > * | astp |
The adaptive stepper. | |
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).