nodet Class Reference

#include <nodet.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

nodet ( void   ) 
~nodet ( void   ) 

Member Function Documentation

void actual_previous_change (  ) 

function moves array of actual values to array of previous values

JK, 29.5.2007

Definition at line 695 of file nodet.cpp.

References ndofn, nodval, and nodvalp.

Referenced by actual_previous_nodval().

void alloc_eqother ( long  ncompeqo  ) 

function allocates eq_other arrays on nodes

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
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

Parameters:
lcid - load case id
nv - array containing nodal flux

JK, 15. 2. 2011

Definition at line 712 of file nodet.cpp.

References flux, and ndofn.

Referenced by transtop::compute_resistance_factor().

void give_values ( double *  in,
double *  inp,
double *  ineq 
)

function is used in function transmat.cpp::compute_jump

Parameters:
in - array of input data

JK, 7.1.2008

Definition at line 633 of file nodet.cpp.

References eqother, ndofn, nodval, and nodvalp.

Referenced by transmat::aux_values().

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

Parameters:
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.

References ndofn, and nodval.

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

Parameters:
out - output file

Definition at line 115 of file nodet.cpp.

References crst, and idcs.

Referenced by transtop::print().

void read ( XFILE in,
long  ndof 
)

function reads data stored on nodes

Parameters:
in - input file
ndof - number of DOFs on node

JK, 10.7.2008 - revision

Definition at line 97 of file nodet.cpp.

References crst, idcs, ndofn, and xfscanf().

Referenced by transtop::read().

void save_nodval ( double *  nv  ) 

function is used in function transmat.cpp::compute_jump

function saves nodal values to array nodval

Parameters:
nv - array of nodal values

JK, 8.1.2008

Definition at line 680 of file nodet.cpp.

References ndofn, and nodval.

Referenced by copy_nodval().

void save_values ( double *  out  ) 

function is used in function transmat.cpp::compute_jump

Parameters:
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

Parameters:
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 
)

function stores gradient components

Parameters:
lcid - loadcase id = number of unknown
vol - volume used for contribution
fluxv - array containing part of flux components

19.5.2002 modified by TKr 21/01/2010

Definition at line 468 of file nodet.cpp.

References flux, ncompgrad, and vol_flux.

void storeflux ( long  lcid,
vector fluxv 
)

function stores stress components

Parameters:
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 
)

function stores gradient components

Parameters:
lcid - loadcase id = number of unknown
vol - volume used for contribution
gradv - array containing part of gradient components

19.5.2002 modified by TKr 21/01/2010

Definition at line 426 of file nodet.cpp.

References gradient, ncompgrad, and vol_grad.

void storegrad ( long  lcid,
vector gradv 
)

function stores gradient components

Parameters:
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

Parameters:
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().


Member Data Documentation

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
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
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 ncompgrad
long ncompother

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
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
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().


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

Generated by  doxygen 1.6.2