#include <carbmat1.h>
Public Member Functions | |
carbmat1 () | |
double | Equivalent_diffusion (double A) |
double | get_conductivity (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 | read (XFILE *in) |
~carbmat1 () | |
Public Attributes | |
int | global_variable |
Private Attributes | |
double | param |
Definition at line 6 of file carbmat1.h.
carbmat1 | ( | ) |
Definition at line 13 of file carbmat1.cpp.
References global_variable.
~carbmat1 | ( | ) |
Definition at line 17 of file carbmat1.cpp.
double Equivalent_diffusion | ( | double | A | ) |
function computes effective CO2 diffusion of cracked material
A | - area of cone |
Definition at line 147 of file carbmat1.cpp.
References global_variable.
double get_conductivity | ( | void | ) |
Definition at line 158 of file carbmat1.cpp.
References param.
Referenced by matcond1d(), matcond2d(), and matcond3d().
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 127 of file carbmat1.cpp.
Referenced by 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 32 of file carbmat1.cpp.
References matcond1d(), matcond2d(), matcond3d(), matrix::n, and print_err().
Referenced by 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 65 of file carbmat1.cpp.
References fillm(), and get_conductivity().
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 84 of file carbmat1.cpp.
References fillm(), and get_conductivity().
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 105 of file carbmat1.cpp.
References fillm(), and get_conductivity().
Referenced by matcond().
void read | ( | XFILE * | in | ) |
function reads parameters from input file
in | - input file |
Definition at line 137 of file carbmat1.cpp.
References param, and xfscanf().
Referenced by transmat::readmattype().
int global_variable |
Definition at line 23 of file carbmat1.h.
Referenced by carbmat1(), and Equivalent_diffusion().
double param [private] |
Definition at line 26 of file carbmat1.h.
Referenced by get_conductivity(), and read().