#include <coupmatu.h>
Public Member Functions | |
void | computenlstresses (matrix &d, long ipp) |
coupmatu (void) | |
void | givefluxes_cmu (long lcid, long ipp, vector &fl) |
void | givegrad_cmu (long lcid, long ipp, vector &gr) |
void | givestrain_cmu (long ipp, long fi, vector &eps) |
void | givestresses_cmu (long ipp, long fi, vector &fl) |
void | initmaterialmodels () |
void | initvalues (long ipp, long im, long ido) |
long | intpnum (void) |
void | intpointalloc () |
void | intpointinit () |
void | ipalloc (void) |
void | matcap (matrix &d, long ipp, long ri, long ci) |
void | matcond (matrix &d, long ipp, long ri, long ci) |
void | matstiff (matrix &d, long ipp) |
void | read (XFILE *in) |
void | readip (XFILE *in) |
void | readmatchar (XFILE *in) |
void | storeflux_cmu (long lcid, long ipp, vector &fl) |
void | storegrad_cmu (long lcid, long ipp, vector &gr) |
void | storestrain_cmu (long ipp, long fi, vector &eps) |
void | storestresses_cmu (long ipp, long fi, vector &gr) |
void | updateipval (void) |
void | updateipvalmat (long ipp, long im, long ido) |
void | volume_rhs1 (matrix &d, long ipp, long ri, long ci) |
void | volume_rhs2 (matrix &d, long ipp, long ri, long ci, long ncomp) |
~coupmatu (void) | |
Public Attributes | |
baroghelmatc * | baroghelc |
C30barmatc * | C30baroghelc |
C60barmatc * | C60baroghelc |
C60bazmatc * | C60bazantc |
concreteBmatc * | concretec |
con_awf1matc * | consol_awf1c |
con_awf2matc * | consol_awf2c |
glasgowcoup * | gcm |
intpointsc * | ip |
isotrmatc * | itrmc |
long | nmt |
o30bazmatc * | o30bazantc |
sejtkrmatc * | sejtkrmc |
glasgowmatc * | tenchc |
long | tnip |
Definition at line 22 of file coupmatu.h.
coupmatu | ( | void | ) |
Definition at line 11 of file coupmatu.cpp.
References baroghelc, C30baroghelc, C60baroghelc, C60bazantc, concretec, consol_awf1c, consol_awf2c, ip, itrmc, o30bazantc, sejtkrmc, tenchc, and tnip.
~coupmatu | ( | void | ) |
Definition at line 34 of file coupmatu.cpp.
References baroghelc, C30baroghelc, C60baroghelc, C60bazantc, concretec, consol_awf1c, consol_awf2c, ip, itrmc, o30bazantc, sejtkrmc, and tenchc.
void computenlstresses | ( | matrix & | d, | |
long | ipp | |||
) |
function computes correct stresses
lcid | - load case id | |
ipp | - number of integration point |
4.12.2002
Definition at line 507 of file coupmatu.cpp.
Referenced by barelc::upper_internal_forces().
void givefluxes_cmu | ( | long | lcid, | |
long | ipp, | |||
vector & | fl | |||
) |
function returns components of flux
lcid | - load case id = number ot unknown | |
ipp | - number of integration point | |
fl | - array containing components of flux |
14/05/2010, TKr
Definition at line 745 of file coupmatu.cpp.
References intpointsc::fluxes, ip, and vector::n.
void givegrad_cmu | ( | long | lcid, | |
long | ipp, | |||
vector & | gr | |||
) |
function returns components of gradients
lcid | - load case id = number ot unknown | |
ipp | - number of integration point | |
gr | - array containing components of flux |
14/05/2010, TKr
Definition at line 706 of file coupmatu.cpp.
References intpointsc::grad, ip, and vector::n.
void givestrain_cmu | ( | long | ipp, | |
long | fi, | |||
vector & | eps | |||
) |
function restores strains to vector eps
ipp | - integration point pointer | |
eps | - vector containing strain components |
5.8.2001
Definition at line 663 of file coupmatu.cpp.
References ip, vector::n, and intpointsc::strains.
void givestresses_cmu | ( | long | ipp, | |
long | fi, | |||
vector & | fl | |||
) |
function returns components of flux (stress)
lcid | - load case id | |
ipp | - number of integration point | |
fi | - first read index | |
fl | - array containing components of flux |
22.12.2002
Definition at line 624 of file coupmatu.cpp.
References ip, vector::n, and intpointsc::stresses.
Referenced by barelc::upper_internal_forces().
void initmaterialmodels | ( | void | ) |
function initiate values at integration points
Definition at line 181 of file coupmatu.cpp.
References Ct, couptop::elements, couptop::give_upper_tnip(), Gtt, initvalues(), elementc::ippu, gtopology::leso, and couptop::ne.
Referenced by newton_raphson_coupl_new().
void initvalues | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
function initiate material models and other values
ipp | - integration point pointer | |
im | - index of material type for given ip | |
ido | - index in array eq_other |
07/05/2010, TKr
Definition at line 207 of file coupmatu.cpp.
References Cp, mech_onemedium, mech_threemedia, mech_twomedia, print_err(), and probdescc::tmatt.
Referenced by initmaterialmodels().
long intpnum | ( | void | ) |
function computes pointers on integration points
offdiagonal submatrices are divided into blocks each block has row and column index number of rows is equal to number of blocks in mechanics number of columns is equal to number of transported matters
25.2.2003
Definition at line 121 of file coupmatu.cpp.
References Ct, couptop::elements, couptop::give_elem_type(), mechtop::give_nb(), couptop::give_upper_nip(), elementc::ippu, Mt, couptop::ne, probdesct::ntm, and Tp.
Referenced by read().
void intpointalloc | ( | ) |
void intpointinit | ( | ) |
function initializes basic data in integration points
Definition at line 155 of file coupmatu.cpp.
References Ct, couptop::elements, mechtop::give_nb(), couptop::give_upper_nip(), intpointsc::idm, elementc::idmu, ip, elementc::ippu, Mt, transtop::ne, probdesct::ntm, intpointsc::tm, elementc::tmu, Tp, and Tt.
Referenced by read().
void ipalloc | ( | void | ) |
Definition at line 55 of file coupmatu.cpp.
References intpointsc::av, Ct, couptop::elements, intpointsc::fluxes, probdesct::gdim, couptop::give_mnb(), couptop::give_mncomp(), couptop::give_mssst(), couptop::give_upper_nip(), intpointsc::grad, ip, elementc::ippu, intpointsc::mssst, couptop::ne, intpointsc::nmcomp, probdesct::ntm, planestrain, planestress, intpointsc::pv, intpointsc::strains, intpointsc::stresses, tnip, and Tp.
Referenced by intpointalloc().
void matcap | ( | matrix & | d, | |
long | ipp, | |||
long | ri, | |||
long | ci | |||
) |
function computes capacity matrix of the material in the required integration point
d | - conductivity matrix of material | |
ipp | - number of integration point | |
ri,ci | - row and column indices |
17.07.2005
Definition at line 386 of file coupmatu.cpp.
References Cp, medc3::matcap_u(), medc2::matcap_u(), medc1::matcap_u(), mech_onemedium, mech_threemedia, mech_twomedia, and probdescc::tmatt.
Referenced by quadrilatc::upper_cap_coup_matrix(), hexahedc::upper_cap_coup_matrix(), barelc::upper_cap_coup_matrix(), and axiquadc::upper_cap_coup_matrix().
void matcond | ( | matrix & | d, | |
long | ipp, | |||
long | ri, | |||
long | ci | |||
) |
function computes conductivity matrix of the material in the required integration point
d | - conductivity matrix of material | |
ipp | - number of integration point | |
ri,ci | - row and column indices |
17.07.2005
Definition at line 349 of file coupmatu.cpp.
References Cp, medc3::matcond_u(), medc2::matcond_u(), medc1::matcond_u(), mech_onemedium, mech_threemedia, mech_twomedia, and probdescc::tmatt.
Referenced by quadrilatc::upper_cond_coup_matrix(), hexahedc::upper_cond_coup_matrix(), barelc::upper_cond_coup_matrix(), and axiquadc::upper_cond_coup_matrix().
void matstiff | ( | matrix & | d, | |
long | ipp | |||
) |
function computes stiffness matrix of the material in the required integration point
d | - stiffness matrix | |
ipp | - number of integration point | |
im | - index of the material in the ipp tm and idm arrays. The standard value is zero. | |
ido | - index of internal variables in the ip's ipp other array |
TKr, 17.7.2001
Definition at line 313 of file coupmatu.cpp.
References Cp, ip, state_eqcu::matstiff(), mech_onemedium, mech_threemedia, mech_twomedia, and probdescc::tmatt.
Referenced by medc1::matcond_u(), multiphc::matcond_u(), glasgowmatc::matcond_u(), medc1::rhs_u(), multiphc::rhs_u1(), and glasgowmatc::rhs_u1().
void read | ( | XFILE * | in | ) |
function reads integration points, material characteristics
in | - input stream |
21.7.2001
Definition at line 763 of file coupmatu.cpp.
References intpnum(), intpointalloc(), intpointinit(), Mesprc, readmatchar(), and tnip.
Referenced by metr_init(), and pmetr_init().
void readip | ( | XFILE * | in | ) |
void readmatchar | ( | XFILE * | in | ) |
Definition at line 780 of file coupmatu.cpp.
References baroghelBc, baroghelc, C30baroghelBc, C30baroghelc, C60baroghelBc, C60baroghelc, C60bazantBc, C60bazantc, concreteBc, concretec, consol_awf1c, consol_awf2c, consolawf1c, consolawf2c, gcm, glascoup, glasgowc, isotransmatc, itrmc, Mesprc, nmt, o30bazantBc, o30bazantc, print_err(), glasgowcoup::read(), con_awf2matc::read(), glasgowmatc::read(), o30bazmatc::read(), C60bazmatc::read(), C30barmatc::read(), C60barmatc::read(), baroghelmatc::read(), concreteBmatc::read(), con_awf1matc::read(), sejtkrmatc::read(), isotrmatc::read(), sejtkrc, sejtkrmc, tenchc, and xfscanf().
Referenced by read().
void storeflux_cmu | ( | long | lcid, | |
long | ipp, | |||
vector & | fl | |||
) |
function stores components of flux to integration points
lcid | - load case id | |
ipp | - number of integration point | |
fl | - array containing components of flux |
14/05/2010, TKr
Definition at line 725 of file coupmatu.cpp.
References intpointsc::fluxes, ip, and vector::n.
void storegrad_cmu | ( | long | lcid, | |
long | ipp, | |||
vector & | gr | |||
) |
function stores components of gradients to integration points
lcid | - load case id | |
ipp | - number of integration point | |
gr | - array containing components of gradient |
4.12.2002
Definition at line 683 of file coupmatu.cpp.
References intpointsc::grad, ip, and vector::n.
Referenced by quadrilatc::intpointgrad(), and barelc::intpointgrad().
void storestrain_cmu | ( | long | ipp, | |
long | fi, | |||
vector & | eps | |||
) |
function stores computed strains
ipp | - integration point pointer | |
fi | - first index | |
eps | - vector containing strain components |
17.7.2001
Definition at line 645 of file coupmatu.cpp.
References ip, vector::n, and intpointsc::strains.
Referenced by quadrilatc::mainip_strains(), and barelc::mainip_strains().
void storestresses_cmu | ( | long | ipp, | |
long | fi, | |||
vector & | fl | |||
) |
function stores components of stresses to integration points
lcid | - load case id | |
ipp | - number of integration point | |
fi | - first read index | |
gr | - array containing components of stresses |
4.12.2002
Definition at line 601 of file coupmatu.cpp.
References ip, vector::n, and intpointsc::stresses.
void updateipval | ( | void | ) |
Function updates values of internal variables at integration points, it is used for nonlinear computations.
11/05/2010 TKr
Definition at line 244 of file coupmatu.cpp.
References Ct, couptop::elements, couptop::give_upper_tnip(), Gtu, elementc::ippu, gtopology::leso, couptop::ne, and updateipvalmat().
Referenced by updateval().
void updateipvalmat | ( | long | ipp, | |
long | im, | |||
long | ido | |||
) |
Function updates values of internal variables (eqother array) at integration points, it is used for nonlinear computations.
ipp | - number of integration point | |
im | - index of material type | |
ido | - index in array other |
11/05/2010 TKr
Definition at line 273 of file coupmatu.cpp.
References Cp, mech_onemedium, mech_threemedia, mech_twomedia, print_err(), and probdescc::tmatt.
Referenced by updateipval().
void volume_rhs1 | ( | matrix & | d, | |
long | ipp, | |||
long | ri, | |||
long | ci | |||
) |
function computes right-hand side matrix of the material - contribution into right-hand side from volume integrals in the required integration point
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 427 of file coupmatu.cpp.
References Cp, mech_onemedium, mech_threemedia, mech_twomedia, medc1::rhs_u(), medc3::rhs_u1(), medc2::rhs_u1(), and probdescc::tmatt.
Referenced by quadrilatc::upper_cond_coup_vector(), hexahedc::upper_cond_coup_vector(), barelc::upper_cond_coup_vector(), and axiquadc::upper_cond_coup_vector().
void volume_rhs2 | ( | 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
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 467 of file coupmatu.cpp.
References Cp, fillm(), mech_onemedium, mech_threemedia, mech_twomedia, medc1::rhs_u(), medc2::rhs_u1(), medc3::rhs_volume(), and probdescc::tmatt.
Referenced by barelc::volume_rhs_vector().
Definition at line 70 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 73 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 72 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 75 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 71 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 66 of file coupmatu.h.
Referenced by coupmatu(), medc1::matcap_l(), medc1::matcap_u(), medc1::matcond_l(), medc1::matcond_u(), readmatchar(), medc1::rhs_u(), and ~coupmatu().
Definition at line 68 of file coupmatu.h.
Referenced by coupmatu(), medc2::matcap_u(), medc2::matcond_u(), readmatchar(), medc2::rhs_u1(), and ~coupmatu().
Definition at line 77 of file coupmatu.h.
Referenced by readmatchar().
Definition at line 59 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), givefluxes_cmu(), givegrad_cmu(), givestrain_cmu(), givestresses_cmu(), intpointalloc(), intpointinit(), quadrilatc::intpointval(), barelc::intpointval(), ipalloc(), multiphc::matcap1d_u(), glasgowmatc::matcap1d_u(), con_awf2matc::matcap1d_u(), multiphc::matcap2d_u(), glasgowmatc::matcap2d_u(), con_awf2matc::matcap2d_u(), multiphc::matcap3d_u(), glasgowmatc::matcap3d_u(), con_awf2matc::matcap3d_u(), medc1::matcap_l(), medc2::matcap_u(), medc3::matcap_u(), medc1::matcap_u(), multiphc::matcond1d_u(), glasgowmatc::matcond1d_u(), con_awf2matc::matcond1d_u(), multiphc::matcond2d_u(), glasgowmatc::matcond2d_u(), con_awf2matc::matcond2d_u(), multiphc::matcond3d_u(), glasgowmatc::matcond3d_u(), con_awf2matc::matcond3d_u(), medc1::matcond_l(), medc2::matcond_u(), medc3::matcond_u(), medc1::matcond_u(), matstiff(), hexahedc::mefel_metr(), con_awf2matc::rhs1d1(), con_awf1matc::rhs1d1(), multiphc::rhs1d_u1(), glasgowmatc::rhs1d_u1(), multiphc::rhs1d_u2(), con_awf2matc::rhs2d1(), con_awf1matc::rhs2d1(), multiphc::rhs2d_u1(), glasgowmatc::rhs2d_u1(), multiphc::rhs2d_u2(), con_awf2matc::rhs3d1(), con_awf1matc::rhs3d1(), multiphc::rhs3d_u1(), glasgowmatc::rhs3d_u1(), multiphc::rhs3d_u2(), medc1::rhs_u(), medc2::rhs_u1(), medc3::rhs_u1(), medc3::rhs_volume(), storeflux_cmu(), storegrad_cmu(), storestrain_cmu(), storestresses_cmu(), hexahedc::trfel_metr(), and ~coupmatu().
Definition at line 63 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::give_e(), state_eqcu::give_nu(), medc1::matcond_u(), readmatchar(), medc1::rhs_u(), and ~coupmatu().
long nmt |
Definition at line 55 of file coupmatu.h.
Referenced by readmatchar().
Definition at line 74 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::get_alpha(), state_eqcu::get_betas(), state_eqcu::get_rhos(), state_eqcu::get_s(), state_eqcu::give_e(), state_eqcu::give_nu(), readmatchar(), and ~coupmatu().
Definition at line 65 of file coupmatu.h.
Referenced by coupmatu(), medc1::matcap_l(), medc1::matcap_u(), medc1::matcond_l(), medc1::matcond_u(), readmatchar(), and ~coupmatu().
Definition at line 76 of file coupmatu.h.
Referenced by coupmatu(), state_eqcu::give_e(), readmatchar(), and ~coupmatu().
long tnip |
Definition at line 57 of file coupmatu.h.
Referenced by coupmatu(), intpointalloc(), ipalloc(), and read().