ESTER
Evolution STEllaire en Rotation
|
#include <solver.h>
Public Member Functions | |
RKF_solver () | |
void | init (int nvar) |
void | destroy () |
~RKF_solver () | |
void | regvar (const char *var_name, const matrix &initial_value) |
void | regvars (const matrix_map &vars) |
void | set_step (double) |
matrix | get_var (const char *var_name) |
matrix_map | get_vars () |
double | get_t () |
void | set_deriv (const char *var_name, const matrix &value) |
void | set_derivs (const matrix_map &values) |
int | solve (double t0, double t1) |
Public Attributes | |
double | abs_tol |
double | rel_tol |
Private Member Functions | |
void | wrap (const matrix *, matrix *) |
void | unwrap (const matrix *, matrix *) |
int | get_id (const char *varn) |
void | check_init () |
Private Attributes | |
int | nv |
char ** | var |
int * | nr |
int * | nc |
bool * | reg |
matrix * | y |
matrix | k [6] |
matrix | x |
matrix | x_eval |
matrix | b4 |
matrix | b5 |
matrix | c |
matrix | a |
matrix | deriv |
matrix * | dy |
double | t |
double | t_eval |
bool | initd |
double | step |
int | stage |
RKF_solver::RKF_solver | ( | ) |
|
inline |
|
private |
void RKF_solver::destroy | ( | ) |
|
private |
double RKF_solver::get_t | ( | ) |
matrix RKF_solver::get_var | ( | const char * | var_name | ) |
matrix_map RKF_solver::get_vars | ( | ) |
void RKF_solver::init | ( | int | nvar | ) |
void RKF_solver::regvar | ( | const char * | var_name, |
const matrix & | initial_value | ||
) |
void RKF_solver::regvars | ( | const matrix_map & | vars | ) |
void RKF_solver::set_deriv | ( | const char * | var_name, |
const matrix & | value | ||
) |
void RKF_solver::set_derivs | ( | const matrix_map & | values | ) |
void RKF_solver::set_step | ( | double | h | ) |
int RKF_solver::solve | ( | double | t0, |
double | t1 | ||
) |
|
private |
double RKF_solver::abs_tol |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
double RKF_solver::rel_tol |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |