#include <lhsrhs.h>
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 |
Definition at line 9 of file lhsrhs.h.
lhsrhs | ( | ) |
~lhsrhs | ( | ) |
void alloc | ( | ) |
Function allocates arrays for left and right hand sides of problem.
Created by JK, 29.6.2001
Definition at line 60 of file lhsrhs.cpp.
References earth_pressure, eigen_dynamics, probdesc::eigsol, forced_dynamics, geom_nonlinear_statics, growing_mech_structure, hemivar_inequal, inv_iteration, layered_linear_statics, lhs, lin_floating_subdomain, linear_statics, load_balancing, mat_nonlinear_statics, mech_timedependent_prob, memset(), modal_analysis, Mp, ndof, eigvalsol::nev, nlc, nonlin_floating_subdomain, print_err(), rhs, shifted_subspace_it_gsortho, stdlhs, subspace_it_gsortho, subspace_it_jacobi, tdlhs, eigvalsol::teigsol, probdesc::tforvib, probdesc::tprob, and w.
Referenced by general_epressure_varsup(), mefel_init(), metr_init(), pmefel_init(), and pmetr_init().
void clean_lhs | ( | ) |
Function cleans vector of unknowns.
Created by JK,
Definition at line 389 of file lhsrhs.cpp.
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.
i | - load case id |
Created by JK,
Definition at line 227 of file lhsrhs.cpp.
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.
i | - load case id |
Created by JK,
Definition at line 278 of file lhsrhs.cpp.
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
i | - load case id |
Created by JK,
Definition at line 261 of file lhsrhs.cpp.
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.
i | - load case id |
Created by JK,
Definition at line 244 of file lhsrhs.cpp.
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
out | - pointer to the opened text file | |
lcid | - load case id |
Created by JK, Function reads initial conditions.
in | - pointer to the opened XFILE |
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().
double* lhs |
array containing left hand sides
Definition at line 28 of file lhsrhs.h.
Referenced by alloc(), arclength(), clean_lhs(), eldispl(), stochdriver::extractor(), give_lhs(), initcond(), lhsrhs(), local_global_displ_transf(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), par_newton_raphson_parcoupl_lin(), print_displacements(), print_multipliers(), adaptivity::print_test(), response_spectrum_method(), restore_displ(), select_noddispl(), solve_fcouplprob(), solve_layered_linear_statics(), solve_mefel_deterministic_problem(), and ~lhsrhs().
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 |
number of loading cases
Definition at line 26 of file lhsrhs.h.
Referenced by alloc(), lhsrhs(), par_solve_layered_linear_statics(), par_solve_linear_statics(), par_solve_prob_constr_phases(), solve_epressure(), solve_forced_dynamics(), 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(), and solve_prob_constr_phases().
double* rhs |
array containing right hand sides
Definition at line 38 of file lhsrhs.h.
Referenced by alloc(), give_rhs(), lhsrhs(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), par_newton_raphson_parcoupl_lin(), solve_fcouplprob(), solve_layered_linear_statics(), and ~lhsrhs().
double* stdlhs |
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().