#include "timecontr.h"
Go to the source code of this file.
Functions | |
void | solvert_restore (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_binary (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_binary_multiple (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_binary_single (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_text (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_text_multiple (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_restore_text_single (double *r, double *dr, double *fp, long &ni, double &time, double &dt, timecontr &tc, long &n) |
void | solvert_save (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_binary (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_binary_multiple (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_binary_single (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_text (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_text_multiple (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void | solvert_save_text_single (double *r, double *dr, double *fp, long ni, double time, double dt, timecontr &tc, long n) |
void solvert_restore | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 472 of file backupsolt.cpp.
References binary, probdesct::hdbcont, hdbcontr::hdbfmtr, print_err(), solvert_restore_binary(), solvert_restore_text(), text, and Tp.
Referenced by linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonstat_solver_dform_init(), nonstat_solver_init(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_nonlin(), par_nonstat_solver_init(), par_nonstat_trfel_init(), and par_solve_nonlinear_nonstationary_problem_dform().
void solvert_restore_binary | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the binary backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 540 of file backupsolt.cpp.
References probdesct::hdbcont, hdbr_multiple, hdbr_single, hdbrs_multiple, hdbrs_single, hdbcontr::hdbtype, print_err(), solvert_restore_binary_multiple(), solvert_restore_binary_single(), and Tp.
Referenced by solvert_restore().
void solvert_restore_binary_multiple | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the separated text backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function. Individual quantities have to be saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Tp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be : solver - file contains date needed by solver grad - array of gradients at all integration points fluxes - array of fluxes at all integration points other - selected components of eqother array at all integration points
These points are saved only once in the adjacip() function. The process is driven by the backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 812 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnamer, print_err(), timecontr::restore_bin(), transmat::restore_intpointst_bin(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, Tm, transmat::tnip, and Tp.
Referenced by solvert_restore_binary().
void solvert_restore_binary_single | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the one huge binary backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 740 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnamer, print_err(), timecontr::restore_bin(), transmat::restore_intpointst_bin(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, Tm, transmat::tnip, and Tp.
Referenced by solvert_restore_binary().
void solvert_restore_text | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the text backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 505 of file backupsolt.cpp.
References probdesct::hdbcont, hdbr_multiple, hdbr_single, hdbrs_multiple, hdbrs_single, hdbcontr::hdbtype, print_err(), solvert_restore_text_multiple(), solvert_restore_text_single(), and Tp.
Referenced by solvert_restore().
void solvert_restore_text_multiple | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the separated text backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function. Individual quantities have to be saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Tp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be : solver - file contains date needed by solver grad - array of gradients at all integration points fluxes - array of fluxes at all integration points other - selected components of eqother array at all integration points These points are saved only once in the adjacip() function. The process is driven by the backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 662 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnamer, Ndoft, print_err(), transmat::restore_intpointst_txt(), timecontr::restore_txt(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, Tm, transmat::tnip, and Tp.
Referenced by solvert_restore_text().
void solvert_restore_text_single | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long & | ni, | |||
double & | time, | |||
double & | dt, | |||
timecontr & | tc, | |||
long & | n | |||
) |
Function restores all necessary data from the one huge text backup file. The process is driven by backup controler Tp->hdbcont. Data from solver are passed through parameters of the function.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 575 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnamer, Ndoft, print_err(), transmat::restore_intpointst_txt(), timecontr::restore_txt(), hdbcontr::selelemr, hdbcontr::selother_id, hdbcontr::selother_r, Tm, transmat::tnip, and Tp.
Referenced by solvert_restore_text().
void solvert_save | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to backup file in the given time step. The process is driven by backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 23 of file backupsolt.cpp.
References binary, probdesct::hdbcont, hdbcontr::hdbfmts, print_err(), solvert_save_binary(), solvert_save_text(), text, and Tp.
Referenced by linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonstat_solv_dform_comp(), nonstat_solv_vform_comp(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_nonlin(), par_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), and par_solve_nonlinear_nonstationary_problem_dform().
void solvert_save_binary | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the binary backup file in the given time step. The process is driven by backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 91 of file backupsolt.cpp.
References probdesct::hdbcont, hdbrs_multiple, hdbrs_single, hdbs_multiple, hdbs_single, hdbcontr::hdbtype, print_err(), solvert_save_binary_multiple(), solvert_save_binary_single(), and Tp.
Referenced by solvert_save().
void solvert_save_binary_multiple | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the several binary backup files in the given time step. Individual quantities are saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Tp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be : solver - file contains date needed by solver strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 394 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnames, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, timecontr::save_bin(), transmat::save_intpointst_bin(), hdbcontr::selelems, hdbcontr::selother_s, Tm, transmat::tnip, and Tp.
Referenced by solvert_save_binary().
void solvert_save_binary_single | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the single binary backup file in the given time step. The process is driven by backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 312 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnames, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, timecontr::save_bin(), transmat::save_intpointst_bin(), hdbcontr::selelems, hdbcontr::selother_s, Tm, transmat::tnip, and Tp.
Referenced by solvert_save_binary().
void solvert_save_text | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the text backup file in the given time step. The process is driven by backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 56 of file backupsolt.cpp.
References probdesct::hdbcont, hdbrs_multiple, hdbrs_single, hdbs_multiple, hdbs_single, hdbcontr::hdbtype, print_err(), solvert_save_text_multiple(), solvert_save_text_single(), and Tp.
Referenced by solvert_save().
void solvert_save_text_multiple | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the several text backup files in the given time step. Individual quantities are saved into separated files, each file contains given quantity for all integration points or all data needed by solver. The file names consist of name specified in the Tp->hdbcont, time step id, description of the saved quantity and .bac suffix. Description of the quantity can be : solver - file contains date needed by solver strain - array of strains at all integration points stress - array of stresses at all integration points other - selected components of eqother array at all integration points nonloc - adjacent integration points and their distances at all integration points (used only for nonlocal material models) These points are saved only once in the adjacip() function. The process is driven by the backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 222 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnames, hdbcontr::prec, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, transmat::save_intpointst_txt(), timecontr::save_txt(), hdbcontr::selelems, hdbcontr::selother_s, Tm, transmat::tnip, and Tp.
Referenced by solvert_save_text().
void solvert_save_text_single | ( | double * | r, | |
double * | dr, | |||
double * | fp, | |||
long | ni, | |||
double | time, | |||
double | dt, | |||
timecontr & | tc, | |||
long | n | |||
) |
Function saves all necessary data to the single text backup file in the given time step. The process is driven by backup controler Tp->hdbcont. The data can be used for restarting analysis from the given step.
r | - vector of unknowns | |
dr | - vector of increments of unknowns | |
fp | - vector of actual right hand side | |
ni | - time step id | |
time | - actual time of saved step of solver | |
dt | - actual time increment of saved step of solver | |
tc | - time controller used at solver | |
n | - number of unknowns (size of vectors r and fp) |
9.2008 TKo 12.2008 TKr
Definition at line 126 of file backupsolt.cpp.
References FNAMELEN, probdesct::hdbcont, hdbcontr::hdbnames, hdbcontr::prec, print_err(), hdbcontr::rmold, hdbcontr::rmold_id, transmat::save_intpointst_txt(), timecontr::save_txt(), hdbcontr::selelems, hdbcontr::selother_s, Tm, transmat::tnip, and Tp.
Referenced by solvert_save_text().