general3mat Class Reference

#include <general3mat.h>

List of all members.

Public Member Functions

void auxiliarydata (double x1, double x2, double x3)
double c11 (double x1, double x2, double x3)
double c12 (double x1, double x2, double x3)
double c13 (double x1, double x2, double x3)
double c21 (double x1, double x2, double x3)
double c22 (double x1, double x2, double x3)
double c23 (double x1, double x2, double x3)
double c31 (double x1, double x2, double x3)
double c32 (double x1, double x2, double x3)
double c33 (double x1, double x2, double x3)
 general3mat (void)
double get_othervalue (long compother, long ipp, double x1, double x2, double x3)
double get_transmission_flux_11 (double bv, double x1, double x2, double x3, long bc, long ipp)
double get_transmission_nodval_11 (double bv, double x1, double x2, double x3, long bc, long ipp)
double get_transmission_transcoeff_11 (double x1, double x2, double x3, long bc, long ipp)
double k11 (double x1, double x2, double x3)
double k12 (double x1, double x2, double x3)
double k13 (double x1, double x2, double x3)
double k21 (double x1, double x2, double x3)
double k22 (double x1, double x2, double x3)
double k23 (double x1, double x2, double x3)
double k31 (double x1, double x2, double x3)
double k32 (double x1, double x2, double x3)
double k33 (double x1, double x2, double x3)
void matcap (double &c, 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_othervalue_name (FILE *out, long compother)
void read (FILE *in)
double transmission_flux (double nodval, long ri, long ci, long nn, long bc, long ipp)
double transmission_nodval (double nodval, long ri, long ci, long nn, long bc, long ipp)
double transmission_transcoeff (double trc, long ri, long ci, long nn, long bc, long ipp)
 ~general3mat (void)

Detailed Description

Definition at line 7 of file general3mat.h.


Constructor & Destructor Documentation

general3mat ( void   ) 

Definition at line 10 of file general3mat.cpp.

~general3mat ( void   ) 

Definition at line 13 of file general3mat.cpp.


Member Function Documentation

void auxiliarydata ( double  x1,
double  x2,
double  x3 
)

Definition at line 408 of file general3mat.cpp.

double c11 ( double  x1,
double  x2,
double  x3 
)

Definition at line 325 of file general3mat.cpp.

Referenced by matcap().

double c12 ( double  x1,
double  x2,
double  x3 
)

Definition at line 334 of file general3mat.cpp.

Referenced by matcap().

double c13 ( double  x1,
double  x2,
double  x3 
)

Definition at line 343 of file general3mat.cpp.

Referenced by matcap().

double c21 ( double  x1,
double  x2,
double  x3 
)

Definition at line 352 of file general3mat.cpp.

Referenced by matcap().

double c22 ( double  x1,
double  x2,
double  x3 
)

Definition at line 361 of file general3mat.cpp.

Referenced by matcap().

double c23 ( double  x1,
double  x2,
double  x3 
)

Definition at line 370 of file general3mat.cpp.

Referenced by matcap().

double c31 ( double  x1,
double  x2,
double  x3 
)

Definition at line 379 of file general3mat.cpp.

Referenced by matcap().

double c32 ( double  x1,
double  x2,
double  x3 
)

Definition at line 388 of file general3mat.cpp.

Referenced by matcap().

double c33 ( double  x1,
double  x2,
double  x3 
)

Definition at line 397 of file general3mat.cpp.

Referenced by matcap().

double get_othervalue ( long  compother,
long  ipp,
double  x1,
double  x2,
double  x3 
)

function computes all variables in nodes

Parameters:
compother - number of other components
ipp - first integration point on element
x1 ... x3 - actual unknowns on the boundary

Definition at line 668 of file general3mat.cpp.

References other.

double get_transmission_flux_11 ( double  bv,
double  x1,
double  x2,
double  x3,
long  bc,
long  ipp 
)

function creates flux on the boundary (transmission - convective mass transfer) for 1st medium

Parameters:
new_nodval - flux on the boundary
bv - prescribed value near the boundary
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 643 of file general3mat.cpp.

References flux.

Referenced by transmission_flux().

double get_transmission_nodval_11 ( double  bv,
double  x1,
double  x2,
double  x3,
long  bc,
long  ipp 
)

function creates correct new nodal value on the boundary (transmission) for 1st medium

Parameters:
new_nodval - new prescribed value near the boundary
bv - value of prescribed value near the boundary
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 590 of file general3mat.cpp.

References nodval().

Referenced by transmission_nodval().

double get_transmission_transcoeff_11 ( double  x1,
double  x2,
double  x3,
long  bc,
long  ipp 
)

function creates correct transfer coefficient on the boundary (transmission) for 1st medium

Parameters:
f11 - correct transfer coefficient
x1 ... x3 - actual unknowns on the boundary
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 616 of file general3mat.cpp.

Referenced by transmission_transcoeff().

double k11 ( double  x1,
double  x2,
double  x3 
)

Definition at line 244 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k12 ( double  x1,
double  x2,
double  x3 
)

Definition at line 253 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k13 ( double  x1,
double  x2,
double  x3 
)

Definition at line 262 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k21 ( double  x1,
double  x2,
double  x3 
)

Definition at line 271 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k22 ( double  x1,
double  x2,
double  x3 
)

Definition at line 280 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k23 ( double  x1,
double  x2,
double  x3 
)

Definition at line 289 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k31 ( double  x1,
double  x2,
double  x3 
)

Definition at line 298 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k32 ( double  x1,
double  x2,
double  x3 
)

Definition at line 307 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

double k33 ( double  x1,
double  x2,
double  x3 
)

Definition at line 316 of file general3mat.cpp.

Referenced by matcond1d(), matcond2d(), and matcond3d().

void matcap ( double &  c,
long  ri,
long  ci,
long  ipp 
)

function creates capacity matrix of the material

Parameters:
c - capacity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

Definition at line 196 of file general3mat.cpp.

References intpointst::av, c11(), c12(), c13(), c21(), c22(), c23(), c31(), c32(), c33(), transmat::ip, and Tm.

void matcond ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function computes conductivity matrix of the material in the required integration point

Parameters:
d - conductivity matrix of material
ri - row index
ci - column index
ipp - number of integration point

Definition at line 27 of file general3mat.cpp.

References matcond1d(), matcond2d(), matcond3d(), and matrix::n.

void matcond1d ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 1D problems

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

Definition at line 61 of file general3mat.cpp.

References intpointst::av, transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), and Tm.

