lhsrhs Class Reference

#include <lhsrhs.h>

List of all members.

Public Member Functions

void alloc ()
void clean_lhs ()
double * give_lhs (long i)
double * give_rhs (long i)
double * give_stdlhs (long i)
double * give_tdlhs (long i)
void initcond (XFILE *in)
 lhsrhs ()
 ~lhsrhs ()

Public Attributes

double * lhs
 array containing left hand sides
double * lhsi
 array containing initial values of left hand sides
long ndof
 dimension of LHS and RHS
long nlc
 number of loading cases
double * rhs
 array containing right hand sides
double * stdlhs
 array containing second time derivative of unknowns
double * tdlhs
 array containing time derivative of unknowns
double * tdlhsi
 array containing initial values of time derivative of unknowns
double * w
 array containing eigenvalues

Detailed Description

Definition at line 9 of file lhsrhs.h.


Constructor & Destructor Documentation

lhsrhs (  ) 

Constructor initializes data members to zero or default values.

Created by JK,

Definition at line 15 of file lhsrhs.cpp.

References lhs, Mb, ndof, Ndofm, mechbclc::nlc, nlc, rhs, stdlhs, tdlhs, and w.

~lhsrhs (  ) 

Destructor releases allocated memory of the lhsrhs object.

Created by JK,

Definition at line 42 of file lhsrhs.cpp.

References lhs, rhs, stdlhs, tdlhs, and w.


Member Function Documentation

void alloc (  ) 
void clean_lhs (  ) 

Function cleans vector of unknowns.

Returns:
The function does not return anything.

Created by JK,

Definition at line 389 of file lhsrhs.cpp.

References lhs, and ndof.

Referenced by par_solve_stochastic_problem(), and solve_mefel_stochastic_problem().

double * give_lhs ( long  i  ) 

Function returns pointer to vector of unknowns (lhs vector). This vector contains nodal values.

Parameters:
i - load case id
Returns:
The function returns pointer to the array containing vetcor of unknowns.

Created by JK,

Definition at line 227 of file lhsrhs.cpp.

References lhs, and ndof.

