transmat Class Reference

#include <transmat.h>

List of all members.

Public Member Functions

void alloc_nontransq (long n)
 allocation of array of non-transport quantities
void assemble_dof_nameord (namevart *dofname, long ntm, long *var_dofid, long tnkv)
 assembles array with dof names and establishes the dof order
void aux_values (long lcid)
double capcoeff (long ipp, long ri, long ci)
void computenlfluxes (long lcid, long ipp)
long cycle_detection (double *r, double *pr, double *ppr, long ipp)
void flux_contributions (long ipp)
void fluxcomparing (long ipp)
void give_dof_names (long ipp, namevart *dofname, long ntm)
 returns dof names used in the material of given integration point
void give_eqothervalue_name (FILE *out, long ipp, long compeqother)
double give_extinction_coeff (mattypet mt, long matid)
double give_inittemperature (long ipp)
 function returns the initial temperature in integration point
double give_nodal_rel_hum (long nid, long mattype)
 function returns relative humidity for individual material models
double give_nodal_sat_vol_moist_cont (long nid, long mattype)
 returns saturated volumetric moisture content stored in nodes
double give_nodal_vol_moist_cont (long nid, long mattype)
 returns volumetric moisture content stored in nodes
void give_othervalue_name (FILE *out, long ipp, long compother)
double give_pore_pressure (long ipp)
 returns pore pressure
double give_rel_hum (long ipp)
 function returns the relative humidity in integration point
void give_reqntq (long ipp, long *antq)
 marks required types of non-transport quantities by the given material model in the given int. point
double give_saturation_degree (long ipp)
 returns saturation degree
double give_suction (long ipp)
 returns suction
double give_temperature (long ipp)
 function returns the temperature in integration point
double give_vol_moist_cont (long ipp)
 returns volumetric moisture content
double give_water_pressure (long ipp)
 returns water pressure
double givecompother (long compother, long ipp, double *r)
void giveeqother (long ipp, long ncompeq, double *compeq)
void givefluxes (long lcid, long ipp, vector &fl)
void givegrad (long lcid, long ipp, vector &gr)
long givencompeqother (long ipp, long im)
long givencompother ()
double givenontransq (nontransquant qt, long ipp)
 returns given non-transport quantity from nontransq array on given integration point
long givenontransqid (nontransquant qt)
 returns status of non-transport quantity (stored in nontransq 1, otherwise 0)
void giveother (long ipp, long ncomp, double *comp)
long givestatusntq (nontransquant qt)
 returns status of non-transport quantity (stored in nontransq 1, otherwise 0)
double givetransq (nonmechquant qt, long ipp)
 returns required transport quantity for passed to MEFEL
void initmaterialmodels (void)
 initailizes material models for all int. points before begining of main computation procedure
void initvalues (long ipp, long im, long ido)
 initailizes material models for the given int. point
long intpnum (void)
 determines number of integration points and sets integration point pointers on elements
void intpointalloc ()
 allocation of array of integration points
void intpointinit ()
 zero stage of int. point intialization - copying material ids from elements to int. points
void mat_aux_values (long ipp)
void matcond (matrix &d, long ipp, long ri, long ci)
void matcond2 (matrix &d, long ipp, long ri, long ci)
void print (FILE *out)
 printing of materials
void printmatchar (FILE *out, mattypet mt, long numinst)
 printing of individual materials and their parameters
void read (XFILE *in)
 reading of materials and their parameters
void readip (FILE *in)
 obsolate function for reading material properties on individual integration points
void readmatchar (XFILE *in)
 reading of materials and their parameters
void readmattype (XFILE *in, mattypet mtype, long numt)
 reading of material parameters for the given material type
void restore_intpointst_bin (sel &selelems, sel *selother, long **selid)
void restore_intpointst_bin (FILE *aux, sel &selelems, sel *selother, long **selid)
void restore_intpointst_txt (sel &selelems, sel *selother, long **selid)
void restore_intpointst_txt (FILE *aux, sel &selelems, sel *selother, long **selid)
void save_intpointst_bin (long ni, sel &selelems, sel *selother)
void save_intpointst_bin (FILE *aux, sel &selelems, sel *selother)
void save_intpointst_txt (long ni, sel &selelems, sel *selother)
void save_intpointst_txt (FILE *aux, sel &selelems, sel *selother)
long search_reqntq (nontransquant *&rntq)
 searches for the number and types of required non-transport quantities at all material models
void storeeqother (long ipp, long ncompeq, double *compeq)
void storeflux (long lcid, long ipp, vector &fl)
void storegrad (long lcid, long ipp, vector &gr)
void storenontransq (nontransquant qt, long ipp, double val)
 stores given non-transport quantity from nontransq array on given integration point
void storeother (long ipp, long ncomp, double *comp)
 transmat (void)
void transmission_flux (double &flux, double nodval, double trc2, long ri, long ci, long nn, long bc, long ipp)
void transmission_nodval (double &new_nodval, double nodval, double trc2, long ri, long ci, long nid, long bc, long ipp)
void transmission_transcoeff (double &new_trc, double trc, long ri, long ci, long nn, long bc, long ipp, int flag)
void transmission_transcoeff (double &new_trc, double trc, long ri, long ci, long nn, long bc, long ipp)
void updateipval (void)
void updateipvalmat (long ipp, long im, long ido)
void values_correction (vector &nv, long ipp)
void values_transformation (mattypet mti, long idmi, double *inv, double *iinv, mattypet mto, long idmo, double *outv, double *ioutv, double *jum)
void volume_rhs (matrix &d, long ipp, long ri, long ci, long ncomp)
 ~transmat (void)

Public Attributes

baroghelmatbaroghel
bazpedmatbazped
C30barmatC30baroghel
C30bazmatC30bazant
C60barmatC60baroghel
C60bazmatC60bazant
carbmat1carb1
cemhydmatcemhydr
cernymatcernym
concreteBmatconcrete
con_awf1matconsol_awf1
con_awf2matconsol_awf2
damisotrmatdamitrm
dampermeabilitydamper
discisotrmatditrm
devriesmatdvries
long * elip
aepointst flux
aepointst grad
 strain/stress points
grunewaldmatgrunw
homogmathommat
double * initval
intpointstip
 pointer to integration points
isotrmatitrm
kunmatkun
kunmat2kun2
lincoupmatlcmat
mattypetmattype
 material types
millymatmill
moistheatmatmoisth
nlisotrmatnlitrm
long nmt
 number of material types
long nntq
 number of nontransport quantities
double ** nontransq
long ntqid [tnkntq]
 array of indices in nontransq for particular non-transport quantities
nontransquantntqo
 array with ordering of used non-transport quantities
long * numtype
 numbers of particular material types
o30bazmato30bazant
pedmatped
radiationmatradmat
richardsrichar
saltmat1salt1
saltmat2salt2
saltmat3salt3
saltmat4salt4
discmatsdmat
sejtkrmatsejtkrm
soil1matsoil1
glasgowmattench
long tnip
 total number of all integration points

Static Public Attributes

static const long tnkntq = sizeof(nontransquantstr)/sizeof(*nontransquantstr)
 total number of known(=implemented) non-transport quantities

Detailed Description

Definition at line 50 of file transmat.h.


Constructor & Destructor Documentation

transmat ( void   ) 
~transmat ( void   ) 

Member Function Documentation

void alloc_nontransq ( long  n  ) 

allocation of array of non-transport quantities

The function allocates array of non-transport quantities. Number of rows is given by parameter n and number of columns is equal to the total number of integration points.

Parameters:
n - number of non-transport quantities
Returns:
The function does not return anything.

Created by Tomas Koudelka, 7.10.2013

Definition at line 218 of file transmat.cpp.

References memset(), nntq, nontransq, ntqid, ntqo, print_err(), tnip, and tnkntq.

Referenced by metr_init(), and pmetr_init().

void assemble_dof_nameord ( namevart dofname,
long  ntm,
long *  var_dofid,
long  tnkv 
)

assembles array with dof names and establishes the dof order

The function assembles ordering of nodal uknowns and dof names with respect to material model used.

Parameters:
dofname - array of uknown names for particular nodal dofs (output) dofname[i] = name of i-th nodal unknown (for names see aliast.h - enum namevart)
ntm - number of transported media = number of nodal dof = length of array dofname
var_dofid - array with nodal dof indices for all implemented types of nodal unknowns (output)
tnkv - total number of implemented nodal unknown = length of array var_dofid
Returns:
The function returns dof ordering and dof names in the parameters dofname and var_dofid.

Created by Tomas Koudelka, 6.12.2013

Definition at line 304 of file transmat.cpp.

References give_dof_names(), memset(), print_err(), and tnip.

Referenced by metr_init(), and trfel_init().

void aux_values ( long  lcid  ) 

function computes auxiliary parameters

Parameters:
lcid - load case id

JK

Definition at line 3761 of file transmat.cpp.

References allocv(), saltmat4::aux_values(), saltmat3::aux_values(), moistheatmat::aux_values(), millymat::aux_values(), discmat::aux_values(), grunewaldmat::aux_values(), kunmat2::aux_values(), kunmat::aux_values(), baroghelB, bazantpedersen, C30baroghelB, C60baroghelB, C60bazantB, carb1mat, cementhydrmat, cernyconcrete, concreteB, consolawf1, consolawf2, damisotransmat, destrv(), devries, discontisotrmat, loadelt::eid, transtop::elements, loadcaset::elemload, transtop::give_elemnodes(), transtop::give_nne(), nodet::give_values(), saltmat4::give_values(), moistheatmat::give_values(), millymat::give_values(), discmat::give_values(), grunewaldmat::give_values(), kunmat2::give_values(), kunmat::give_values(), givencompeqother(), glasgow, grunewald, grunw, homomat, intpointst::idm, ip, elementt::ipp, isotransmat, kun, kun2, kunzel, kunzel2, transbclc::lc, lincoupledmat, mill, milly, moisth, moistheat, loadcaset::ncc, loadcaset::neb, nlisotransmat, transtop::nodes, nodes, o30bazantB, pedersen, print_err(), radiationmater, richardsmat, salt1mat, salt2mat, salt3, salt3mat, salt4, salt4mat, nodet::save_values(), saltmat4::save_values(), moistheatmat::save_values(), millymat::save_values(), discmat::save_values(), grunewaldmat::save_values(), kunmat2::save_values(), kunmat::save_values(), sdmat, sejtkr, simplediscmat, soilmat1, Tb, tnip, and Tt.

Referenced by approximation(), and approximation_puc().

double capcoeff ( long  ipp,
long  ri,
long  ci 
)
void computenlfluxes ( long  lcid,
long  ipp 
)
long cycle_detection ( double *  r,
double *  pr,
double *  ppr,
long  ipp 
)

function detects cycles it is intended for freezing cycles in the case of new cycle, function returns 1, otherwise, it returns 0

Parameters:
r - nodal values
pr - nodal values from the previous time step
ipp - integration point id

11.9.2007, JK

Definition at line 4219 of file transmat.cpp.

References saltmat4::cycle_detection(), intpointst::idm, ip, print_err(), salt4, and salt4mat.

Referenced by compute_cycles().

void flux_contributions ( long  ipp  ) 

function computes contributions to fluxes from particular driving forces

for example: in heat and moisture transfer heat flux = k_TT grad T + k_Tw grad w moisture flux = k_wT grad T + k_ww grad w this function computes the fluxes k_TT grad T, k_Tw grad w, k_wT grad T and k_ww grad w it is used for adaptive modification of model if any of the fluxes is significantly smaller than others, it is neglected, the conductivity matrix is also modified in such case

Parameters:
lcid - load case id
ipp - number of integration point

JK, 9.10.2011

Definition at line 802 of file transmat.cpp.

References destrm(), destrv(), transtop::give_ncomp(), givegrad(), med2::matcond(), mxv(), normv(), print_err(), probdesct::tmatt, Tp, Tt, and twomediacoup.

void fluxcomparing ( long  ipp  ) 

function computes and compares contributions to the fluxes array infl defined in integration points is assembled

Parameters:
ipp - integration point pointer

JK, 8.12.2011

Definition at line 3546 of file transmat.cpp.

References givegrad(), intpointst::infl, ip, matcond(), mxv(), intpointst::ncompgrad, normv(), probdesct::ntm, Tp, and probdesct::zero.

void give_dof_names ( long  ipp,
namevart dofname,
long  ntm 
)

returns dof names used in the material of given integration point

The function the order of dof names with respect to material type in the given .

Parameters:
ipp - integration point id
dofname - array of uknown name for particular nodal dofs (output) dofname[i] = name of i-th nodal unknown (fro names see aliast.h - enum namevart)
ntm - number of transported media = number of nodal dof = length of array dofname
Returns:
The function returns ordered dof names in the parameter dofname.

Created by Tomas Koudelka, 6.12.2013

Definition at line 368 of file transmat.cpp.

References consol_awf1, consolawf1, damisotransmat, damitrm, saltmat1::give_dof_names(), richards::give_dof_names(), glasgowmat::give_dof_names(), moistheatmat::give_dof_names(), kunmat::give_dof_names(), homogmat::give_dof_names(), damisotrmat::give_dof_names(), isotrmat::give_dof_names(), con_awf1mat::give_dof_names(), glasgow, hommat, homomat, intpointst::idm, ip, isotransmat, itrm, kun, kunzel, moisth, moistheat, print_err(), richar, richardsmat, salt1, salt1mat, and tench.

Referenced by assemble_dof_nameord().

void give_eqothervalue_name ( FILE *  out,
long  ipp,
long  compeqother 
)

This function prints eqothervalue name.

Parameters:
out - output file
compeqother - component of eqother array
ipp - integration point pointer

TKr, 28.6.2004

Definition at line 2128 of file transmat.cpp.

References give_othervalue_name().

Referenced by elemoutt::print_eqother(), nodeoutt::print_eqother(), and write_gid_nodscalart().

double give_extinction_coeff ( mattypet  mt,
long  matid 
)

function returns the extinction coefficient

Parameters:
mt - type of material
matid - id of the material

JK, 26.7.2011

Definition at line 4884 of file transmat.cpp.

References damisotransmat, isotransmat, kunzel, and print_err().

Referenced by transtop::mod_view_factors().

double give_inittemperature ( long  ipp  ) 

function returns the initial temperature in integration point

double give_nodal_rel_hum ( long  nid,
long  mattype 
)

function returns relative humidity for individual material models

Function returns relative humidity for individual material models.

Parameters:
nid - node id
mattype - type of material
Returns:
The function returns actual value of relative humidity.

JK, 10. 4. 2014

Definition at line 2517 of file transmat.cpp.

References nodet::eqother, transtop::nodes, print_err(), and Tt.

double give_nodal_sat_vol_moist_cont ( long  nid,
long  mattype 
)

returns saturated volumetric moisture content stored in nodes

Function returns saturated volumetric moisture content (m3/m3) for individual material models.

Parameters:
nid - node id
mattype - type of material
Returns:
The function returns actual value of volumetric moisture content.

JK, 10. 4. 2014

Definition at line 2462 of file transmat.cpp.

References nodet::eqother, transtop::nodes, print_err(), and Tt.

Referenced by climatcond2::condit_rain_moisture_flux().

double give_nodal_vol_moist_cont ( long  nid,
long  mattype 
)

returns volumetric moisture content stored in nodes

Function returns volumetric moisture content (m3/m3) for individual material models.

Parameters:
nid - node id
mattype - type of material
Returns:
The function returns actual value of volumetric moisture content.

JK, 10. 4. 2014

Definition at line 2423 of file transmat.cpp.

References nodet::eqother, transtop::nodes, print_err(), and Tt.

Referenced by climatcond2::condit_rain_moisture_flux().

void give_othervalue_name ( FILE *  out,
long  ipp,
long  compother 
)

This function prints othervalue name.

Parameters:
out - output file
compother - component of other array
ipp - integration point pointer

TKr, 28.6.2004

