SIFEL/TRFEL/SRC/jk_globmatt.cpp File Reference

#include <stdlib.h>
#include "globmatt.h"
#include "globalt.h"
#include "lhsrhst.h"
#include "constrel.h"
#include "onemedium.h"
#include "twomedia.h"
#include "threemedia.h"

Go to the source code of this file.

Functions

void approximation ()
void assemble_init (double *rhs)
void capacity_matrix (long lcid)
void capacmat (long eid, long lcid, matrix &cm)
void compute_req_valt (long lcid)
void conductivity_matrix (long lcid)
void conductmat (long eid, long lcid, matrix &km)
void give_nodal_humid (double *gv, long mnt)
void initialvalues (double *r, long *cn, long ndofe)
void internal_fluxes (double *intflux, long n)
void intpointgradients (long eid)
void intpointvalues (long eid)
void nodalderivatives (double *r, long *cn, long ndofe)
void nodalvalues (long lcid, double *r, long *cn, long ndofe)
void nodval (long lcid, double *r, long idn)
void prescvalues (double *r, long *cn, long ndofe)
void residuum (double *r, double *p, double *v, double dt, long n, long lcid)
void solution_correction ()
void source_vector (long lcid, long eid, vector &nodval, vector &lv)
void trfel_bound_flux (long lcid, double *iflux, long n)
void trfel_right_hand_side (long lcid, double *rhs, long n)

Function Documentation

void approximation (  ) 
void assemble_init ( double *  rhs  ) 

function assembles part of the vector of right hand side

Parameters:
rhs - right hand side

21.3.2004, JK

Definition at line 657 of file jk_globmatt.cpp.

References vector::a, allocm(), allocv(), check_math_errel(), cmulv(), conductmat(), destrm(), destrv(), f, transtop::give_code_numbers(), transtop::give_ndofe(), Gtt, gtopology::leso, locglob(), mxv(), transtop::ne, prescvalues(), and Tt.

void capacity_matrix ( long  lcid  ) 
void capacmat ( long  eid,
long  lcid,
matrix cm 
)
void compute_req_valt ( long  lcid  ) 
void conductivity_matrix ( long  lcid  ) 
void conductmat ( long  eid,
long  lcid,
matrix km 
)
void give_nodal_humid ( double *  gv,
long  mnt 
)
void initialvalues ( double *  r,
long *  cn,
long  ndofe 
)

function extracts values on one element

Parameters:
eid - element id
r - vector of nodal values
cn - array containing code numbers

21.3.2004, JK

Definition at line 223 of file jk_globmatt.cpp.

References pvalt::getipv(), transbclc::lc, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

void internal_fluxes ( double *  intflux,
long  n 
)
void intpointgradients ( long  eid  ) 
void intpointvalues ( long  eid  ) 
void nodalderivatives ( double *  r,
long *  cn,
long  ndofe 
)

function extracts first time derivatives of nodal values on one element

Parameters:
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 179 of file jk_globmatt.cpp.

References discont_nonlin_nonstat_problem, discont_nonstat_problem, growing_np_problem, growing_np_problem_nonlin, Lsrst, nonlinear_nonstationary_problem, nonlinear_stationary_problem, nonstationary_problem, print_err(), lhsrhst::tdlhs, Tp, and probdesct::tprob.

void nodalvalues ( long  lcid,
double *  r,
long *  cn,
long  ndofe 
)

function extracts values on one element

Parameters:
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 113 of file jk_globmatt.cpp.

References pvalt::getval(), transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonstationary_problem, loadcaset::pv, Tb, Tp, and probdesct::tprob.

void nodval ( long  lcid,
double *  r,
long  idn 
)

function extracts values on one node

Parameters:
lcid - number of load case
r - allocated array for displacement
idn - node number

9.7.2001

Definition at line 146 of file jk_globmatt.cpp.

References pvalt::getval(), transtop::give_dof(), transtop::give_ndofn(), transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, nonlinear_nonstationary_problem, nonstationary_problem, loadcaset::pv, Tb, Tp, probdesct::tprob, and Tt.

void prescvalues ( double *  r,
long *  cn,
long  ndofe 
)

function extracts values on one element

Parameters:
eid - element id
r - vector of nodal values
cn - array containing code numbers

21.3.2004, JK

Definition at line 202 of file jk_globmatt.cpp.

References pvalt::getval(), probdesct::homogt, transbclc::lc, lhsrhst::lhsi, Lsrst, loadcaset::pv, Tb, and Tp.

void residuum ( double *  r,
double *  p,
double *  v,
double  dt,
long  n,
long  lcid 
)
Parameters:
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 89 of file jk_globmatt.cpp.

References addv(), capacity_matrix(), Cmat, cmulv(), conductivity_matrix(), gmatrix::gmxv(), Kmat, lhsrhst::lhs, Lsrst, Ndoft, lhsrhst::rhs, subv(), and trfel_right_hand_side().

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 969 of file jk_globmatt.cpp.

References vector::a, allocv(), destrv(), transtop::elements, transtop::give_dof(), transtop::give_elemnodes(), transtop::give_ndofn(), transtop::give_nne(), elementt::ipp, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, transtop::ne, nodalval(), nodes, nodval(), Tm, Tt, and transmat::values_correction().

void source_vector ( long  lcid,
long  eid,
vector nodval,
vector lv 
)
void trfel_bound_flux ( long  lcid,
double *  iflux,
long  n 
)

function assembles flux on the boundary

Parameters:
lcid - load case id
iflux - array containing flux (right hand side)

12.3.2002

Definition at line 751 of file jk_globmatt.cpp.

References addv(), loadcaset::assemble_flux(), transbclc::lc, probdesct::ntm, nullv(), onemedium, Tb, threemediacoup, probdesct::tmatt, Tp, and twomediacoup.

void trfel_right_hand_side ( long  lcid,
double *  rhs,
long  n 
)

Generated by  doxygen 1.6.2