#include <nodet.h>
Public Member Functions | |
void | actual_previous_change () |
void | alloc_eqother (long ncomp0) |
void | alloc_flux (long ncomp) |
void | alloc_grad (long ncomp) |
void | alloc_nodval () |
void | alloc_nodvali () |
void | alloc_nodvalp () |
void | alloc_nodvalt () |
void | alloc_other (long ncomp0) |
void | eqother_averageval () |
void | flux_averageval () |
void | give_flux (long lcid, double *nv) |
void | give_values (double *in, double *inp, double *ineq) |
void | grad_averageval () |
nodet (void) | |
void | nulleqother () |
void | nullflux () |
void | nullgrad () |
void | nullnodval () |
void | nullnodvali () |
void | nullnodvalp () |
void | nullnodvalt () |
void | nullother () |
void | other_averageval () |
void | print (FILE *out) |
void | read (XFILE *in, long ndof) |
void | save_nodval (double *nv) |
void | save_values (double *out) |
void | storeeqother (long ncomp, double eqotherv) |
void | storeflux (long lcid, double vol, vector &fluxv) |
void | storeflux (long fi, vector &fluxv) |
void | storegrad (long lcid, double vol, vector &fluxv) |
void | storegrad (long fi, vector &gradv) |
void | storeother (long ncomp, double otherv) |
~nodet (void) | |
Public Attributes | |
crsectypet | crst |
type of cross section | |
double * | eqother |
array containing eqother values | |
double ** | flux |
double ** | gradient |
array containing gradients | |
long | idcs |
number of appropriate cross section type | |
long | ncompeqother |
number of components of eq_other array | |
long | ncompgrad |
number of components of gradients array | |
long | ncompother |
number of components of other array | |
long * | ncontr_eqother |
number of contributions to the eqother array | |
long * | ncontr_flux |
array of contributions to the flux array | |
long * | ncontr_grad |
array of contributions to the gradient array | |
long * | ncontr_other |
number of contributions to the other array | |
long | ndofn |
number of DOFs on node | |
double * | nodval |
array containing actual nodal values | |
double * | nodvali |
array containing initial nodal values | |
double * | nodvalp |
array containing nodal values from the previous step | |
double * | nodvalt |
array containing time derivative of nodal values | |
double * | other |
array containing other values | |
long * | vol_eqother |
long * | vol_flux |
long * | vol_grad |
long * | vol_other |
class nodet defines node for transport problems it contains informations about nodes which are not stored in gnode
Definition at line 14 of file nodet.h.
nodet | ( | void | ) |
Definition at line 4 of file nodet.cpp.
References crst, eqother, flux, gradient, idcs, ncompeqother, ncompgrad, ncompother, ncontr_eqother, ncontr_flux, ncontr_grad, ncontr_other, ndofn, nodval, nodvali, nodvalp, nodvalt, other, vol_eqother, vol_flux, vol_grad, and vol_other.
~nodet | ( | void | ) |
Definition at line 53 of file nodet.cpp.
References eqother, flux, gradient, ncontr_eqother, ncontr_flux, ncontr_grad, ncontr_other, nodval, nodvali, nodvalp, nodvalt, probdesct::ntm, other, and Tp.
void actual_previous_change | ( | ) |
void alloc_eqother | ( | long | ncompeqo | ) |
function allocates eq_other arrays on nodes
ncompo | - number components |
18.5.2002
Definition at line 205 of file nodet.cpp.
References eqother, probdesct::eqotheraver, ncompeqother, ncontr_eqother, nulleqother(), Tp, and vol_eqother.
Referenced by transtop::alloc_nodes().
void alloc_flux | ( | long | ncomp | ) |
function allocates fluxes arrays on nodes
ncompo | - number components |
18.5.2002 modified by TKr 21/01/2010
Definition at line 160 of file nodet.cpp.
References flux, probdesct::fluxaver, ncompgrad, ncontr_flux, probdesct::ntm, nullflux(), Tp, and vol_flux.
Referenced by transtop::alloc_nodes().
void alloc_grad | ( | long | ncomp | ) |
function allocates gradient arrays on nodes
ncompo | - number components |
18.5.2002 modified by TKr 21/01/2010
Definition at line 135 of file nodet.cpp.
References probdesct::gradaver, gradient, ncompgrad, ncontr_grad, probdesct::ntm, nullgrad(), Tp, and vol_grad.
Referenced by transtop::alloc_nodes().
void alloc_nodval | ( | ) |
function allocates array nodval for actual nodal values on nodes
JK, 10.7.2008
Definition at line 222 of file nodet.cpp.
References ndofn, nodval, and nullnodval().
Referenced by transtop::alloc_nodes().
void alloc_nodvali | ( | ) |
function allocates array nodvali for initial nodal values on nodes
JK, 10.7.2008
Definition at line 233 of file nodet.cpp.
References ndofn, nodvali, and nullnodvali().
Referenced by transtop::alloc_nodes().
void alloc_nodvalp | ( | ) |
function allocates array nodvalp for previous nodal values on nodes
JK, 10.7.2008
Definition at line 244 of file nodet.cpp.
References ndofn, nodvalp, and nullnodvalp().
Referenced by transtop::alloc_nodes().
void alloc_nodvalt | ( | ) |
function allocates array nodvalt for time derivatives of actual nodal values on nodes
JK, 10.7.2008
Definition at line 255 of file nodet.cpp.
References ndofn, nodvalt, and nullnodvalt().
Referenced by transtop::alloc_nodes().
void alloc_other | ( | long | ncompo | ) |
function allocates other arrays on nodes
ncompo | - number components |
18.5.2002
Definition at line 185 of file nodet.cpp.
References ncompother, ncontr_other, nullother(), other, probdesct::otheraver, Tp, and vol_other.
Referenced by transtop::alloc_nodes().
void eqother_averageval | ( | ) |
function computes average values from array eq_other modified by TKr 21/01/2010
Definition at line 603 of file nodet.cpp.
References eqother, probdesct::eqotheraver, ncompeqother, ncontr_eqother, Tp, vol_eqother, and vol_other.
Referenced by compute_nodeeqotherst().
void flux_averageval | ( | ) |
function computes average flux at node modified by TKr 21/01/2010
Definition at line 545 of file nodet.cpp.
References flux, probdesct::fluxaver, ncompgrad, ncontr_flux, probdesct::ntm, Tp, and vol_flux.
Referenced by compute_nodefluxes().
void give_flux | ( | long | lcid, | |
double * | nv | |||
) |
function returns vector of flux in node
lcid | - load case id | |
nv | - array containing nodal flux |
JK, 15. 2. 2011
Definition at line 712 of file nodet.cpp.
Referenced by transtop::compute_resistance_factor().
void give_values | ( | double * | in, | |
double * | inp, | |||
double * | ineq | |||
) |
void grad_averageval | ( | ) |
function computes average gradient at node modified by TKr 21/01/2010
Definition at line 515 of file nodet.cpp.
References probdesct::fluxaver, probdesct::gradaver, gradient, ncompgrad, ncontr_grad, probdesct::ntm, Tp, and vol_grad.
Referenced by compute_nodegrads().
void nulleqother | ( | ) |
function sets up all components in array eqother to zero
ntm | - number of transported media |
Definition at line 326 of file nodet.cpp.
References eqother, probdesct::eqotheraver, ncompeqother, ncontr_eqother, Tp, and vol_eqother.
Referenced by alloc_eqother(), and compute_nodeeqotherst().
void nullflux | ( | ) |
function sets up all components in array flux to zero
JK, 10.7.2008 modified by TKr 21/01/2010
Definition at line 288 of file nodet.cpp.
References flux, probdesct::fluxaver, ncompgrad, ncontr_flux, probdesct::ntm, Tp, and vol_flux.
Referenced by alloc_flux(), and compute_nodefluxes().
void nullgrad | ( | ) |
function sets up all components in array gradient to zero
JK, 10.7.2008 modified by TKr 21/01/2010
Definition at line 268 of file nodet.cpp.
References probdesct::gradaver, gradient, ncompgrad, ncontr_grad, probdesct::ntm, Tp, and vol_grad.
Referenced by alloc_grad(), and compute_nodegrads().
void nullnodval | ( | ) |
function cleans array nodval
JK, 10.7.2008
Definition at line 346 of file nodet.cpp.
Referenced by alloc_nodval().
void nullnodvali | ( | ) |
function cleans array nodvali
JK, 10.7.2008
Definition at line 372 of file nodet.cpp.
References ndofn, and nodvali.
Referenced by alloc_nodvali().
void nullnodvalp | ( | ) |
function cleans array nodvalp
JK, 10.7.2008
Definition at line 359 of file nodet.cpp.
References ndofn, and nodvalp.
Referenced by alloc_nodvalp().
void nullnodvalt | ( | ) |
function cleans array nodvalt
JK, 10.7.2008
Definition at line 385 of file nodet.cpp.
References ndofn, and nodvalt.
Referenced by alloc_nodvalt().
void nullother | ( | ) |
function sets up all components in array other to zero
Definition at line 306 of file nodet.cpp.
References ncompother, ncontr_other, other, probdesct::otheraver, Tp, and vol_other.
Referenced by alloc_other(), compute_nodeotherst(), and compute_nodeotherst_comp().
void other_averageval | ( | ) |
function computes average values from array other modified by TKr 21/01/2010
Definition at line 576 of file nodet.cpp.
References ncompother, ncontr_other, other, probdesct::otheraver, Tp, and vol_other.
Referenced by compute_nodeotherst(), and compute_nodeotherst_comp().
void print | ( | FILE * | out | ) |
function prints data
out | - output file |
Definition at line 115 of file nodet.cpp.
Referenced by transtop::print().
void read | ( | XFILE * | in, | |
long | ndof | |||
) |
void save_nodval | ( | double * | nv | ) |
function is used in function transmat.cpp::compute_jump
function saves nodal values to array nodval
nv | - array of nodal values |
JK, 8.1.2008
Definition at line 680 of file nodet.cpp.
Referenced by copy_nodval().
void save_values | ( | double * | out | ) |
function is used in function transmat.cpp::compute_jump
out | - array of saved data |
JK, 7.1.2008
Definition at line 662 of file nodet.cpp.
References eqother.
Referenced by transmat::aux_values().
void storeeqother | ( | long | ncompeq, | |
double | eqotherv | |||
) |
function stores eq_other components
ncompeq | - number of component | |
eqotherv | - array containing part of eq_other components |
19.5.2002
Definition at line 503 of file nodet.cpp.
References eqother, and ncontr_eqother.
Referenced by quadlineart::nod_eqother_ip().
void storeflux | ( | long | lcid, | |
double | vol, | |||
vector & | fluxv | |||
) |
void storeflux | ( | long | lcid, | |
vector & | fluxv | |||
) |
function stores stress components
lcid | - loadcase id = number of unknown | |
fluxv | - array containing part of flux components |
19.5.2002 modified by TKr 21/01/2010
Definition at line 447 of file nodet.cpp.
References flux, ncompgrad, and ncontr_flux.
Referenced by quadquadrilatt::nod_fluxes_ip(), quadlineart::nod_fluxes_ip(), and linbart::nod_fluxes_ip().
void storegrad | ( | long | lcid, | |
double | vol, | |||
vector & | gradv | |||
) |
void storegrad | ( | long | lcid, | |
vector & | gradv | |||
) |
function stores gradient components
lcid | - loadcase id = number of unknown | |
gradv | - array containing part of gradient components |
19.5.2002 modified by TKr 21/01/2010
Definition at line 404 of file nodet.cpp.
References gradient, ncompgrad, and ncontr_grad.
Referenced by quadquadrilatt::nod_grads_ip(), quadlineart::nod_grads_ip(), and linbart::nod_grads_ip().
void storeother | ( | long | ncomp, | |
double | otherv | |||
) |
function stores other components
ncomp | - number of component | |
otherv | - other value |
19.5.2002
Definition at line 488 of file nodet.cpp.
References ncontr_other, and other.
Referenced by linbart::nod_others(), trlineart::nod_others_comp(), quadquadrilatt::nod_others_comp(), quadlineart::nod_others_comp(), quadbart::nod_others_comp(), linhext::nod_others_comp(), and linbart::nod_others_comp().
type of cross section
Definition at line 69 of file nodet.h.
Referenced by transcrsec::give_arean(), transcrsec::give_densityn(), transcrsec::give_thickn(), nodet(), print(), and read().
double* eqother |
array containing eqother values
Definition at line 94 of file nodet.h.
Referenced by alloc_eqother(), climatcond::condit_rain_moisture_flux(), climatcond::condit_vapour_diffusion_moisture_flux(), climatcond::condit_vapour_diffusion_moisture_flux_salt(), eqother_averageval(), transmat::give_nodal_rel_hum(), transmat::give_nodal_sat_vol_moist_cont(), transmat::give_nodal_vol_moist_cont(), give_values(), nodet(), nulleqother(), nodeoutt::print_eqother(), outdiagt::print_eqothers(), save_values(), storeeqother(), write_gid_nodscalart(), and ~nodet().
double** flux |
array containing fluxes flux[i][j]=k - the j-th component of the i-th flux is k
Definition at line 90 of file nodet.h.
Referenced by alloc_flux(), flux_averageval(), give_flux(), nodet(), nullflux(), nodeoutt::print_flux(), outdiagt::print_fluxes(), storeflux(), write_gid_nodvectort(), and ~nodet().
double** gradient |
array containing gradients
Definition at line 87 of file nodet.h.
Referenced by alloc_grad(), grad_averageval(), nodet(), nullgrad(), nodeoutt::print_grad(), outdiagt::print_gradients(), storegrad(), write_gid_nodvectort(), and ~nodet().
long idcs |
number of appropriate cross section type
Definition at line 71 of file nodet.h.
Referenced by transcrsec::give_arean(), transcrsec::give_densityn(), transcrsec::give_thickn(), nodet(), print(), and read().
long ncompeqother |
number of components of eq_other array
Definition at line 66 of file nodet.h.
Referenced by alloc_eqother(), eqother_averageval(), nodet(), nulleqother(), nodeoutt::print_eqother(), outdiagt::print_eqothers(), nodeoutgt::print_graphics(), and write_gid_nodscalart().
long ncompgrad |
number of components of gradients array
Definition at line 62 of file nodet.h.
Referenced by alloc_flux(), alloc_grad(), elemvalues_puc(), flux_averageval(), grad_averageval(), nodet(), nullflux(), nullgrad(), paral_transport_homogenization(), nodeoutt::print_flux(), outdiagt::print_fluxes(), nodeoutt::print_grad(), outdiagt::print_gradients(), storeflux(), storegrad(), transport_homogenization(), and write_gid_nodvectort().
long ncompother |
number of components of other array
Definition at line 64 of file nodet.h.
Referenced by alloc_other(), trlineart::intpointother(), trlinaxisym::intpointother(), quadquadrilattax::intpointother(), quadquadrilatt::intpointother(), quadlineart::intpointother(), quadlinaxisym::intpointother(), quadhext::intpointother(), quadbartax::intpointother(), quadbart::intpointother(), lintett::intpointother(), linhext::intpointother(), linbartax::intpointother(), linbart::intpointother(), nodalotherval(), nodet(), nullother(), other_averageval(), nodeoutgt::print_graphics(), nodeoutt::print_other(), outdiagt::print_others(), and write_gid_nodscalart().
long* ncontr_eqother |
number of contributions to the eqother array
Definition at line 83 of file nodet.h.
Referenced by alloc_eqother(), eqother_averageval(), nodet(), nulleqother(), storeeqother(), and ~nodet().
long* ncontr_flux |
array of contributions to the flux array
Definition at line 77 of file nodet.h.
Referenced by alloc_flux(), flux_averageval(), nodet(), nullflux(), storeflux(), and ~nodet().
long* ncontr_grad |
array of contributions to the gradient array
Definition at line 74 of file nodet.h.
Referenced by alloc_grad(), grad_averageval(), nodet(), nullgrad(), storegrad(), and ~nodet().
long* ncontr_other |
number of contributions to the other array
Definition at line 80 of file nodet.h.
Referenced by alloc_other(), nodet(), nullother(), other_averageval(), storeother(), and ~nodet().
long ndofn |
number of DOFs on node
Definition at line 60 of file nodet.h.
Referenced by actual_previous_change(), alloc_nodval(), alloc_nodvali(), alloc_nodvalp(), alloc_nodvalt(), give_flux(), give_values(), nodet(), nullnodval(), nullnodvali(), nullnodvalp(), nullnodvalt(), read(), and save_nodval().
double* nodval |
array containing actual nodal values
Definition at line 97 of file nodet.h.
Referenced by actual_previous_change(), alloc_nodval(), give_values(), transtop::lhs_restore(), transtop::lhs_save(), nodet(), nullnodval(), save_nodval(), and ~nodet().
double* nodvali |
array containing initial nodal values
Definition at line 101 of file nodet.h.
Referenced by alloc_nodvali(), transtop::lhs_restore(), transtop::lhs_save(), nodet(), nullnodvali(), and ~nodet().
double* nodvalp |
array containing nodal values from the previous step
Definition at line 99 of file nodet.h.
Referenced by actual_previous_change(), alloc_nodvalp(), give_values(), nodet(), nullnodvalp(), and ~nodet().
double* nodvalt |
array containing time derivative of nodal values
Definition at line 103 of file nodet.h.
Referenced by alloc_nodvalt(), transtop::lhs_restore(), transtop::lhs_save(), nodet(), nullnodvalt(), and ~nodet().
double* other |
array containing other values
Definition at line 92 of file nodet.h.
Referenced by alloc_other(), nodalotherval(), nodet(), nullother(), other_averageval(), nodeoutt::print_other(), outdiagt::print_others(), storeother(), write_gid_nodscalart(), and ~nodet().
long* vol_eqother |
Definition at line 84 of file nodet.h.
Referenced by alloc_eqother(), eqother_averageval(), nodet(), and nulleqother().
long* vol_flux |
Definition at line 78 of file nodet.h.
Referenced by alloc_flux(), flux_averageval(), nodet(), nullflux(), and storeflux().
long* vol_grad |
Definition at line 75 of file nodet.h.
Referenced by alloc_grad(), grad_averageval(), nodet(), nullgrad(), and storegrad().
long* vol_other |
Definition at line 81 of file nodet.h.
Referenced by alloc_other(), eqother_averageval(), nodet(), nullother(), and other_averageval().