mt_glob_vec Struct Reference

#include <mtglvec.h>

List of all members.

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

Detailed Description

Definition at line 4 of file mtglvec.h.


Constructor & Destructor Documentation

mt_glob_vec (  ) 

Default constructor.

Default constructor initializes data members to the default values.

Created by Tomas Koudelka, 11.2011

Definition at line 12 of file mtglvec.cpp.

References dr, f, fb, fi, fl, fp, istep, lhsb, and r.

~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().


Member Function Documentation

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.

Parameters:
n - length of vectors allocated i.e. total number of unknowns
Returns:
The function does not return anything.

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().


Member Data Documentation

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
double* fb
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
long istep
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

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

Generated by  doxygen 1.6.2