Referenced by matcond().

void matcond2d ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 2D problems

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

Definition at line 103 of file general3mat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), and Tm.

Referenced by matcond().

void matcond3d ( matrix d,
long  ri,
long  ci,
long  ipp 
)

function creates conductivity matrix of the material for 3D problems

Parameters:
d - conductivity matrix of the material
ri - row index
ci - column index
ipp - number of integration point

Definition at line 149 of file general3mat.cpp.

References intpointst::av, fillm(), transmat::ip, k11(), k12(), k13(), k21(), k22(), k23(), k31(), k32(), k33(), and Tm.

Referenced by matcond().

void print_othervalue_name ( FILE *  out,
long  compother 
)

function prints names of all variables in nodes

Parameters:
out - output file
compother - number of other components

Definition at line 689 of file general3mat.cpp.

void read ( FILE *  in  ) 

function reads data and material parameters

Parameters:
in - input file

Definition at line 234 of file general3mat.cpp.

double transmission_flux ( double  nodval,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes flux (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
nodval - prescribed nodal value
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 538 of file general3mat.cpp.

References flux, get_transmission_flux_11(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

double transmission_nodval ( double  nodval,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

function computes new nodal value (for transmission_vector) for boundary condition (third kind of boundary condition)

Parameters:
nodval - prescribed nodal value
ri - row index
ci - column index
nn - number of node
bc - type of boundary condition
ipp - number of first integration point on element

Definition at line 483 of file general3mat.cpp.

References get_transmission_nodval_11(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.

double transmission_transcoeff ( double  trc,
long  ri,
long  ci,
long  nn,
long  bc,
long  ipp 
)

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

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

Definition at line 427 of file general3mat.cpp.

References get_transmission_transcoeff_11(), pvalt::getval(), gtopology::give_dof(), Gtt, transbclc::lc, lhsrhst::lhs, lhsrhst::lhsi, Lsrst, loadcaset::pv, and Tb.


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

Generated by  doxygen 1.6.2