Definition at line 2086 of file transmat.cpp.

References fourmediacoup, onemedium, print_err(), med4::print_othervaluesnames(), med3::print_othervaluesnames(), med2::print_othervaluesnames(), med1::print_othervaluesnames(), threemediacoup, probdesct::tmatt, Tp, and twomediacoup.

Referenced by give_eqothervalue_name(), elemoutt::print_other(), nodeoutt::print_other(), and write_gid_nodscalart().

double give_pore_pressure ( long  ipp  ) 

returns pore pressure

Function returns pore pressure especially for models of soils. It is used for transfer required tranpsort values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of pore pressure.

Created by Tomas Krejci according to Tomas Koudelka 14/10/2013

Definition at line 2281 of file transmat.cpp.

References consol_awf1, consolawf1, consolawf2, saltmat4::give_pore_pressure(), con_awf1mat::give_water_pressure(), intpointst::idm, ip, print_err(), salt4, salt4mat, intpointst::tm, and Tm.

Referenced by givetransq().

double give_rel_hum ( long  ipp  ) 

function returns the relative humidity in integration point

void give_reqntq ( long  ipp,
long *  antq 
)

marks required types of non-transport quantities by the given material model in the given int. point

The function marks required types of non-transport quantities by im-th material model in the given int. point ipp. Type of required quantities are marked by 1 in the array anmq whose length is equaled to the total number of known non-transport quantities.

Parameters:
ipp - integration point id
antq - array with flags for used material types antq[i] = 1 => qunatity type nontransquant(i+1) is required antq[i] = 0 => qunatity type nontransquant(i+1) is not required
Returns:
The function does not return anything, but it may change content of anmq array.

Created by Tomas Krejci, 14/10/2013 according to Tomas Koudelka

Definition at line 2650 of file transmat.cpp.

References baroghelB, bazantpedersen, C30baroghel, C30baroghelB, C60baroghel, C60baroghelB, C60bazantB, carb1mat, cementhydrmat, cernyconcrete, concrete, concreteB, consol_awf1, consolawf1, consolawf2, damisotransmat, damitrm, devries, discontisotrmat, con_awf1mat::give_reqntq(), saltmat4::give_reqntq(), o30bazmat::give_reqntq(), C30barmat::give_reqntq(), C60barmat::give_reqntq(), concreteBmat::give_reqntq(), moistheatmat::give_reqntq(), kunmat::give_reqntq(), damisotrmat::give_reqntq(), isotrmat::give_reqntq(), glasgow, grunewald, homomat, intpointst::idm, ip, isotransmat, itrm, kun, kunzel, kunzel2, lincoupledmat, milly, moisth, moistheat, nlisotransmat, o30bazant, o30bazantB, pedersen, print_err(), radiationmater, richardsmat, salt1mat, salt2mat, salt3mat, salt4, salt4mat, sejtkr, simplediscmat, and soilmat1.

Referenced by mefel_trfel_by_nodes(), mefel_trfel_copyip(), and search_reqntq().

double give_saturation_degree ( long  ipp  ) 

returns saturation degree

Function returns saturation degree especially for models of soils. It is used for transfer required tranpsort values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of saturation degree

Created by Tomas Krejci according to Tomas Koudelka 16/12/2013

Definition at line 2354 of file transmat.cpp.

References consol_awf1, consolawf1, consolawf2, con_awf1mat::give_saturation_degree(), intpointst::idm, ip, print_err(), intpointst::tm, and Tm.

Referenced by givetransq().

double give_suction ( long  ipp  ) 

returns suction

Function returns suction especially for models of soils. It is used for transfer required tranpsort values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of suction.

Created by Tomas Krejci according to Tomas Koudelka 16/12/2013

Definition at line 2320 of file transmat.cpp.

References consol_awf1, consolawf1, consolawf2, con_awf1mat::give_suction(), intpointst::idm, ip, print_err(), intpointst::tm, and Tm.

Referenced by givetransq().

double give_temperature ( long  ipp  ) 

function returns the temperature in integration point

function returns temperature in integration point

Parameters:
ipp - integration point id

JK, 24. 10. 2013

Definition at line 2142 of file transmat.cpp.

References saltmat4::give_temperature(), kunmat::give_temperature(), intpointst::idm, ip, kun, kunzel, print_err(), salt4, and salt4mat.

double give_vol_moist_cont ( long  ipp  ) 

returns volumetric moisture content

Function returns volumetric mositure content for individual material models. It is used for transfer required tranpsort values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of volumetric mositure content

Created by Tomas Koudelka 4/02/2014

Definition at line 2388 of file transmat.cpp.

References moistheatmat::give_vol_moist(), kunmat::give_vol_moist(), h(), intpointst::idm, ip, kun, kunzel, moisth, moistheat, print_err(), intpointst::tm, and Tm.

Referenced by givetransq().

double give_water_pressure ( long  ipp  ) 

returns water pressure

Function returns water pressure especially for models of soils. It is used for transfer required tranpsort values between MEFEL and TRFEL.

Parameters:
ipp - integration point number in the mechmat ip array.
Returns:
The function returns actual value of water pressure.

Created by Tomas Krejci according to Tomas Koudelka 14/10/2013

Definition at line 2247 of file transmat.cpp.

References consol_awf1, consolawf1, consolawf2, con_awf1mat::give_water_pressure(), intpointst::idm, ip, print_err(), intpointst::tm, and Tm.

Referenced by givetransq().

double givecompother ( long  compother,
long  ipp,
double *  r 
)
void giveeqother ( long  ipp,
long  ncompeq,
double *  compeq 
)

function restores array eq_other to vector comp (function selects all components of array eqcomp from the array eqother, first index in array eqother is fi)

Parameters:
ipp - integration point pointer
ncomp - number of components
compeq - vector containing components

5.11.2002

Definition at line 1876 of file transmat.cpp.

References intpointst::eqother, and ip.

Referenced by quadlineart::nod_eqother_ip().

void givefluxes ( long  lcid,
long  ipp,
vector fl 
)
void givegrad ( long  lcid,
long  ipp,
vector gr 
)

function returns components of gradients

Parameters:
lcid - load case id = number of unknown
ipp - number of integration point
gr - array containing components of flux

22.12.2002

Definition at line 956 of file transmat.cpp.

References intpointst::grad, ip, and vector::n.

Referenced by trlineart::compute_error(), quadlineart::compute_error(), flux_contributions(), fluxcomparing(), trlineart::higher_to_lower_level(), quadlineart::higher_to_lower_level(), lintett::higher_to_lower_level(), linhext::higher_to_lower_level(), linhext::intpointflux(), quadquadrilatt::nod_grads_ip(), quadlineart::nod_grads_ip(), linbart::nod_grads_ip(), and adaptivityt::spr().

long givencompeqother ( long  ipp,
long  im 
)

This function returns the number of components of ipp's eqother array. Material type is given by the im parameter, which means index of material in the integration point ipp tm(idm) arrays.

Parameters:
ipp - integration point id
im - index of material

TKr, 12.12.2006

Definition at line 1943 of file transmat.cpp.

References baroghelB, bazantpedersen, C30baroghelB, C60baroghelB, C60bazantB, carb1mat, cementhydrmat, cernyconcrete, concreteB, consolawf1, consolawf2, damisotransmat, devries, discontisotrmat, glasgow, grunewald, homomat, intpointst::idm, ip, isotransmat, kunzel, kunzel2, lincoupledmat, milly, moistheat, nlisotransmat, o30bazantB, pedersen, print_err(), radiationmater, richardsmat, salt1mat, salt2mat, salt3mat, salt4mat, sejtkr, simplediscmat, and soilmat1.

Referenced by intpointst::alloc(), transtop::alloc_nodes(), aux_values(), mat_aux_values(), and quadlineart::nod_eqother_ip().

long givencompother (  ) 
double givenontransq ( nontransquant  qt,
long  ipp 
)

returns given non-transport quantity from nontransq array on given integration point

The function returns required non-transport quantity stored in the nontransq array. It is used either in case of prescribed temperature changes in the input file or in case of coupled problems for retrieving of values passed between MEFEL and TRFEL.

Parameters:
qt - type of required quantity
ipp - integration point id
Returns:
The function returns required non-transport quantity.

Created by Tomas Koudelka, 7.10.2013

Definition at line 2741 of file transmat.cpp.

References nontransq, nontransquantstr, ntqid, and print_err().

Referenced by state_eq::get_kintr(), con_awf1mat::get_kww(), and dampermeability::matcond().

long givenontransqid ( nontransquant  qt  ) 

returns status of non-transport quantity (stored in nontransq 1, otherwise 0)

The function returns index of required non-transport quantity, i.e the firs index of nontransq array.

Parameters:
qt - type of required quantity
Return values:
-1 - the quantity is not defined in the problem solved
>-1 - index of required the quantity

Created by Tomas Koudelka, 7.10.2013

Definition at line 2814 of file transmat.cpp.

References ntqid.

void giveother ( long  ipp,
long  ncomp,
double *  comp 
)

function restores array other to vector comp (function selects all components of array comp from the array other, first index in array other is fi)

Parameters:
ipp - integration point pointer
ncomp - number of components
comp - vector containing components

5.11.2002

Definition at line 1855 of file transmat.cpp.

References ip, and intpointst::other.

long givestatusntq ( nontransquant  qt  ) 

returns status of non-transport quantity (stored in nontransq 1, otherwise 0)

The function returns status of required non-transport quantity, i.e whether the given quantity is defined in the problem or not.

Parameters:
qt - type of required quantity
Return values:
0 - the quantity is not defined in the problem solved
1 - the quantity is defined in the problem solved

Created by Tomas Koudelka, 7.10.2013

Definition at line 2793 of file transmat.cpp.

References ntqid.

Referenced by state_eq::get_kintr().

double givetransq ( nonmechquant  qt,
long  ipp 
)

returns required transport quantity for passed to MEFEL

Function returns required transport quantity stored at integration point for MEFEL.

Parameters:
qt - type of required quantity
ipp - number of integration point
Returns:
The function returns required vector of quantitiy in the parameter ipv.

Created by Tomas Krejci according to Tomas Koudelka, 14/10/2013

Definition at line 2178 of file transmat.cpp.

References cap_pressure, give_pore_pressure(), give_saturation_degree(), give_suction(), give_vol_moist_cont(), give_water_pressure(), initial_temperature, pore_pressure, print_err(), rel_hum, saturation_degree, suction, temperature, vol_moist_cont, and water_pressure.

Referenced by quadlineart::transq_nodval(), linbart::transq_nodval(), quadlineart::transq_nodval_comp(), linbart::transq_nodval_comp(), and trfel_mefel_copyip().

void initmaterialmodels ( void   ) 

initailizes material models for all int. points before begining of main computation procedure

function updates values at integration points

Definition at line 3648 of file transmat.cpp.

References transtop::elements, transtop::give_tnip(), Gtt, initvalues(), elementt::ipp, gtopology::leso, transtop::ne, 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_coupl_new(), 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_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_oldd(), nonlinear_nonstat_solv_pokus(), nonlinear_nonstat_solv_vform(), nonstat_solver_dform_init(), nonstat_solver_init(), 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_solve_nonlinear_nonstationary_problem_dform(), paral_transport_homogenization(), solve_nonlinear_stationary_problem_pokus(), solve_nonstationary_growing_problem(), solve_nonstationary_growing_problem_nonlin(), solve_nonstationary_growing_vform(), and transport_homogenization().

void initvalues ( long  ipp,
long  im,
long  ido 
)
long intpnum ( void   ) 

determines number of integration points and sets integration point pointers on elements

function returns total number of integration points function computes number of the first integration point on elements

8.7.2001

Definition at line 155 of file transmat.cpp.

References transtop::elements, transtop::give_nip(), elementt::ipp, transtop::ne, probdesct::ntm, Tp, and Tt.

Referenced by read().

void intpointalloc (  ) 

allocation of array of integration points

function allocates integration points

Definition at line 200 of file transmat.cpp.

References ip, and tnip.

Referenced by metr_init(), pmetr_init(), ptrfel_init(), and trfel_init().

void intpointinit (  ) 

zero stage of int. point intialization - copying material ids from elements to int. points

function initializes basic data in integration points

Definition at line 258 of file transmat.cpp.

References transtop::elements, elip, transtop::give_ncomp(), transtop::give_nip(), elementt::idm, intpointst::idm, ip, elementt::ipp, intpointst::ncompgrad, transtop::ne, probdesct::ntm, elementt::tm, intpointst::tm, tnip, Tp, and Tt.

Referenced by metr_init(), pmetr_init(), ptrfel_init(), and trfel_init().

void mat_aux_values ( long  ipp  ) 
void matcond ( matrix d,
long  ipp,
long  ri,
long  ci 
)
void matcond2 ( matrix d,
long  ipp,
long  ri,
long  ci 
)
void print ( FILE *  out  ) 

printing of materials

function prints integration points, material characteristics

Parameters:
out - output stream

18/12/2012, TKr

Definition at line 539 of file transmat.cpp.

References nmt, numtype, and printmatchar().

void printmatchar ( FILE *  out,
mattypet  mt,
long  numinst 
)
void read ( XFILE in  ) 

reading of materials and their parameters

function reads integration points, material characteristics

Parameters:
in - input stream

21.7.2001

Definition at line 513 of file transmat.cpp.

References intpnum(), Mesprt, readmatchar(), and tnip.

Referenced by metr_init(), pmetr_init(), ptrfel_init(), and trfel_init().

void readip ( FILE *  in  ) 

obsolate function for reading material properties on individual integration points

function reads material types and material id for each integration point

Parameters:
in - input stream

8.7.2001

Definition at line 181 of file transmat.cpp.

References ip, intpointst::read(), and tnip.

void readmatchar ( XFILE in  ) 

reading of materials and their parameters

Function reads material characteristics from file.

Parameters:
in - input file stream
Returns:
The function does not return anything.

Created by JK, 8.7.2001 Modified by TKo, TKr Modified by TKo 26.6.2014 - added keywords and split into readmatchar and readmattype

Definition at line 1017 of file transmat.cpp.

References mattypet_kwdset(), Mesprt, nmt, numtype, print_err(), readmattype(), and xfscanf().

Referenced by read().

void readmattype ( XFILE in,
mattypet  mtype,
long  numt 
)

reading of material parameters for the given material type

Function reads material characteristics from file.

Parameters:
in - input file stream
mtype - material type
numt - the number of individual sets of material parameters
Returns:
The function does not return anything.

Created by TKo according to original version of readmatchar, 26.6.2014

Definition at line 1054 of file transmat.cpp.

References baroghel, baroghelB, bazantpedersen, bazped, C30baroghel, C30baroghelB, C30bazant, C30bazantB, C60baroghel, C60baroghelB, C60bazant, C60bazantB, carb1, carb1mat, cementhydrmat, cemhydr, cernyconcrete, cernym, concrete, concreteB, consol_awf1, consol_awf2, consolawf1, consolawf2, damisotransmat, damitrm, devries, discontisotrmat, ditrm, dvries, glasgow, grunewald, grunw, hommat, homomat, isotransmat, itrm, kun, kun2, kunzel, kunzel2, lcmat, lincoupledmat, Mesprt, mill, milly, moisth, moistheat, nlisotransmat, nlitrm, probdesct::nvs, o30bazant, o30bazantB, ped, pedersen, probdesct::pnvs, print_err(), radiationmater, radmat, lincoupmat::read(), cemhydmat::read(), soil1mat::read(), radiationmat::read(), saltmat4::read(), saltmat3::read(), saltmat2::read(), saltmat1::read(), richards::read(), moistheatmat::read(), carbmat1::read(), glasgowmat::read(), C30bazmat::read(), C60bazmat::read(), o30bazmat::read(), C30barmat::read(), C60barmat::read(), baroghelmat::read(), concreteBmat::read(), millymat::read(), devriesmat::read(), discmat::read(), grunewaldmat::read(), kunmat2::read(), kunmat::read(), pedmat::read(), bazpedmat::read(), cernymat::read(), discisotrmat::read(), con_awf2mat::read(), con_awf1mat::read(), sejtkrmat::read(), damisotrmat::read(), nlisotrmat::read(), isotrmat::read(), richar, richardsmat, salt1, salt1mat, salt2, salt2mat, salt3, salt3mat, salt4, salt4mat, sdmat, sejtkr, sejtkrm, simplediscmat, soil1, soilmat1, tench, Tp, and xfscanf().

Referenced by readmatchar(), and dbmatt::readtm().

void restore_intpointst_bin ( sel selelems,
sel selother,
long **  selid 
)

Function restores data from several binary files into integration points.

Parameters:
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled

JK, 19.9.2004 TKo 9.2008 TKr, 12.2008

Definition at line 4768 of file transmat.cpp.

References elip, intpointst::eqother, FNAMELEN, grad, probdesct::hdbcont, hdbcontr::hdbnamer, sel::id1, ip, probdesct::ntm, sel::presence_id(), print_err(), tnip, and Tp.

void restore_intpointst_bin ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

Function restores data from auxiliary binary file into integration points.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled

JK, 19.9.2004 TKo 9.2008 TKr, 12.2008

Definition at line 4716 of file transmat.cpp.

References elip, ip, probdesct::ntm, sel::presence_id(), print_err(), intpointst::restore_data_bin(), tnip, and Tp.

Referenced by solvert_restore_binary_multiple(), and solvert_restore_binary_single().

void restore_intpointst_txt ( sel selelems,
sel selother,
long **  selid 
)

Function restores data from several text files into integration points.

Parameters:
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled

JK, 19.9.2004 TKo 9.2008 TKr, 12.2008

Definition at line 4591 of file transmat.cpp.

References elip, intpointst::eqother, FNAMELEN, grad, probdesct::hdbcont, hdbcontr::hdbnamer, sel::id1, ip, intpointst::ncompgrad, probdesct::ntm, sel::presence_id(), print_err(), Tm, tnip, and Tp.

void restore_intpointst_txt ( FILE *  aux,
sel selelems,
sel selother,
long **  selid 
)

Function restores data from auxiliary text file into integration points.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be restored
selother - selection of components of saved eqother array which will be resored on selected elements for each range or list item in selelems an individual selection of eqother components is enabled
selid - array of indices of positions in eqother array to which will be restored selected saved eqother components for each range or list item in selother an individual selection of position of eqother components is enabled

JK, 19.9.2004 TKo 9.2008 TKr, 12.2008

Definition at line 4540 of file transmat.cpp.

References elip, ip, sel::n, probdesct::ntm, sel::presence_id(), print_err(), intpointst::restore_data_txt(), tnip, and Tp.

Referenced by solvert_restore_text_multiple(), and solvert_restore_text_single().

void save_intpointst_bin ( long  ni,
sel selelems,
sel selother 
)

Function saves data from integration points into several files in binary format.

Parameters:
ni - time step id
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled

TKo 9.2008 TKr, 12.2008

Definition at line 4439 of file transmat.cpp.

References transtop::elements, FNAMELEN, sel::give_nselcomp(), transtop::give_tnip(), grad, probdesct::hdbcont, hdbcontr::hdbnames, ip, elementt::ipp, sel::n, intpointst::ncompeqother, transtop::ne, probdesct::ntm, sel::presence_id(), print_err(), tnip, Tp, and Tt.

void save_intpointst_bin ( FILE *  aux,
sel selelems,
sel selother 
)

Function saves data from integration points into auxiliary file in binary format.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled

TKo, 9.2008 TKr, 12.2008

Definition at line 4392 of file transmat.cpp.

References transtop::elements, sel::give_nselcomp(), transtop::give_tnip(), ip, elementt::ipp, sel::n, transtop::ne, probdesct::ntm, sel::presence_id(), intpointst::save_data_bin(), Tp, and Tt.

Referenced by solvert_save_binary_multiple(), and solvert_save_binary_single().

void save_intpointst_txt ( long  ni,
sel selelems,
sel selother 
)

Function saves data from integration points into several files in text format.

Parameters:
ni - time step id
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled

JK, 19.9.2004 TKo, 9.2008 TKr, 12.2008

Definition at line 4297 of file transmat.cpp.

References transtop::elements, FNAMELEN, sel::give_nselcomp(), transtop::give_tnip(), grad, probdesct::hdbcont, hdbcontr::hdbnames, ip, elementt::ipp, sel::n, intpointst::ncompeqother, intpointst::ncompgrad, transtop::ne, probdesct::ntm, hdbcontr::prec, sel::presence_id(), print_err(), Tm, tnip, Tp, and Tt.

void save_intpointst_txt ( FILE *  aux,
sel selelems,
sel selother 
)

Function saves data from integration points into auxiliary file in text format.

Parameters:
aux - pointer to auxiliary file
selelems - selection of elements whose eqother array will be saved
selother - selection of components of saved eqother array which will be saved on selected elements for each range or list item in selelems an individual selection of eqother components is enabled

JK, 19.9.2004 TKo, 9.2008 TKr, 12.2008

Definition at line 4252 of file transmat.cpp.

References transtop::elements, sel::give_nselcomp(), transtop::give_tnip(), ip, elementt::ipp, sel::n, intpointst::ncompgrad, transtop::ne, probdesct::ntm, sel::presence_id(), intpointst::save_data_txt(), Tp, and Tt.

Referenced by solvert_save_text_multiple(), and solvert_save_text_single().

long search_reqntq ( nontransquant *&  rntq  ) 

searches for the number and types of required non-transport quantities at all material models

The function searches for the total number and type of non-transport quantities that are required by used material models in the problem. Required non-transport quantities are searched for at all integration points in all used material models. Resulting number of quantities is returned and new array is allocated for the required types of quantities if they are required.

Parameters:
- pointer to array of required types of non-transport quantities which is allocated inside function (output parameter)
Returns:
Function returns the number of required non-transport quantities.

Created by Tomas Krejci, 14/10/2013 according to Tomas Koudelka

Definition at line 2590 of file transmat.cpp.

References give_reqntq(), memset(), nntq, tnip, and tnkntq.

Referenced by metr_init(), and pmetr_init().

void storeeqother ( long  ipp,
long  ncompeq,
double *  compeq 
)

function stores components of array eq_other (function stores all components of array compeq to the array eqother, first position in the array other is fi)

Parameters:
ipp - integration point pointer
ncomp - number of components
compeq - vector containing components

31.1.2007

Definition at line 1834 of file transmat.cpp.

References intpointst::eqother, and ip.

Referenced by quadlineart::transq_nodval_comp(), and linbart::transq_nodval_comp().

void storeflux ( long  lcid,
long  ipp,
vector fl 
)

function stores components of flux to integration points

Parameters:
lcid - load case id
ipp - number of integration point
fl - array containing components of flux

4.12.2002

Definition at line 975 of file transmat.cpp.

References intpointst::fluxes, ip, and vector::n.

Referenced by linhext::intpointflux().

void storegrad ( long  lcid,
long  ipp,
vector gr 
)

function stores components of gradients into integration points

Parameters:
lcid - load case id
ipp - number of integration point
gr - array containing components of gradient

4.12.2002

Definition at line 936 of file transmat.cpp.

References intpointst::grad, ip, and vector::n.

Referenced by trlineart::intpointgrad(), trlinaxisym::intpointgrad(), quadquadrilattax::intpointgrad(), quadquadrilatt::intpointgrad(), quadlineart::intpointgrad(), quadlinaxisym::intpointgrad(), quadhext::intpointgrad(), quadbartax::intpointgrad(), quadbart::intpointgrad(), lintett::intpointgrad(), linhext::intpointgrad(), linbartax::intpointgrad(), and linbart::intpointgrad().

void storenontransq ( nontransquant  qt,
long  ipp,
double  val 
)

stores given non-transport quantity from nontransq array on given integration point

The function stores required non-transport quantity into the nontransq array. It is used either in case of prescribed temperature changes in the input file or in case of coupled problems for retrieving of values passed between MEFEL and TRFEL.

Parameters:
qt - type of required quantity
ipp - integration point id
val - stored value
Returns:
The function stores required non-transport quantity.

Created by Tomas Koudelka, 7.10.2013

Definition at line 2768 of file transmat.cpp.

References nontransq, nontransquantstr, ntqid, and print_err().

Referenced by intpointvalt(), mefel_trfel(), mefel_trfel_by_nodes(), and mefel_trfel_copyip().

void storeother ( long  ipp,
long  ncomp,
double *  comp 
)

function stores components of array other (function stores all components of array comp to the array other, first position in the array other is fi)

Parameters:
ipp - integration point pointer
ncomp - number of components
comp - vector containing components

5.11.2002

Definition at line 1813 of file transmat.cpp.

References ip, and intpointst::other.

Referenced by quadlineart::transq_nodval_comp(), and linbart::transq_nodval_comp().

void transmission_flux ( double &  flux,
double  nodval,
double  trc2,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes flux on the boundary for transmission on the boundary (third kind of boundary condition)

Parameters:
flux - transformed nodal value on the boundary
nodval - prescribed nodal value on boundary
trc2 - second prescribed transmission coefficient on the boundary, if it is needed (for example heat radiation coef.)
ri - row index
ci - column index
nn - node id
bc - type of boundary conditions
ipp - number of first integration point on element

Definition at line 2984 of file transmat.cpp.

References fourmediacoup, onemedium, print_err(), threemediacoup, probdesct::tmatt, Tp, med4::transmission_flux(), med3::transmission_flux(), med2::transmission_flux(), med1::transmission_flux(), and twomediacoup.

Referenced by quadbartax::boundary_flux(), quadbart::boundary_flux(), linbartax::boundary_flux(), linbart::boundary_flux(), trlineart::transf_flux(), trlinaxisym::transf_flux(), quadquadrilattax::transf_flux(), quadquadrilatt::transf_flux(), quadlineart::transf_flux(), quadlinaxisym::transf_flux(), quadhext::transf_flux(), lintett::transf_flux(), and linhext::transf_flux().

void transmission_nodval ( double &  new_nodval,
double  nodval,
double  trc2,
long  ri,
long  ci,
long  nid,
long  bc,
long  ipp 
)

function computes new nodal value for transmission on the boundary (third kind of boundary condition)

Parameters:
new_nodval - transformed nodal value on boundary
nodval - nodal value defined on boundary
trc2 - second prescribed transmission coefficient on the boundary, if it is needed (for example heat radiation coef.)
ri - row index
ci - column index
nid - node id
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 2933 of file transmat.cpp.

References fourmediacoup, onemedium, print_err(), threemediacoup, probdesct::tmatt, Tp, med4::transmission_nodval(), med3::transmission_nodval(), med2::transmission_nodval(), med1::transmission_nodval(), and twomediacoup.

Referenced by trlineart::transf_val(), trlinaxisym::transf_val(), quadquadrilattax::transf_val(), quadquadrilatt::transf_val(), quadlineart::transf_val(), quadlinaxisym::transf_val(), quadhext::transf_val(), lintett::transf_val(), linhext::transf_val(), quadbartax::transmission_vector(), quadbart::transmission_vector(), linbartax::transmission_vector(), and linbart::transmission_vector().

void transmission_transcoeff ( double &  new_trc,
double  trc,
long  ri,
long  ci,
long  nid,
long  bc,
long  ipp,
int  flag 
)

function computes new transmission coefficient for transmission on the boundary (third kind of boundary condition)

Parameters:
new_trc - new transmission coefficient
trc - prescribed transmission coefficient on the boundary
ri - row index
ci - column index
nid - node id
bc - type of boundary condition
ipp - number of first integration point on element
flag - coefficient is computing for what 0=matrix,1=loading vector

Definition at line 2882 of file transmat.cpp.

References fourmediacoup, onemedium, print_err(), threemediacoup, probdesct::tmatt, Tp, med4::transmission_transcoeff(), med3::transmission_transcoeff(), med2::transmission_transcoeff(), med1::transmission_transcoeff(), and twomediacoup.

void transmission_transcoeff ( double &  new_trc,
double  trc,
long  ri,
long  ci,
long  nid,
long  bc,
long  ipp 
)

function computes new transmission coefficient for transmission on the boundary (third kind of boundary condition)

Parameters:
new_trc - new transmission coefficient
trc - prescribed transmission coefficient on the boundary
ri - row index
ci - column index
nid - node id
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 2833 of file transmat.cpp.

References fourmediacoup, onemedium, print_err(), threemediacoup, probdesct::tmatt, Tp, med4::transmission_transcoeff(), med3::transmission_transcoeff(), med2::transmission_transcoeff(), med1::transmission_transcoeff(), and twomediacoup.

Referenced by trlineart::transf_coeff(), trlinaxisym::transf_coeff(), quadquadrilattax::transf_coeff(), quadquadrilatt::transf_coeff(), quadlineart::transf_coeff(), quadlinaxisym::transf_coeff(), quadhext::transf_coeff(), lintett::transf_coeff(), linhext::transf_coeff(), quadbartax::transmission_matrix(), quadbart::transmission_matrix(), linbartax::transmission_matrix(), and linbart::transmission_matrix().

void updateipval ( void   ) 
void updateipvalmat ( long  ipp,
long  im,
long  ido 
)

function updates values at integration points

Parameters:
ipp - integration point pointer
im - index of material type for given ip
ido - index in array eq_other

12.12.2006, TKr

Definition at line 3462 of file transmat.cpp.

References baroghelB, bazantpedersen, C30baroghelB, C60baroghelB, C60bazantB, carb1mat, cementhydrmat, cemhydr, cernyconcrete, concreteB, consol_awf1, consolawf1, consolawf2, damisotransmat, devries, discontisotrmat, glasgow, grunewald, homomat, intpointst::idm, ip, isotransmat, kunzel, kunzel2, lincoupledmat, milly, moistheat, nlisotransmat, o30bazantB, pedersen, print_err(), radiationmater, richardsmat, salt1mat, salt2mat, salt3mat, salt4mat, sejtkr, simplediscmat, soilmat1, cemhydmat::updateval(), and con_awf1mat::updateval().

Referenced by updateipval().

void values_correction ( vector nv,
long  ipp 
)
void values_transformation ( mattypet  mti,
long  idmi,
double *  inv,
double *  iinv,
mattypet  mto,
long  idmo,
double *  outv,
double *  ioutv,
double *  jum 
)

function transforms nodal values with respect to material models function is used in problems with discontinuities

example: let moisture be assumed as nodal value, moisture along material interface contains discontinuity because only relative humidity is continuous, this function transforms moisture obtained for one material model to new value from second material model

Parameters:
nid - node id
mti - type of material model on input
idmi - material id on input
in - input values
mto - type of material model on output
idmo - material id on output
out - recalculated values

7.6.2006, JK function transforms nodal values with respect to material models function is used in problems with discontinuities

example: let moisture be assumed as nodal value, moisture along material interface contains discontinuity because only relative humidity is continuous, this function transforms moisture obtained for one material model to new value from second material model

Parameters:
mti - type of material model on input
idmi - material id on input
inv - input values
iinv - initial input values
mto - type of material model on output
idmo - material id on output
outv - recalculated values
ioutv - initial values on output
jum - jump on material interface

JK, 8.8.2008

Definition at line 3269 of file transmat.cpp.

References discisotrmat::correct_val(), discontisotrmat, ditrm, saltmat3::get_moisture(), grunewaldmat::get_moisture(), discmat::get_moisture2(), saltmat3::get_rel_hum(), grunewaldmat::get_rel_hum(), discmat::get_rel_hum2(), grunewald, grunw, kunzel, milly, moistheat, print_err(), salt3, salt3mat, salt4mat, sdmat, and simplediscmat.

Referenced by endnodet::compute_jump(), edget::compute_jump(), and edget::compute_node_jump().

void volume_rhs ( matrix d,
long  ipp,
long  ri,
long  ci,
long  ncomp 
)

function computes right-hand side matrix of the material - contribution into right-hand side from volume integrals in the required integration point

Parameters:
d - right-hand side matrix of material
ipp - number of integration point
ri,ci - row and column indices
ncomp - number of components

25.9.2001

Definition at line 871 of file transmat.cpp.

References bazantpedersen, consol_awf2, consolawf2, fourmediacoup, grunewald, homomat, intpointst::idm, ip, kunzel, moistheat, onemedium, pedersen, print_err(), med3::rhs_volume(), con_awf2mat::rhs_volume(), med1::rhs_volume(), salt1mat, threemediacoup, intpointst::tm, Tm, probdesct::tmatt, Tp, and twomediacoup.

Referenced by quadlineart::volume_rhs_vector(), quadlinaxisym::volume_rhs_vector(), quadbart::volume_rhs_vector(), linhext::volume_rhs_vector(), and linbart::volume_rhs_vector().


Member Data Documentation

Definition at line 332 of file transmat.h.

Referenced by med1::matcap(), med1::matcond(), readmattype(), transmat(), and ~transmat().

Definition at line 335 of file transmat.h.

Referenced by med1::matcap(), med1::matcond(), printmatchar(), readmattype(), transmat(), and ~transmat().

Definition at line 359 of file transmat.h.

one-phase medium - heat transfer isotropic material with jumps

Definition at line 330 of file transmat.h.

Referenced by med1::matcap(), med1::matcond(), printmatchar(), readmattype(), and values_transformation().

long* elip

integration point - element correspondation elip[number of int point] = number of element

Definition at line 306 of file transmat.h.

Referenced by intpointinit(), dampermeability::matcond(), restore_intpointst_bin(), restore_intpointst_txt(), transmat(), and ~transmat().

Definition at line 384 of file transmat.h.

Referenced by pointoutt::print_flux().

double* initval

array containing initial values of selected unknown at integration points initval[number of integ. point] - initial value at the required integration point

Definition at line 389 of file transmat.h.

Referenced by transmat(), trfel_init(), and ~transmat().

pointer to integration points

Definition at line 303 of file transmat.h.

Referenced by actual_previous_change(), approximation(), aux_values(), saltmat3::aux_values(), trlineart::averc_matrix(), quadlineart::averc_matrix(), lintett::averc_matrix(), linhext::averc_matrix(), saltmat3::binding_izoterm_derivation_values(), saltmat4::c11(), millymat::c11(), grunewaldmat::c11(), discmat::c11(), millymat::c12(), grunewaldmat::c12(), saltmat4::c21(), saltmat3::c21(), millymat::c21(), grunewaldmat::c21(), saltmat4::c22(), saltmat3::c22(), millymat::c22(), grunewaldmat::c22(), saltmat4::c31(), saltmat3::c31(), saltmat4::c32(), saltmat3::c32(), saltmat4::c44(), capcoeff(), moistheatmat::cmm(), kunmat::cmm(), kunmat::cmt(), millymat::coeef_B(), millymat::coeef_C(), millymat::coeef_zaporneA(), millymat::coeff_Dtv(), millymat::coeff_Kv(), med2::compute_othervalues(), med3::compute_othervalues(), med1::compute_othervalues(), med4::compute_othervalues(), computenlfluxes(), climatcond::condit_vapour_diffusion_moisture_flux(), condmat(), cycle_detection(), richards::darcian_flux(), kunmat::DerivaceHustotyEntalpiePodleTeploty(), kunmat2::DerivaceHustotyEntalpiePodleTeploty(), kunmat::derivative_of_retention_curve_root(), moistheatmat::derivative_of_the_enthalpy_density(), kunmat::derivative_of_the_enthalpy_density(), kunmat::DerivativeOfTheRetentionCurve(), fluxcomparing(), millymat::gaseous_moisture_content_by_mass(), gmultiph::gaspress_check(), multiphc::gaspress_check(), state_eq::get_alpha(), state_eq::get_betas(), state_eq::get_cp(), state_eq::get_cps(), state_eq::get_ddbw(), state_eq::get_deff(), state_eq::get_dehydw_dt(), state_eq::get_dg(), state_eq::get_dphi_dt(), state_eq::get_ds_dpc(), state_eq::get_ds_dt(), state_eq::get_fste(), state_eq::get_hydren(), state_eq::get_kintr(), state_eqcl::get_kintr(), state_eq::get_krg(), state_eq::get_krw(), state_eqcl::get_krw(), state_eq::get_ks(), state_eq::get_kt(), state_eq::get_lambdaeff(), kunmat2::get_othervalue(), discmat::get_othervalue(), state_eq::get_phi(), state_eq::get_rho(), state_eq::get_rhocp(), state_eq::get_rhos(), state_eq::get_s(), cemhydmat::get_source(), state_eq::get_ssp(), give_dof_names(), give_nodal_humid(), give_pore_pressure(), moistheatmat::give_press_water_vapor(), saltmat4::give_rel_hum(), moistheatmat::give_rel_hum(), kunmat::give_rel_hum(), give_reqntq(), give_saturation_degree(), con_awf1mat::give_saturation_degree(), give_suction(), con_awf1mat::give_suction(), give_temperature(), saltmat4::give_temperature(), moistheatmat::give_temperature(), kunmat::give_temperature(), saltmat4::give_values(), moistheatmat::give_values(), millymat::give_values(), kunmat2::give_values(), kunmat::give_values(), grunewaldmat::give_values(), discmat::give_values(), moistheatmat::give_vol_moist(), kunmat::give_vol_moist(), give_vol_moist_cont(), give_water_pressure(), con_awf1mat::give_water_pressure(), giveeqother(), givefluxes(), givegrad(), givencompeqother(), giveother(), sourcet::giveval(), trlineart::higher_to_lower_level(), quadlineart::higher_to_lower_level(), lintett::higher_to_lower_level(), linhext::higher_to_lower_level(), saltmat3::hystereze(), initvalues(), saltmat3::initvalues(), millymat::initvalues(), kunmat2::initvalues(), kunmat::initvalues(), grunewaldmat::initvalues(), discmat::initvalues(), cemhydmat::initvalues(), intpointalloc(), intpointinit(), 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(), trlineart::intpointval(), trlinaxisym::intpointval(), quadquadrilattax::intpointval(), quadquadrilatt::intpointval(), quadlineart::intpointval(), quadlinaxisym::intpointval(), quadhext::intpointval(), quadbartax::intpointval(), quadbart::intpointval(), lintett::intpointval(), linhext::intpointval(), linbartax::intpointval(), linbart::intpointval(), trlineart::intpointval_puc(), quadlineart::intpointval_puc(), lintett::intpointval_puc(), linhext::intpointval_puc(), saltmat4::k11(), saltmat3::k11(), millymat::k11(), grunewaldmat::k11(), discmat::k11(), saltmat3::k12(), grunewaldmat::k12(), discmat::k12(), saltmat4::k14(), saltmat4::k21(), saltmat3::k21(), millymat::k21(), grunewaldmat::k21(), discmat::k21(), saltmat4::k22(), saltmat3::k22(), millymat::k22(), grunewaldmat::k22(), saltmat4::k41(), saltmat4::k44(), moistheatmat::khm(), kunmat::khm(), moistheatmat::kht(), kunmat::kht(), moistheatmat::kmm(), kunmat::kmm(), kunmat::kmt(), mat_aux_values(), med2::matcap(), med3::matcap(), sejtkrmat::matcap(), saltmat3::matcap(), saltmat2::matcap(), saltmat1::matcap(), richardscontam::matcap(), richards::matcap(), pedmat::matcap(), med1::matcap(), multiph::matcap(), millymat::matcap(), kunmat2::matcap(), grunewaldmat::matcap(), gmultiph::matcap(), glasgowmat::matcap(), general3mat::matcap(), med4::matcap(), discmat::matcap(), devriesmat::matcap(), con_awf2mat::matcap(), con_awf1mat::matcap(), cernymat::matcap(), bazpedmat::matcap(), med2::matcond(), med3::matcond(), saltmat1::matcond(), med1::matcond(), moistheatmat::matcond(), med4::matcond(), damisotrmat::matcond(), sejtkrmat::matcond1d(), saltmat3::matcond1d(), saltmat2::matcond1d(), saltmat1::matcond1d(), richardscontam::matcond1d(), richards::matcond1d(), pedmat::matcond1d(), nlisotrmat::matcond1d(), multiph::matcond1d(), millymat::matcond1d(), kunmat2::matcond1d(), grunewaldmat::matcond1d(), gmultiph::matcond1d(), glasgowmat::matcond1d(), general3mat::matcond1d(), discmat::matcond1d(), devriesmat::matcond1d(), con_awf2mat::matcond1d(), con_awf1mat::matcond1d(), cernymat::matcond1d(), bazpedmat::matcond1d(), richardscontam::matcond1d_2(), richards::matcond1d_2(), pedmat::matcond1d_2(), multiph::matcond1d_2(), gmultiph::matcond1d_2(), bazpedmat::matcond1d_2(), med2::matcond2(), med3::matcond2(), med1::matcond2(), med4::matcond2(), sejtkrmat::matcond2d(), saltmat3::matcond2d(), saltmat2::matcond2d(), saltmat1::matcond2d(), richardscontam::matcond2d(), richards::matcond2d(), pedmat::matcond2d(), nlisotrmat::matcond2d(), multiph::matcond2d(), millymat::matcond2d(), kunmat2::matcond2d(), grunewaldmat::matcond2d(), gmultiph::matcond2d(), glasgowmat::matcond2d(), general3mat::matcond2d(), discmat::matcond2d(), devriesmat::matcond2d(), con_awf2mat::matcond2d(), con_awf1mat::matcond2d(), cernymat::matcond2d(), bazpedmat::matcond2d(), richardscontam::matcond2d_2(), richards::matcond2d_2(), pedmat::matcond2d_2(), multiph::matcond2d_2(), gmultiph::matcond2d_2(), bazpedmat::matcond2d_2(), sejtkrmat::matcond3d(), saltmat3::matcond3d(), saltmat2::matcond3d(), saltmat1::matcond3d(), richardscontam::matcond3d(), richards::matcond3d(), pedmat::matcond3d(), nlisotrmat::matcond3d(), multiph::matcond3d(), millymat::matcond3d(), kunmat2::matcond3d(), grunewaldmat::matcond3d(), gmultiph::matcond3d(), glasgowmat::matcond3d(), general3mat::matcond3d(), discmat::matcond3d(), devriesmat::matcond3d(), con_awf2mat::matcond3d(), con_awf1mat::matcond3d(), cernymat::matcond3d(), bazpedmat::matcond3d(), richardscontam::matcond3d_2(), richards::matcond3d_2(), pedmat::matcond3d_2(), multiph::matcond3d_2(), gmultiph::matcond3d_2(), bazpedmat::matcond3d_2(), discmat::matcond4d(), pedmat::moisture_check(), bazpedmat::moisture_check(), nonlinear_nonstat_solv_new(), nonlinear_nonstat_solv_oldd(), millymat::partial_water_vapour_pressure_function(), kunmat::PermeabilitaVodniPary(), kunmat2::PermeabilitaVodniPary(), pointoutt::print_eqother(), elemoutt::print_eqother(), outdiagt::print_eqothers(), elemoutt::print_flux(), outdiagt::print_fluxes(), elemoutgt::print_gr_eqoth_scal(), elemoutgt::print_gr_flux_scal(), elemoutgt::print_gr_grad_scal(), elemoutgt::print_gr_oth_scal(), elemoutt::print_grad(), outdiagt::print_gradients(), pointoutt::print_other(), elemoutt::print_other(), outdiagt::print_others(), med2::print_othervaluesnames(), med3::print_othervaluesnames(), med1::print_othervaluesnames(), readip(), kunmat2::relhum_check(), restore_intpointst_bin(), restore_intpointst_txt(), sejtkrmat::rhs1d1(), multiph::rhs1d1(), gmultiph::rhs1d1(), con_awf2mat::rhs1d1(), con_awf1mat::rhs1d1(), sejtkrmatc::rhs1d1(), sejtkrmat::rhs2d1(), multiph::rhs2d1(), gmultiph::rhs2d1(), con_awf2mat::rhs2d1(), con_awf1mat::rhs2d1(), sejtkrmatc::rhs2d1(), sejtkrmat::rhs3d1(), multiph::rhs3d1(), gmultiph::rhs3d1(), con_awf2mat::rhs3d1(), con_awf1mat::rhs3d1(), sejtkrmatc::rhs3d1(), med3::rhs_volume(), med1::rhs_volume(), save_intpointst_bin(), save_intpointst_txt(), saltmat4::save_values(), moistheatmat::save_values(), millymat::save_values(), kunmat2::save_values(), kunmat::save_values(), grunewaldmat::save_values(), discmat::save_values(), storeeqother(), storeflux(), storegrad(), storeother(), richards::taylor_error(), kunmat::tokJ1(), kunmat2::tokJ1(), kunmat::tokJ4(), kunmat2::tokJ4(), linbart::total_integral_ip(), transmat(), med2::transmission_flux(), med3::transmission_flux(), med4::transmission_flux(), med2::transmission_nodval(), med3::transmission_nodval(), med4::transmission_nodval(), med2::transmission_transcoeff(), med3::transmission_transcoeff(), med4::transmission_transcoeff(), quadlineart::transq_nodval_comp(), linbart::transq_nodval_comp(), hexahedc::trfel_metr(), updateipvalmat(), cemhydmat::updateval(), values_correction(), saltmat4::values_correction(), saltmat3::values_correction(), volume_rhs(), sejtkrmat::water_pressure_check(), con_awf2mat::water_pressure_check(), kunmat::water_vapour_permeability(), write_gid_elem_type_scalart(), write_gid_elem_type_vectort(), write_vtk_unkn(), and ~transmat().

material types

Definition at line 297 of file transmat.h.

Referenced by approximation(), and dbmatt::readtm().

long nmt

number of material types

Definition at line 295 of file transmat.h.

Referenced by approximation(), print(), readmatchar(), and dbmatt::readtm().

long nntq

number of nontransport quantities

Definition at line 394 of file transmat.h.

Referenced by alloc_nontransq(), mefel_trfel(), mefel_trfel_by_nodes(), mefel_trfel_copyip(), search_reqntq(), transmat(), and ~transmat().

double** nontransq

array containing nontransport quantities used for coupled problems nontransq[quantity id][integ. point number] - nontransport quantity at the required integration point

Definition at line 392 of file transmat.h.

Referenced by alloc_nontransq(), con_awf1mat::get_kww(), givenontransq(), storenontransq(), transmat(), and ~transmat().

long ntqid[tnkntq]

array of indices in nontransq for particular non-transport quantities

Definition at line 398 of file transmat.h.

Referenced by alloc_nontransq(), givenontransq(), givenontransqid(), givestatusntq(), metr_init(), pmetr_init(), storenontransq(), and transmat().

array with ordering of used non-transport quantities

Definition at line 400 of file transmat.h.

Referenced by alloc_nontransq(), mefel_trfel(), mefel_trfel_copyip(), metr_init(), and pmetr_init().

long* numtype

numbers of particular material types

Definition at line 299 of file transmat.h.

Referenced by approximation(), print(), readmatchar(), dbmatt::readtm(), transmat(), and ~transmat().

Definition at line 371 of file transmat.h.

Referenced by med1::matcap(), med1::matcond(), and readmattype().

long tnip
const long tnkntq = sizeof(nontransquantstr)/sizeof(*nontransquantstr) [static]

total number of known(=implemented) non-transport quantities

Definition at line 396 of file transmat.h.

Referenced by alloc_nontransq(), mefel_trfel_by_nodes(), mefel_trfel_copyip(), search_reqntq(), and transmat().


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

Generated by  doxygen 1.6.2