Referenced by arclength(), arclength15(), arclengthadapt(), arclengthrv(), arclengthrv1(), compute_ipstrains(), difference_method(), displ_control(), general_epressure(), general_epressure_varsup(), macrodispl(), newmark_method(), newton_raphson(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_restart(), newton_raphsonep(), newton_raphsonrv1(), nonlin_newmark_method(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_solve_layered_linear_statics(), par_solve_linear_statics(), par_solve_nonlinear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob_old(), par_visco_mefel_init(), par_visco_solver_init(), print_eigenvect_martin(), print_eigenvectors(), outdiagm::print_macrostr(), nodeoutm::print_out(), solve_epressure(), solve_hemivariational_inequalities(), solve_incremental_floating_subdomains(), solve_layered_linear_statics(), solve_linear_floating_subdomains(), solve_linear_floating_subdomains2(), solve_linear_floating_subdomains_old(), solve_linear_statics(), solve_load_balancing(), solve_molecular_dynamics(), solve_nonlinear_statics(), solve_prob_constr_phases(), solve_var_stiff_method(), verlet_method(), visco_solver(), and visco_solver_init().

double * give_rhs ( long  i  ) 

Function returns pointer to vector of right hand side (rhs vector) This vector contains prescribed nodal values.

Parameters:
i - load case id
Returns:
The function returns pointer to the array containing vetcor of precribed nodal values.

Created by JK,

Definition at line 278 of file lhsrhs.cpp.

References ndof, and rhs.

Referenced by arclength(), arclength15(), arclengthadapt(), arclengthrv(), arclengthrv1(), difference_method(), displ_control(), femplast_epressure(), general_epressure(), general_epressure_varsup(), newmark_method(), newton_raphson(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_restart(), newton_raphsonep(), newton_raphsonrv1(), nonlin_newmark_method(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_solve_layered_linear_statics(), par_solve_linear_statics(), par_solve_nonlinear_statics(), par_solve_prob_constr_phases(), par_solve_timemech_prob(), par_solve_timemech_prob_old(), par_visco_mefel_init(), par_visco_solver_init(), solve_epressure(), solve_hemivariational_inequalities(), solve_incremental_floating_subdomains(), solve_layered_linear_statics(), solve_linear_floating_subdomains(), solve_linear_floating_subdomains2(), solve_linear_floating_subdomains_old(), solve_linear_statics(), solve_load_balancing(), solve_molecular_dynamics(), solve_nonlinear_statics(), solve_prob_constr_phases(), solve_var_stiff_method(), verlet_method(), visco_solver(), and visco_solver_init().

double * give_stdlhs ( long  i  ) 

Function returns pointer to vector of second time derivatives of unknowns (stdlhs vector) this vector contains second time derivatives of nodal values

Parameters:
i - load case id
Returns:
The function returns pointer to the array containing vetcor of second time drivatives of unknowns.

Created by JK,

Definition at line 261 of file lhsrhs.cpp.

References ndof, and stdlhs.

Referenced by difference_method(), newmark_method(), and nonlin_newmark_method().

double * give_tdlhs ( long  i  ) 

Function returns pointer to vector of first time derivatives of unknowns (tdlhs vector). This vector contains first time derivatives of nodal values.

Parameters:
i - load case id
Returns:
The function returns pointer to the array containing vetcor of first time drivatives of unknowns.

Created by JK,

Definition at line 244 of file lhsrhs.cpp.

References ndof, and tdlhs.

Referenced by difference_method(), newmark_method(), and nonlin_newmark_method().

void initcond ( XFILE in  ) 

Old version of text results output. The function prints displacements at nodes, strains, stresses and reactions. This function is substituted by the system of outdriver. ???!!! canidate for removal

Parameters:
out - pointer to the opened text file
lcid - load case id
Returns:
The function does not return anything.

Created by JK, Function reads initial conditions.

Parameters:
in - pointer to the opened XFILE
Returns:
The function does not return anything.

Created by JK, 17.1.2002

Definition at line 317 of file lhsrhs.cpp.

References mechbclc::dlc, forced_dynamics, gtopology::give_dof(), mechtop::give_ndofn(), Gtm, mechbclc::ico, inidisp, lhs, mat_nonlinear_statics, Mb, Mp, Mt, mechbclc::nico, mechtop::nn, responsespectrum, dloadcase::tdl, tdlhs, probdesc::tprob, inicd::type, inicd::val, and xfscanf().

Referenced by mefel_init(), metr_init(), pmefel_init(), and pmetr_init().


Member Data Documentation

double* lhs
double* lhsi

array containing initial values of left hand sides

Definition at line 34 of file lhsrhs.h.

Referenced by metr_init(), pmetr_init(), and verlet_method().

long ndof

dimension of LHS and RHS

Definition at line 24 of file lhsrhs.h.

Referenced by alloc(), clean_lhs(), give_lhs(), give_rhs(), give_stdlhs(), give_tdlhs(), and lhsrhs().

long nlc
double* rhs
double* stdlhs

array containing second time derivative of unknowns

Definition at line 32 of file lhsrhs.h.

Referenced by alloc(), give_stdlhs(), lhsrhs(), and ~lhsrhs().

double* tdlhs

array containing time derivative of unknowns

Definition at line 30 of file lhsrhs.h.

Referenced by alloc(), give_tdlhs(), initcond(), lhsrhs(), and ~lhsrhs().

double* tdlhsi

array containing initial values of time derivative of unknowns

Definition at line 36 of file lhsrhs.h.

Referenced by verlet_method().

double* w

array containing eigenvalues

Definition at line 40 of file lhsrhs.h.

Referenced by alloc(), lhsrhs(), beamel2d::nodal_forces(), response_spectrum_method(), solve_mefel_deterministic_problem(), and ~lhsrhs().


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

Generated by  doxygen 1.6.2