#include <mtglvec.h>
Public Member Functions | |
void | alloc (long n) |
function allocates vectors dr, fp, fl, fi, fb and lhsb | |
void | dealloc () |
function deallocates vectors dr, fp, fl, fi, fb and lhsb | |
mt_glob_vec () | |
Default constructor. | |
~mt_glob_vec () | |
Destructor deallocates vectors dr, fp, fl, fi, fb and lhsb. | |
Public Attributes | |
double * | dr |
vector of increments of nodal displacements | |
double * | f |
vector of nodal prescribed forces | |
double * | fb |
auxiliary force vector | |
double * | fi |
vector of internal forces | |
double * | fl |
vector of prescribed force loads, it does not contain forces caused by temperature, etc. | |
double * | fp |
vector of prescribed forces from the previous step | |
long | istep |
step id | |
double * | lhsb |
backup of the nodal displacements | |
double * | r |
vector of nodal displacements |
Definition at line 4 of file mtglvec.h.
mt_glob_vec | ( | ) |
~mt_glob_vec | ( | ) |
Destructor deallocates vectors dr, fp, fl, fi, fb and lhsb.
Destructor deallocates vectors dr, fp, fl, fi, fb and lhsb.
Created by Tomas Koudelka, 11.2011
Definition at line 76 of file mtglvec.cpp.
References dealloc().
void alloc | ( | long | n | ) |
function allocates vectors dr, fp, fl, fi, fb and lhsb
The function allocates vectors dr, fp, fl, fi, fb and lhsb with length n. Vectors r and f remains unallocated because they are used as pointers to the right and left hand sides that are allocated separately.
n | - length of vectors allocated i.e. total number of unknowns |
Created by Tomas Koudelka, 11.2011
Definition at line 32 of file mtglvec.cpp.
References dr, fb, fi, fl, fp, lhsb, and nullv().
Referenced by par_visco_mefel_init(), par_visco_solver_init(), and visco_solver_init().
void dealloc | ( | void | ) |
function deallocates vectors dr, fp, fl, fi, fb and lhsb
The function deallocates vectors dr, fp, fl, fi, fb and lhsb.
Definition at line 59 of file mtglvec.cpp.
References dr, fb, fi, fl, fp, and lhsb.
Referenced by ~mt_glob_vec().
double* dr |
vector of increments of nodal displacements
Definition at line 22 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), one_step(), par_one_step(), and par_one_step_mefel().
double* f |
vector of nodal prescribed forces
Definition at line 16 of file mtglvec.h.
Referenced by mt_glob_vec(), newton_raphson_parcoupl_common_dt(), one_step(), par_one_step(), par_one_step_mefel(), par_visco_mefel_init(), par_visco_solver_init(), visco_solver2(), and visco_solver_init().
double* fb |
auxiliary force vector
Definition at line 30 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), one_step(), par_newton_raphson_parcoupl_comp(), par_one_step(), par_one_step_mefel(), par_solve_timemech_prob2(), and visco_solver2().
double* fi |
vector of internal forces
Definition at line 28 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), one_step(), par_one_step(), and par_one_step_mefel().
double* fl |
vector of prescribed force loads, it does not contain forces caused by temperature, etc.
Definition at line 26 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), newton_raphson_parcoupl_common_dt(), one_step(), par_one_step(), par_one_step_mefel(), and visco_solver2().
double* fp |
vector of prescribed forces from the previous step
Definition at line 24 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), newton_raphson_parcoupl_common_dt(), one_step(), par_one_step(), par_one_step_mefel(), par_visco_mefel_init(), par_visco_solver_init(), visco_solver2(), and visco_solver_init().
long istep |
step id
Definition at line 7 of file mtglvec.h.
Referenced by mt_glob_vec(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), par_newton_raphson_parcoupl_comp(), par_solve_timemech_prob2(), par_visco_mefel_init(), par_visco_solver_init(), visco_solver2(), and visco_solver_init().
double* lhsb |
backup of the nodal displacements
Definition at line 32 of file mtglvec.h.
Referenced by alloc(), dealloc(), mt_glob_vec(), one_step(), par_one_step(), and par_one_step_mefel().
double* r |
vector of nodal displacements
Definition at line 14 of file mtglvec.h.
Referenced by mt_glob_vec(), newton_raphson_parcoupl_common_dt(), one_step(), par_one_step(), par_one_step_mefel(), par_visco_mefel_init(), par_visco_solver_init(), visco_solver2(), and visco_solver_init().