![]() |
Functions | |
void * | pdr_get_problem_structure (int Problem_id) |
int | pdr_problem_name (int Problem_id, char *Problem_name) |
int | pdr_ctrl_i_params (int Problem_id, int Num) |
double | pdr_ctrl_d_params (int Problem_id, int Num) |
int | pdr_adapt_i_params (int Problem_id, int Num) |
double | pdr_adapt_d_params (int Problem_id, int Num) |
int | pdr_time_i_params (int Problem_id, int Num) |
double | pdr_time_d_params (int Problem_id, int Num) |
void | pdr_set_time_i_params (int Problem_id, int Num, int Value) |
void | pdr_set_time_d_params (int Problem_id, int Num, double Value) |
int | pdr_lins_i_params (int Problem_id, int Num) |
double | pdr_lins_d_params (int Problem_id, int Num) |
void | pdr_change_data (int Problem_id) |
double pdr_adapt_d_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_adapt_d_params - to return parameters of adaptation if(Num==5) return(problem->adpt.eps); else if(Num==6) return(problem->adpt.ratio); ---------------------------------------------------------
Problem_id | returns: real adaptation parameter | |
Num | in: data structure to be used in: parameter number in control structure |
int pdr_adapt_i_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_adapt_i_params - to return parameters of adaptation if(Num==1) return(problem->adpt.type); else if(Num==2) return(problem->adpt.interval); else if(Num==3) return(problem->adpt.maxgen); else if(Num==4) return(problem->adpt.maxgendiff); else if(Num==7) return(problem->adpt.monitor); ---------------------------------------------------------
Problem_id | returns: integer adaptation parameter | |
Num | in: data structure to be used in: parameter number in control structure |
void pdr_change_data | ( | int | Problem_id | ) |
-------------------------------------------------------- pdr_change_data - to change some of control data ---------------------------------------------------------
Problem_id | in: data structure to be used |
double pdr_ctrl_d_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_ctrl_d_params - to return one of control parameters if(Num==8) return(problem->ctrl.coeff1); else if(Num==9) return(problem->ctrl.coeff2); else if(Num==10) return(problem->ctrl.coeff3); ---------------------------------------------------------
Problem_id | returns: integer problem parameter | |
Num | in: problem ID in: parameter number in control structure |
int pdr_ctrl_i_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_ctrl_i_params - to return one of control parameters if(Num==1) return(problem->ctrl.name); - changed for string else if(Num==2) return(problem->ctrl.mesh_id); else if(Num==3) return(problem->ctrl.field_id); else if(Num==4) return(problem->ctrl.init_bvp); else if(Num==5) return(problem->ctrl.nreq); else if(Num==9) return(problem->ctrl.nr_sol); else if(Num==6) return(problem->ctrl.nr_mat); else if(Num==7) return(problem->ctrl.slope); else if(Num==8) return(problem->ctrl.base); ---------------------------------------------------------
Problem_id | returns: integer problem parameter | |
Num | in: problem ID in: parameter number in control structure |
void* pdr_get_problem_structure | ( | int | Problem_id | ) |
----------------------------------------------------------- pdr_get_problem_structure - to return pointer to problem structure ------------------------------------------------------------
double pdr_lins_d_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_lins_d_params - to return parameters of linear equations solver ---------------------------------------------------------
Problem_id | returns: real linear solver parameter | |
Num | in: data structure to be used in: parameter number in control structure |
int pdr_lins_i_params | ( | int | Problem_id, | |
int | Num | |||
) |
-------------------------------------------------------- pdr_lins_i_params - to return parameters of linear equations solver ---------------------------------------------------------
Problem_id | returns: integer linear solver parameter | |
Num | in: data structure to be used in: parameter number in control structure |
int pdr_problem_name | ( | int | Problem_id, | |
char * | Problem_name | |||
) |
void pdr_set_time_d_params | ( | int | Problem_id, | |
int | Num, | |||
double | Value | |||
) |
-------------------------------------------------------- pdr_set_time_d_params - to change parameters of time discretization ---------------------------------------------------------
Num | in: data structure to be used | |
Value | in: parameter number in control structure in: parameter value |
void pdr_set_time_i_params | ( | int | Problem_id, | |
int | Num, | |||
int | Value | |||
) |
-------------------------------------------------------- pdr_set_time_i_params - to change parameters of time discretization ---------------------------------------------------------
Num | in: data structure to be used | |
Value | in: parameter number in control structure in: parameter value |
double pdr_time_d_params | ( | int | Problem_id, | |
int | Num | |||
) |
----------------------------------------------------------- pdr_time_d_params - to return parameters of timeation ------------------------------------------------------------
int pdr_time_i_params | ( | int | Problem_id, | |
int | Num | |||
) |
----------------------------------------------------------- pdr_time_i_params - to return parameters of timeation ------------------------------------------------------------