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

#include <solver.h>

Collaboration diagram for SDIRK_solver:
Collaboration graph
[legend]

Public Member Functions

 SDIRK_solver ()
 
void init (int nvar, const char *type)
 
void destroy ()
 
 ~SDIRK_solver ()
 
void regvar (const char *var_name, const matrix &initial_value)
 
void regvars (const matrix_map &vars)
 
void set_initial_derivative (const char *var_name, const matrix &initial_value)
 
void set_initial_derivatives (const matrix_map &vars)
 
void set_var (const char *var_name, const matrix &value)
 
void set_vars (const matrix_map &values)
 
void set_step (double)
 
double get_step ()
 
double get_delta ()
 
matrix get_var (const char *var_name)
 
matrix_map get_vars ()
 
int number_of_stages ()
 
int number_of_implicit_stages ()
 
int get_order ()
 
bool needs_initial_derivative ()
 
double get_t ()
 
int solve (double t0, double t1)
 

Private Member Functions

void wrap (const matrix *, matrix *)
 
void unwrap (const matrix *, matrix *)
 
int get_id (const char *varn)
 
void check_init ()
 
void check_method ()
 
void init_be ()
 
void init_cn ()
 
void init_sdirk2 ()
 
void init_sdirk3 ()
 
void init_sdirk4 ()
 
void init_esdirk3 ()
 
void init_esdirk4 ()
 

Private Attributes

int nv
 
int nstages
 
int order
 
double alpha
 
char ** var
 
int * nr
 
int * nc
 
bool * reg
 
bool initd
 
bool first_explicit
 
double step
 
int stage
 
matrix a
 
matrix b
 
matrix c
 
matrixy
 
matrix x
 
matrixk
 
matrixdy
 
matrix x0
 
double t
 
double t_eval
 
double delta
 

Constructor & Destructor Documentation

SDIRK_solver::SDIRK_solver ( )
SDIRK_solver::~SDIRK_solver ( )
inline

Here is the call graph for this function:

Member Function Documentation

void SDIRK_solver::check_init ( )
private
void SDIRK_solver::check_method ( )
private

Here is the call graph for this function:

void SDIRK_solver::destroy ( )
double SDIRK_solver::get_delta ( )
int SDIRK_solver::get_id ( const char *  varn)
private
int SDIRK_solver::get_order ( )
double SDIRK_solver::get_step ( )
double SDIRK_solver::get_t ( )
matrix SDIRK_solver::get_var ( const char *  var_name)

Here is the call graph for this function:

matrix_map SDIRK_solver::get_vars ( )
void SDIRK_solver::init ( int  nvar,
const char *  type 
)

Here is the call graph for this function:

void SDIRK_solver::init_be ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_cn ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_esdirk3 ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_esdirk4 ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_sdirk2 ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_sdirk3 ( )
private

Here is the call graph for this function:

void SDIRK_solver::init_sdirk4 ( )
private

Here is the call graph for this function:

bool SDIRK_solver::needs_initial_derivative ( )
int SDIRK_solver::number_of_implicit_stages ( )
int SDIRK_solver::number_of_stages ( )
void SDIRK_solver::regvar ( const char *  var_name,
const matrix initial_value 
)

Here is the call graph for this function:

void SDIRK_solver::regvars ( const matrix_map vars)

Here is the call graph for this function:

void SDIRK_solver::set_initial_derivative ( const char *  var_name,
const matrix initial_value 
)

Here is the call graph for this function:

void SDIRK_solver::set_initial_derivatives ( const matrix_map vars)

Here is the call graph for this function:

void SDIRK_solver::set_step ( double  h)
void SDIRK_solver::set_var ( const char *  var_name,
const matrix value 
)

Here is the call graph for this function:

void SDIRK_solver::set_vars ( const matrix_map values)

Here is the call graph for this function:

int SDIRK_solver::solve ( double  t0,
double  t1 
)

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

matrix SDIRK_solver::a
private
double SDIRK_solver::alpha
private
matrix SDIRK_solver::b
private
matrix SDIRK_solver::c
private
double SDIRK_solver::delta
private
matrix * SDIRK_solver::dy
private
bool SDIRK_solver::first_explicit
private
bool SDIRK_solver::initd
private
matrix * SDIRK_solver::k
private
int * SDIRK_solver::nc
private
int* SDIRK_solver::nr
private
int SDIRK_solver::nstages
private
int SDIRK_solver::nv
private
int SDIRK_solver::order
private
bool* SDIRK_solver::reg
private
int SDIRK_solver::stage
private
double SDIRK_solver::step
private
double SDIRK_solver::t
private
double SDIRK_solver::t_eval
private
char** SDIRK_solver::var
private
matrix SDIRK_solver::x
private
matrix SDIRK_solver::x0
private
matrix* SDIRK_solver::y
private

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