#include <stdlib.h>
#include <errno.h>
#include "globmatt.h"
#include "globalt.h"
#include "lhsrhst.h"
#include "constrel.h"
#include "onemedium.h"
#include "twomedia.h"
#include "threemedia.h"
#include "fourmedia.h"
#include "elemswitcht.h"
Go to the source code of this file.
Functions | |
void | actual_previous_change () |
void | actual_previous_nodval () |
void | approximation () |
void | approximation_puc () |
void | assemble_average_c_matrix (matrix &cm) |
void | assemble_average_d_matrix (matrix &km, double &area) |
void | assemble_conductivity_matrix (matrix &km) |
void | assemble_gradients_contrib (double *rhs) |
void | assemble_init (double *rhs) |
void | assemble_l_matrix (matrix &lm, matrix <m) |
void | capacity_matrix (long lcid) |
void | compute_cycles (double *plhs, double *pplhs) |
void | compute_req_valt (long lcid) |
void | conductivity_matrix (long lcid) |
void | copy_nodval (long lcid) |
void | dt_subdom () |
void | elemvalues (long lcid, long eid, double *r, long *cn, long ndofe) |
void | elemvalues_puc (long lcid, long eid, double *r, long ndofe) |
void | give_nodal_humid (double *gv, long mnt) |
void | initialvalues (double *r, long *cn, long ndofe) |
void | initnodval (long lcid, double *r, long idn) |
void | lnso_leso_setting (long *lsso) |
void | nodalderivatives (double *r, long *cn, long ndofe) |
void | nodalotherval (double *r, ivector &nod) |
double | nodalval (long lcid, long nid, long dofid) |
void | nodalval (long lcid, double *r, long nid) |
void | prescvalues (double *r, long *cn, long ndofe) |
void | prevnodval (long lcid, double *r, long idn, double *lhs) |
void | residuum (double *r, double *p, double *v, double dt, long n, long lcid) |
void | solution_correction () |
double | total_integral (long lcid) |
double | total_integral_ip (long varid) |
void | trfel_bound_flux (long lcid, double *iflux, long n) |
void | trfel_right_hand_side (long lcid, double *rhs, long n) |
void actual_previous_change | ( | ) |
function moves arrays with actual values to arrays of previous values at all integration points
JK, 29.5.2007
Definition at line 867 of file globmatt.cpp.
References intpointst::actual_previous_change(), transmat::ip, Tm, and transmat::tnip.
Referenced by approximation(), nonlinear_nonstat_solv_dform_dneska(), par_homogenization(), and par_linear_nonstat_solv_vform().
void actual_previous_nodval | ( | ) |
function moves arrays with actual values to arrays of previous values at all nodes
JK, 14.1.2008
Definition at line 881 of file globmatt.cpp.
References nodet::actual_previous_change(), transtop::nn, transtop::nodes, and Tt.
Referenced by lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_nr_dform(), nonstat_solver_dform_init(), nonstat_solver_init(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), 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_nonstat_solver_init(), par_nonstat_trfel_init(), par_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), and par_solve_nonlinear_nonstationary_problem_dform().
void approximation | ( | ) |
function computes quantity values in integration points values in integration points are obtained from nodal values
16.1.2002
Definition at line 771 of file globmatt.cpp.
Referenced by approximationc(), compute_req_valt(), lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_dform(), nonlinear_nonstat_solv_dform_dneska(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_fnr_dform_old(), nonlinear_nonstat_solv_linesearch(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_nr_dform(), nonlinear_nonstat_solv_old(), nonlinear_nonstat_solv_oldd(), nonlinear_nonstat_solv_pokus(), nonlinear_nonstat_solv_vform(), nonstat_solv_dform_comp(), nonstat_solv_vform_comp(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), par_homogenization(), par_linear_nonstat_solv_vform(), 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_nonstat_solver_init(), par_nonstat_trfel_init(), par_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem(), par_solve_nonlinear_nonstationary_problem_dform(), Ctlinterface::solve(), solve_nonlinear_stationary_problem(), solve_nonlinear_stationary_problem_old(), solve_nonlinear_stationary_problem_pokus(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), and solve_nonstationary_growing_vform().
void approximation_puc | ( | ) |
function computes quantity values in integration points of PUC values in integration points are obtained from nodal values of PUC
TKr, 08/09/2010
Definition at line 745 of file globmatt.cpp.
References transmat::aux_values(), Gtt, intpointvalues_puc(), gtopology::leso, transtop::ne, Tm, and Tt.
Referenced by paral_transport_homogenization(), and transport_homogenization().
void assemble_average_c_matrix | ( | matrix & | cm | ) |
function assembles average capacity (C) matrix of PUC
lcid | - load case id |
Definition at line 1635 of file globmatt.cpp.
References allocm(), avercmat(), check_math_errel(), cmulm(), destrm(), transtop::give_ncomp(), Gtt, transbclc::lc, gtopology::leso, loadcaset::masterval, transtop::ne, probdesct::ntm, Tb, Tp, and Tt.
Referenced by paral_transport_homogenization(), and transport_homogenization().
void assemble_average_d_matrix | ( | matrix & | km, | |
double & | area | |||
) |
function assembles average conductivity (D) matrix of PUC
lcid | - load case id |
Definition at line 1592 of file globmatt.cpp.
References allocm(), averdmat(), check_math_errel(), cmulm(), destrm(), transtop::give_ncomp(), Gtt, gtopology::leso, transtop::ne, probdesct::ntm, Tp, and Tt.
Referenced by paral_transport_homogenization(), and transport_homogenization().
void assemble_conductivity_matrix | ( | matrix & | km | ) |
function assembles conductivity matrix of PUC
lcid | - load case id |
Definition at line 1559 of file globmatt.cpp.
References allocm(), check_math_errel(), conductmat(), destrm(), gtopology::give_code_numbers(), gtopology::give_ndofe(), Gtt, gtopology::leso, mat_localize(), transtop::ne, and Tt.
void assemble_gradients_contrib | ( | double * | rhs | ) |
function assembles part of the vector of right hand side from gradients of PUC
rhs | - right hand side |
19/08/2010, TKr
Definition at line 1416 of file globmatt.cpp.
References vector::a, allocm(), allocv(), cmulv(), destrm(), destrv(), f, transtop::give_code_numbers(), transtop::give_ncomp(), transtop::give_ndofe(), grad, Gtt, transbclc::lc, gtopology::leso, locglob(), ltmat(), loadcaset::mastergrad, mxv(), transtop::ne, probdesct::ntm, Tb, Tp, and Tt.
Referenced by trfel_right_hand_side().
void assemble_init | ( | double * | rhs | ) |
function assembles part of the vector of right hand side
rhs | - right hand side |
21.3.2004, JK
Definition at line 897 of file globmatt.cpp.
Referenced by trfel_right_hand_side().
function assembles l matrix and l_t (transposed) matrix of PUC
lcid | - load case id |
Definition at line 1474 of file globmatt.cpp.
References allocm(), destrm(), gtopology::give_code_numbers(), transtop::give_ncomp(), transtop::give_ndofe(), Gtt, gtopology::leso, lmat(), ltmat(), mat_localize(), transtop::ne, probdesct::ntm, Tp, and Tt.
Referenced by paral_transport_homogenization(), and transport_homogenization().
void capacity_matrix | ( | long | lcid | ) |
function assembles capacity matrix of the problem
lcid | - load case id |
Definition at line 80 of file globmatt.cpp.
Referenced by lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_dform(), nonlinear_nonstat_solv_dform_dneska(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_fnr_dform_old(), nonlinear_nonstat_solv_linesearch(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_nr_dform(), nonlinear_nonstat_solv_old(), nonlinear_nonstat_solv_oldd(), nonlinear_nonstat_solv_pokus(), nonlinear_nonstat_solv_vform(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), par_homogenization(), par_linear_nonstat_solv_vform(), 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_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem(), par_solve_nonlinear_nonstationary_problem_dform(), residuum(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), and solve_nonstationary_growing_vform().
void compute_cycles | ( | double * | plhs, | |
double * | pplhs | |||
) |
function computes number of cycles the function is intended for computation of frozing cycles
plhs | - nodal values from previous time step | |
pplhs | - nodal values from time step i-2 |
11.9.2007, JK
Definition at line 1321 of file globmatt.cpp.
References allocv(), transtop::aux, transmat::cycle_detection(), destrv(), transtop::elements, transtop::give_elemnodes(), transtop::give_ndofn(), transtop::give_nne(), elementt::ipp, transtop::ncycl, transtop::ne, transtop::nn, nod, nodalval(), prevnodval(), Tm, and Tt.
Referenced by nonlinear_nonstat_solv_dform_dneska().
void compute_req_valt | ( | long | lcid | ) |
function computes all required values this function is called e.g. before output print
lcid | - load case id |
1.4.2004, JK
01/02/2010 changed by TKr
Definition at line 1078 of file globmatt.cpp.
Referenced by linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_common_dt(), newton_raphson_parcoupl_comp(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonstat_solv_dform_comp(), nonstat_solv_vform_comp(), nonstat_solver_dform_init(), nonstat_solver_init(), par_newton_raphson_gparcoupl_lin(), par_newton_raphson_gparcoupl_nonlin(), par_newton_raphson_parcoupl_comp(), par_newton_raphson_parcoupl_lin(), par_newton_raphson_parcoupl_lin_vform(), par_newton_raphson_parcoupl_nonlin(), par_nonstat_solv_vform_comp(), par_nonstat_solver_init(), par_nonstat_trfel_init(), par_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem_dform(), print_stept(), print_stept_forced(), solve_nonlinear_stationary_problem(), solve_nonlinear_stationary_problem_old(), solve_nonlinear_stationary_problem_pokus(), and solve_stationary_problem().
void conductivity_matrix | ( | long | lcid | ) |
function assembles conductivity matrix of the problem
lcid | - load case id |
Definition at line 18 of file globmatt.cpp.
Referenced by lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_dform(), nonlinear_nonstat_solv_dform_dneska(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_fnr_dform_old(), nonlinear_nonstat_solv_linesearch(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_nr_dform(), nonlinear_nonstat_solv_old(), nonlinear_nonstat_solv_oldd(), nonlinear_nonstat_solv_pokus(), nonlinear_nonstat_solv_vform(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), par_homogenization(), par_linear_nonstat_solv_vform(), 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_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem(), par_solve_nonlinear_nonstationary_problem_dform(), par_solve_stationary_problem(), paral_transport_homogenization(), residuum(), solve_nonlinear_stationary_problem(), solve_nonlinear_stationary_problem_old(), solve_nonlinear_stationary_problem_pokus(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), solve_nonstationary_growing_vform(), solve_radiation_stationary_problem(), solve_stationary_problem(), and transport_homogenization().
void copy_nodval | ( | long | lcid | ) |
function copies nodal values from vector of nodal values (vector of solution) to the array nodval defined on node
lcid | - load case id |
JK, 8.1.2008
Definition at line 1387 of file globmatt.cpp.
References transtop::give_ndofn(), transtop::nn, nodalval(), transtop::nodes, nodet::save_nodval(), and Tt.
Referenced by approximation().
void dt_subdom | ( | ) |
function determines time increment for each subdomain
JK, 27. 5. 2014
Definition at line 1741 of file globmatt.cpp.
References seqtop::domel, Gtt, seqtop::ned, seqtop::ns, and gtopology::stop.
void elemvalues | ( | long | lcid, | |
long | eid, | |||
double * | r, | |||
long * | cn, | |||
long | ndofe | |||
) |
function extracts values on one element
lcid | - number of load case | |
r | - vector of nodal values | |
cn | - array containing code numbers | |
ndofe | - number of DOFs on actual element |
9.7.2001
Definition at line 209 of file globmatt.cpp.
References allocv(), destrv(), discont_nonlin_nonstat_problem, discont_nonstat_problem, pvalt::getval(), transtop::give_elemnodes(), transtop::give_ncomp(), transtop::give_nne(), gtopology::gnodes, growing_np_problem, growing_np_problem_nonlin, Gtt, probdesct::homogt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::mastergrad, loadcaset::masterval, no, nod, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, probdesct::ntm, print_err(), loadcaset::pv, stationary_problem, Tb, Tp, probdesct::tprob, Tt, gnode::x, gnode::y, and gnode::z.
Referenced by assemble_init_coup_upper(), transtop::initial_nodval(), trlineart::intpointgrad(), trlinaxisym::intpointgrad(), quadquadrilattax::intpointgrad(), quadquadrilatt::intpointgrad(), quadlineart::intpointgrad(), quadlinaxisym::intpointgrad(), quadhext::intpointgrad(), quadbartax::intpointgrad(), quadbart::intpointgrad(), lintett::intpointgrad(), linhext::intpointgrad(), linbartax::intpointgrad(), quadrilatc::intpointgrad(), barelc::intpointgrad(), trlineart::intpointval(), trlinaxisym::intpointval(), quadquadrilattax::intpointval(), quadquadrilatt::intpointval(), quadlineart::intpointval(), quadlinaxisym::intpointval(), quadhext::intpointval(), quadbartax::intpointval(), quadbart::intpointval(), lintett::intpointval(), linhext::intpointval(), linbartax::intpointval(), quadrilatc::intpointval(), barelc::intpointval(), trlinaxisym::nod_others(), quadquadrilattax::nod_others(), quadquadrilatt::nod_others(), quadlinaxisym::nod_others(), quadhext::nod_others(), quadbartax::nod_others(), lintett::nod_others(), linbartax::nod_others(), trlineart::nod_others_comp(), quadquadrilatt::nod_others_comp(), quadlineart::nod_others_comp(), quadbart::nod_others_comp(), linhext::nod_others_comp(), linbart::nod_others_comp(), and total_integral().
void elemvalues_puc | ( | long | lcid, | |
long | eid, | |||
double * | r, | |||
long | ndofe | |||
) |
function computes and extracts values on one element of PUC
lcid | - number of load case | |
r | - vector of nodal values |
TKr, 08/09/2010
Definition at line 159 of file globmatt.cpp.
References allocv(), transtop::give_elemnodes(), transtop::give_ncomp(), gtopology::give_ndofn(), transtop::give_nne(), gtopology::gnodes, Gtt, transbclc::lc, loadcaset::mastergrad, loadcaset::masterval, nodet::ncompgrad, nod, nodalval(), transtop::nodes, Tb, Tt, gnode::x, gnode::y, and gnode::z.
Referenced by trlineart::intpointval_puc(), quadlineart::intpointval_puc(), lintett::intpointval_puc(), and linhext::intpointval_puc().
void give_nodal_humid | ( | double * | gv, | |
long | mnt | |||
) |
Definition at line 1135 of file globmatt.cpp.
Referenced by nodal_nodal_values().
void initialvalues | ( | double * | r, | |
long * | cn, | |||
long | ndofe | |||
) |
function extracts initial values on one element
r | - vector of nodal values | |
cn | - array containing code numbers | |
ndofe | - number of DOFs on element |
21.3.2004, JK
Definition at line 727 of file globmatt.cpp.
Referenced by quadrilatc::res_upper_cond_coup_vector(), hexahedc::res_upper_cond_coup_vector(), barelc::res_upper_cond_coup_vector(), and axiquadc::res_upper_cond_coup_vector().
void initnodval | ( | long | lcid, | |
double * | r, | |||
long | idn | |||
) |
function extracts initial values on one node
lcid | - number of load case | |
r | - allocated array for nodal values | |
idn | - node number |
JK, 18.8.2008
Definition at line 480 of file globmatt.cpp.
References discont_nonlin_nonstat_problem, discont_nonstat_problem, pvalt::getval(), transtop::give_dof(), transtop::give_ndofn(), growing_np_problem, growing_np_problem_nonlin, transbclc::lc, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, print_err(), loadcaset::pv, Tb, Tp, probdesct::tprob, and Tt.
Referenced by endnodet::compute_jump(), edget::compute_jump(), and edget::compute_node_jump().
void lnso_leso_setting | ( | long * | lsso | ) |
function sets actual values of arrays lnso and leso
nodes and elements are switched on or off with respect to subcycling algorithm
lsso | - list of subdomains switched on/off |
JK, 27. 5. 2014
Definition at line 1777 of file globmatt.cpp.
References seqtop::domel, transtop::give_elemnodes(), transtop::give_nne(), Gtt, gtopology::leso, gtopology::lnso, transtop::ne, seqtop::ned, transtop::nn, nodes, seqtop::ns, reallocv(), gtopology::stop, and Tt.
void nodalderivatives | ( | double * | r, | |
long * | cn, | |||
long | ndofe | |||
) |
function extracts first time derivatives of nodal values on one element
r | - vector of derivatives of nodal values | |
cn | - array containing code numbers | |
ndofe | - number of DOFs on actual element |
4.3.2003
Definition at line 666 of file globmatt.cpp.
Referenced by trlineart::res_internal_fluxes(), trlinaxisym::res_internal_fluxes(), quadquadrilattax::res_internal_fluxes(), quadquadrilatt::res_internal_fluxes(), quadlineart::res_internal_fluxes(), quadlinaxisym::res_internal_fluxes(), quadhext::res_internal_fluxes(), quadbartax::res_internal_fluxes(), quadbart::res_internal_fluxes(), lintett::res_internal_fluxes(), linhext::res_internal_fluxes(), linbartax::res_internal_fluxes(), and linbart::res_internal_fluxes().
void nodalotherval | ( | double * | r, | |
ivector & | nod | |||
) |
function extracts nodal values stored in array other values are extracted for all nodes of required element
r | - array containing nodal values | |
nod | - list of nodes on element |
17.9.2005, JK
Definition at line 642 of file globmatt.cpp.
References ivector::n, nodet::ncompother, transtop::nodes, nodet::other, and Tt.
Referenced by trlineart::intpointother(), trlinaxisym::intpointother(), quadquadrilattax::intpointother(), quadquadrilatt::intpointother(), quadlineart::intpointother(), quadlinaxisym::intpointother(), quadhext::intpointother(), quadbartax::intpointother(), quadbart::intpointother(), lintett::intpointother(), linhext::intpointother(), linbartax::intpointother(), and linbart::intpointother().
double nodalval | ( | long | lcid, | |
long | nid, | |||
long | dofid | |||
) |
function extracts all values on one node
lcid | - load case id | |
nid | - node id | |
dofid | - DOF id |
13. 11. 2013, JK
Definition at line 408 of file globmatt.cpp.
References discont_nonlin_nonstat_problem, discont_nonstat_problem, pvalt::getval(), transtop::give_dof(), growing_np_problem, growing_np_problem_nonlin, probdesct::homogt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, print_err(), loadcaset::pv, stationary_problem, Tb, Tp, probdesct::tprob, and Tt.
void nodalval | ( | long | lcid, | |
double * | r, | |||
long | nid | |||
) |
function extracts all values on one node
lcid | - load case id | |
r | - allocated array for nodal values | |
nid | - node id |
9.7.2001
Definition at line 331 of file globmatt.cpp.
References discont_nonlin_nonstat_problem, discont_nonstat_problem, pvalt::getval(), transtop::give_dof(), transtop::give_ndofn(), growing_np_problem, growing_np_problem_nonlin, probdesct::homogt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, print_err(), loadcaset::pv, stationary_problem, Tb, Tp, probdesct::tprob, and Tt.
Referenced by compute_cycles(), endnodet::compute_jump(), edget::compute_jump(), edget::compute_node_jump(), copy_nodval(), transtop::edge_temperature(), elemvalues_puc(), loadelt::give_external_nodval(), loadelt::give_nodval(), loadelt::give_trc(), nodeoutt::print_unkn(), outdiagt::print_unknowns(), solution_correction(), saltmat4::transmission_flux(), saltmat1::transmission_flux(), moistheatmat::transmission_flux(), kunmat::transmission_flux(), bazpedmat::transmission_flux(), saltmat4::transmission_nodval(), saltmat1::transmission_nodval(), moistheatmat::transmission_nodval(), kunmat::transmission_nodval(), bazpedmat::transmission_nodval(), saltmat4::transmission_transcoeff(), saltmat1::transmission_transcoeff(), kunmat::transmission_transcoeff(), bazpedmat::transmission_transcoeff(), quadlineart::transq_nodval_comp(), linbart::transq_nodval_comp(), write_gid_unkn(), and write_vtk_unkn().
void prescvalues | ( | double * | r, | |
long * | cn, | |||
long | ndofe | |||
) |
function extracts prescribed and initial values on one element
r | - vector of nodal values | |
cn | - array containing code numbers | |
ndofe | - number of DOFs in element |
21.3.2004, JK
Definition at line 701 of file globmatt.cpp.
Referenced by assemble_init().
void prevnodval | ( | long | lcid, | |
double * | r, | |||
long | idn, | |||
double * | lhs | |||
) |
function extracts values from previous step on one node this function differs from the function nodval the vector of values is an input parameter while the function nodval uses the vector Lsrst->lhs
lcid | - number of load case | |
r | - allocated array for displacement | |
idn | - node number | |
lhs | - vector of values from the previous step |
9.7.2001
Definition at line 557 of file globmatt.cpp.
References discont_nonlin_nonstat_problem, discont_nonstat_problem, pvalt::getval(), transtop::give_dof(), transtop::give_ndofn(), growing_np_problem, growing_np_problem_nonlin, transbclc::lc, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, print_err(), loadcaset::pv, stationary_problem, Tb, Tp, probdesct::tprob, and Tt.
Referenced by compute_cycles().
void residuum | ( | double * | r, | |
double * | p, | |||
double * | v, | |||
double | dt, | |||
long | n, | |||
long | lcid | |||
) |
r | - vector of residuum | |
p | - vector d_{n+1} - d_{n} | |
v | - auxiliary vector | |
dt | - actual time increment | |
lcid | - load case id |
JK, 2.2.2003
Definition at line 137 of file globmatt.cpp.
Referenced by Ctlinterface::get_residual().
void solution_correction | ( | ) |
function corrects solution of algebraic system of equations unacceptable trial values are replaced by the limit values
14.7.2005
Definition at line 1256 of file globmatt.cpp.
Referenced by lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), newton_raphson_coupl(), newton_raphson_coupl_new(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_dform_dneska(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_nr_dform(), nonlinear_nonstat_solv_old(), nonlinear_nonstat_solv_oldd(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), 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_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem_dform(), solve_nonlinear_stationary_problem(), solve_nonlinear_stationary_problem_old(), solve_nonlinear_stationary_problem_pokus(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), and solve_nonstationary_growing_vform().
double total_integral | ( | long | lcid | ) |
function computes integral of a variable over the whole domain the variable is stored on nodes
lcid | - load case id |
14. 3. 2013
Definition at line 1682 of file globmatt.cpp.
References vector::a, ivector::a, check_math_errel(), elem_total_integral(), elemvalues(), transtop::give_medium_code_numbers(), transtop::give_nne(), transtop::ne, nodval(), reallocv(), and Tt.
Referenced by nonlin_nonstat_dform(), and nonstat_solv_dform_comp().
double total_integral_ip | ( | long | varid | ) |
function computes integral of a variable over the whole domain the variable is stored in integration points in array other
varid | - id of variable required, it is an index in the array other |
3. 10. 2013, JK
Definition at line 1720 of file globmatt.cpp.
References elem_total_integral_ip(), transtop::ne, and Tt.
Referenced by lin_nonstat_dform().
void trfel_bound_flux | ( | long | lcid, | |
double * | iflux, | |||
long | n | |||
) |
function assembles flux on the boundary
lcid | - load case id | |
iflux | - array containing flux (right hand side) |
12.3.2002
Definition at line 1051 of file globmatt.cpp.
Referenced by internal_fluxes().
void trfel_right_hand_side | ( | long | lcid, | |
double * | rhs, | |||
long | n | |||
) |
function assembles right hand side of the problem
lcid | - load case id | |
rhs | - array containing right hand side | |
n | - number of components of array rhs |
12.3.2002
Definition at line 953 of file globmatt.cpp.
Referenced by lin_nonstat_dform(), lin_nonstat_dform_resistance(), linear_nonstat_radiation_solv_dform(), linear_nonstat_solv_dform(), linear_nonstat_solv_dform_subcycl(), linear_nonstat_solv_vform(), metr_right_hand_side(), newton_raphson_gparcoupl_lin(), newton_raphson_gparcoupl_nonlin(), newton_raphson_parcoupl_lin(), newton_raphson_parcoupl_nonlin(), newton_raphson_parcoupl_nonlin_new(), newton_raphson_parcoupl_nonlin_old(), nonlin_nonstat_dform(), nonlinear_nonstat_solv(), nonlinear_nonstat_solv_dform(), nonlinear_nonstat_solv_dform_dneska(), nonlinear_nonstat_solv_fnr_dform(), nonlinear_nonstat_solv_fnr_dform_old(), nonlinear_nonstat_solv_linesearch(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_nr_dform(), nonlinear_nonstat_solv_old(), nonlinear_nonstat_solv_oldd(), nonlinear_nonstat_solv_pokus(), nonlinear_nonstat_solv_vform(), one_step_linear(), one_step_nonlinear(), one_step_nonlinear_dform(), par_homogenization(), par_linear_nonstat_solv_vform(), 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_one_step_linear(), par_one_step_nonlinear(), par_one_step_trfel_linear(), par_one_step_trfel_nonlinear(), par_solve_nonlinear_nonstationary_problem(), par_solve_nonlinear_nonstationary_problem_dform(), par_solve_stationary_problem(), residuum(), solve_nonlinear_stationary_problem(), solve_nonlinear_stationary_problem_old(), solve_nonlinear_stationary_problem_pokus(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), solve_nonstationary_growing_vform(), solve_radiation_stationary_problem(), and solve_stationary_problem().