ESTER
Evolution STEllaire en Rotation
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
RKF_solver Class Reference

#include <solver.h>

Collaboration diagram for RKF_solver:
Collaboration graph
[legend]

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
 
matrixy
 
matrix k [6]
 
matrix x
 
matrix x_eval
 
matrix b4
 
matrix b5
 
matrix c
 
matrix a
 
matrix deriv
 
matrixdy
 
double t
 
double t_eval
 
bool initd
 
double step
 
int stage
 

Constructor & Destructor Documentation

RKF_solver::RKF_solver ( )
RKF_solver::~RKF_solver ( )
inline

Here is the call graph for this function:

Member Function Documentation

void RKF_solver::check_init ( )
private
void RKF_solver::destroy ( )
int RKF_solver::get_id ( const char *  varn)
private
double RKF_solver::get_t ( )
matrix RKF_solver::get_var ( const char *  var_name)

Here is the call graph for this function:

matrix_map RKF_solver::get_vars ( )
void RKF_solver::init ( int  nvar)

Here is the call graph for this function:

void RKF_solver::regvar ( const char *  var_name,
const matrix initial_value 
)

Here is the call graph for this function:

void RKF_solver::regvars ( const matrix_map vars)

Here is the call graph for this function:

void RKF_solver::set_deriv ( const char *  var_name,
const matrix value 
)

Here is the call graph for this function:

void RKF_solver::set_derivs ( const matrix_map values)

Here is the call graph for this function:

void RKF_solver::set_step ( double  h)
int RKF_solver::solve ( double  t0,
double  t1 
)

Here is the call graph for this function:

void RKF_solver::unwrap ( const matrix v,
matrix u 
)
private

Here is the call graph for this function:

void RKF_solver::wrap ( const matrix u,
matrix v 
)
private

Here is the call graph for this function:

Member Data Documentation

matrix RKF_solver::a
private
double RKF_solver::abs_tol
matrix RKF_solver::b4
private
matrix RKF_solver::b5
private
matrix RKF_solver::c
private
matrix RKF_solver::deriv
private
matrix * RKF_solver::dy
private
bool RKF_solver::initd
private
matrix RKF_solver::k[6]
private
int * RKF_solver::nc
private
int* RKF_solver::nr
private
int RKF_solver::nv
private
bool* RKF_solver::reg
private
double RKF_solver::rel_tol
int RKF_solver::stage
private
double RKF_solver::step
private
double RKF_solver::t
private
double RKF_solver::t_eval
private
char** RKF_solver::var
private
matrix RKF_solver::x
private
matrix RKF_solver::x_eval
private
matrix* RKF_solver::y
private

The documentation for this class was generated from the following files: