#include <isotrmat.h>
Public Member Functions | |
void | changeparam (atsel &atm, vector &val) |
double | get_c () |
double | get_k () |
void | give_dof_names (namevart *dofname, long ntm) |
void | give_reqntq (long *antq) |
isotrmat (void) | |
void | matcap (double &cc, long ri, long ci, long ipp) |
void | matcond (matrix &d, long ri, long ci, long ipp) |
void | matcond1d (matrix &d, long ri, long ci, long ipp) |
void | matcond2d (matrix &d, long ri, long ci, long ipp) |
void | matcond3d (matrix &d, long ri, long ci, long ipp) |
void | print (FILE *out) |
void | read (XFILE *in) |
~isotrmat (void) | |
Public Attributes | |
double | c |
double | k |
Definition at line 12 of file isotrmat.h.
isotrmat | ( | void | ) |
Definition at line 10 of file isotrmat.cpp.
~isotrmat | ( | void | ) |
Definition at line 20 of file isotrmat.cpp.
function changes parameters of conductivity and capacity from a table @ param
Definition at line 208 of file isotrmat.cpp.
References atsel::atrib, c, k, atsel::num, and print_err().
Referenced by stochdrivert::changematerials().
double get_c | ( | ) |
function creates specific heat of the isotropic material
c | - specific heat of the isotropic material |
Definition at line 174 of file isotrmat.cpp.
References c.
Referenced by matcap().
double get_k | ( | ) |
function creates conductivity coefficient of the isotropic material
k | - heat conductivity matrix of the isotropic material |
Definition at line 164 of file isotrmat.cpp.
References k.
Referenced by matcond1d(), matcond2d(), and matcond3d().
void give_dof_names | ( | namevart * | dofname, | |
long | ntm | |||
) |
The function returns ordered dof names of primary unknowns required by the model.
dofname | - array of uknown name 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 |
Created by Tomas Koudelka, 6.12.2013
Definition at line 191 of file isotrmat.cpp.
References print_err(), and trf_temperature.
Referenced by transmat::give_dof_names().
void give_reqntq | ( | long * | antq | ) |
The funtion marks required non-transport quantities in the array antq.
antq | - array with flags for used material types antq[i] = 1 => quantity type nontransquant(i+1) is required antq[i] = 0 => quantity type nontransquant(i+1) is not required |
25. 4. 2014, by TKo
Definition at line 242 of file isotrmat.cpp.
Referenced by transmat::give_reqntq().
void matcap | ( | double & | cc, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates capacity matrix of the material
c | - capacity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 129 of file isotrmat.cpp.
References get_c().
Referenced by med2::matcap(), and med1::matcap().
void matcond | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function computes conductivity matrix of the material in the required integration point
d | - conductivity matrix of material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 36 of file isotrmat.cpp.
References matcond1d(), matcond2d(), matcond3d(), matrix::n, and print_err().
Referenced by med2::matcond(), and med1::matcond().
void matcond1d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 1D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 69 of file isotrmat.cpp.
References get_k().
Referenced by matcond().
void matcond2d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 2D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 86 of file isotrmat.cpp.
References fillm(), and get_k().
Referenced by matcond().
void matcond3d | ( | matrix & | d, | |
long | ri, | |||
long | ci, | |||
long | ipp | |||
) |
function creates conductivity matrix of the material for 3D problems
d | - conductivity matrix of the material | |
ri | - row index | |
ci | - column index | |
ipp | - number of integration point |
Definition at line 107 of file isotrmat.cpp.
References fillm(), and get_k().
Referenced by matcond().
void print | ( | FILE * | out | ) |
function prints parameters
out | - outut file |
Definition at line 153 of file isotrmat.cpp.
Referenced by transmat::printmatchar().
void read | ( | XFILE * | in | ) |
function reads parameters
in | - input file |
Definition at line 142 of file isotrmat.cpp.
References c, k, and xfscanf().
Referenced by transmat::readmattype().
double c |
Definition at line 36 of file isotrmat.h.
Referenced by changeparam(), get_c(), isotrmat(), print(), and read().
double k |
Definition at line 34 of file isotrmat.h.
Referenced by changeparam(), get_k(), isotrmat(), print(), and read().