SIFEL/MEFEL/SRC/backupsol.h File Reference

#include "timecontr.h"

Go to the source code of this file.

Functions

void solver_restore (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved step of the solver and internal data and restarts computation
void solver_restore_binary (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation (binary format)
void solver_restore_binary_multiple (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from binary files
void solver_restore_binary_single (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from a binary file
void solver_restore_text (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation (text format)
void solver_restore_text_multiple (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from text files
void solver_restore_text_single (double *r, double *fp, long &ni, double &time, double &dt, timecontr *tc, long &n)
 function restores saved actual step of the solver and internal data and restarts computation from a text file
void solver_save (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart
void solver_save_binary (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary format
void solver_save_binary_multiple (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary file (multiple files)
void solver_save_binary_single (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a binary file (single file)
void solver_save_text (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text format
void solver_save_text_multiple (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text file (multiple files)
void solver_save_text_single (double *r, double *fp, long ni, double time, double dt, timecontr *tc, long n)
 function saves actual step of the solver and internal data for the future restart in a text file (single file)

Function Documentation

void solver_restore ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved step of the solver and internal data and restarts computation

Function restores all necessary data from the backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 571 of file backupsol.cpp.

void solver_restore_binary ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation (binary format)

Function restores all necessary data from the binary backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 639 of file backupsol.cpp.

void solver_restore_binary_multiple ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from binary files

Function restores all necessary data from the separated text backup file. The process is driven by backup controler Mp->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 Mp->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 Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 972 of file backupsol.cpp.

void solver_restore_binary_single ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from a binary file

Function restores all necessary data from the one huge binary backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 878 of file backupsol.cpp.

void solver_restore_text ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation (text format)

Function restores all necessary data from the text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 604 of file backupsol.cpp.

void solver_restore_text_multiple ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from text files

Function restores all necessary data from the separated text backup file. The process is driven by backup controler Mp->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 Mp->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 Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 777 of file backupsol.cpp.

void solver_restore_text_single ( double *  r,
double *  fp,
long &  ni,
double &  time,
double &  dt,
timecontr tc,
long &  n 
)

function restores saved actual step of the solver and internal data and restarts computation from a text file

Function restores all necessary data from the one huge text backup file. The process is driven by backup controler Mp->hdbcont. Data from solver are passed through parameters of the function.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 674 of file backupsol.cpp.

void solver_save ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart

Function saves all necessary data to backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 29 of file backupsol.cpp.

void solver_save_binary ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary format

Function saves all necessary data to the binary backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 97 of file backupsol.cpp.

void solver_save_binary_multiple ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary file (multiple files)

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 Mp->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 Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 459 of file backupsol.cpp.

void solver_save_binary_single ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a binary file (single file)

Function saves all necessary data to the single binary backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 361 of file backupsol.cpp.

void solver_save_text ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text format

Function saves all necessary data to the text backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 62 of file backupsol.cpp.

void solver_save_text_multiple ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text file (multiple files)

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 Mp->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 initdispl - file contains initial displacements at nodes and elements (created only in case of growing structures) 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 Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 241 of file backupsol.cpp.

void solver_save_text_single ( double *  r,
double *  fp,
long  ni,
double  time,
double  dt,
timecontr tc,
long  n 
)

function saves actual step of the solver and internal data for the future restart in a text file (single file)

Function saves all necessary data to the single text backup file in the given time step. The process is driven by backup controler Mp->hdbcont. The data can be used for restarting analysis from the given step.

Parameters:
r - vector 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 - pointer to the time controller used at solver (if NULL, no time controler data are saved)
n - number of unknowns (size of vectors r and fp)
Returns:
The function does not return anything.

Created by Tomas Koudelka, 9.2008

Definition at line 132 of file backupsol.cpp.


Generated by  doxygen 1.6.2