#include <soilplateq.h>
Public Member Functions | |
void | allip_strains (double **stra, long lcid, long eid, long ri, long ci) |
void | allip_stresses (long lcid, long eid, long ri, long ci) |
double | approx (double xi, double eta, vector &nodval) |
void | appstrain (long lcid, long eid, double xi, double eta, long fi, long ncomp, vector &eps) |
void | appval (double xi, double eta, long fi, long nc, vector &eps, double **val) |
void | atd_matrix (matrix &atd, vector &x, vector &y) |
void | compute_eigstress (long lcid, long eid, long ri, long ci) |
void | compute_nlstress (long lcid, long eid, long ri, long ci) |
void | compute_nlstressincr (long lcid, long eid, long ri, long ci) |
void | compute_nonloc_nlstress (long lcid, long eid, long ri, long ci) |
void | dbmat (matrix &db, double c11, double c22, long ri, long ci) |
void | eigstrain_forces (long lcid, long eid, long ri, long ci, vector &nfor, vector &x, vector &y, vector &z) |
void | elem_integration (integratedquant iq, long lcid, long eid, long ri, long ci, vector &nv, vector &x, vector &y, vector &z) |
void | elem_strains (double **stra, long lcid, long eid, long ri, long ci) |
void | geom_matrix (matrix &gm, matrix &atd, vector &x, vector &y, vector &l) |
void | geom_matrix_shear (matrix &gm, matrix &atd, vector &x, vector &y, vector &l) |
void | incr_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y, vector &z) |
void | internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y, vector &z) |
void | local_values (long lcid, long eid, long ri, long ci) |
void | mainip_strains (long lcid, long eid, long ri, long ci, vector &x, vector &y, vector &r) |
void | nod_strains (long lcid, long eid, long ri, long ci) |
void | nodecoord (vector &xi, vector &eta) |
void | nonloc_internal_forces (long lcid, long eid, long ri, long ci, vector &ifor, vector &x, vector &y, vector &z) |
void | res_allip_stresses (long lcid, long eid) |
void | res_eigstrain_forces (long lcid, long eid, vector &nfor) |
void | res_incr_internal_forces (long lcid, long eid, vector &ifor) |
void | res_internal_forces (long lcid, long eid, vector &ifor) |
void | res_mainip_strains (long lcid, long eid) |
void | res_nonloc_internal_forces (long lcid, long eid, vector &ifor) |
void | res_stiffness_matrix (long eid, matrix &sm) |
soilplateq (void) | |
void | stiffness_matrix (long eid, long ri, long ci, matrix &sm, vector &x, vector &y) |
void | strains (long lcid, long eid, long ri, long ci) |
void | transfmat (ivector &nodes, matrix &tmat) |
~soilplateq (void) | |
Public Attributes | |
long * | cncomp |
long | intordb |
long | intordmm |
long ** | intordsm |
long | napfun |
long | nb |
long * | ncomp |
long | ndofe |
long | ned |
long ** | nip |
long | nne |
long | nned |
strastrestate | ssst |
long | tncomp |
long | tnip |
total number of integration points on element |
Definition at line 10 of file soilplateq.h.
soilplateq | ( | void | ) |
~soilplateq | ( | void | ) |
void allip_strains | ( | double ** | stra, | |
long | lcid, | |||
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 569 of file soilplateq.cpp.
References vector::a, allocv(), appstrain(), appval(), destrv(), mechtop::elements, gauss_points(), intordsm, element::ipp, Mm, Mp, Mt, nb, mechmat::storestrain(), probdesc::strainaver, and tncomp.
Referenced by strains().
void allip_stresses | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes stresess
lcid | - load case id | |
eid | - element id | |
ri,ci | - row and column indices |
20.9.2006
Definition at line 669 of file soilplateq.cpp.
References allocm(), allocv(), cncomp, destrm(), destrv(), mechtop::elements, mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), ncomp, nne, nodes, and mechmat::storestress().
Referenced by res_allip_stresses().
double approx | ( | double | xi, | |
double | eta, | |||
vector & | nodval | |||
) |
function approximates function defined by nodal values
xi,eta | - coordinates on element | |
nodval | - nodal values |
Definition at line 68 of file soilplateq.cpp.
References vector::a, bf_lin_4_2d(), f, nne, and scprd().
Referenced by appstrain(), and appval().
void appstrain | ( | long | lcid, | |
long | eid, | |||
double | xi, | |||
double | eta, | |||
long | fi, | |||
long | ncomp, | |||
vector & | eps | |||
) |
Definition at line 543 of file soilplateq.cpp.
References allocv(), approx(), destrv(), mechtop::give_elemnodes(), Mt, vector::n, nne, mechtop::nodes, nodes, nodval(), node::strain, and tncomp.
Referenced by allip_strains(), and strains().
void appval | ( | double | xi, | |
double | eta, | |||
long | fi, | |||
long | nc, | |||
vector & | eps, | |||
double ** | val | |||
) |
Definition at line 219 of file soilplateq.cpp.
References allocv(), approx(), destrv(), nne, and nodval().
Referenced by allip_strains(), and strains().
function assembles matrix of transformation for Q4plate 20.3.2002
Definition at line 84 of file soilplateq.cpp.
References fillm(), gemp(), Mp, nne, p, and probdesc::zero.
Referenced by elem_integration(), mainip_strains(), and stiffness_matrix().
void compute_eigstress | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 1112 of file soilplateq.cpp.
References mechtop::elements, mechmat::giveeigstrain(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, mxv(), nb, mechmat::storeeigstress(), and tncomp.
Referenced by eigstrain_forces().
void compute_nlstress | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes correct stresses at integration points on element
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
TKo, 7.2008
Definition at line 974 of file soilplateq.cpp.
References mechmat::computenlstresses(), mechtop::elements, intordsm, element::ipp, Mm, Mp, Mt, nb, and probdesc::strcomp.
Referenced by elem_nlstresses(), and internal_forces().
void compute_nlstressincr | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes correct stress increments at integration points on element
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
TKo, 7.2008
Definition at line 1086 of file soilplateq.cpp.
References mechmat::computenlstressesincr(), mechtop::elements, intordsm, element::ipp, Mm, Mp, Mt, nb, and probdesc::strcomp.
Referenced by incr_internal_forces().
void compute_nonloc_nlstress | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes nonlocal correct stresses at integration points on element
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
TKo, 7.2008
Definition at line 1048 of file soilplateq.cpp.
References allocm(), mechmat::compnonloc_nlstresses(), destrm(), mechtop::elements, mechmat::givestress(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mp, Mt, mtxv(), nb, ncomp, mechmat::storestress(), and probdesc::strcomp.
Referenced by nonloc_internal_forces().
function extracts components of the soil part of stiffness matrix of the material to the matrix ds 20.3.2002
Definition at line 189 of file soilplateq.cpp.
Referenced by stiffness_matrix().
void eigstrain_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | nfor, | |||
vector & | x, | |||
vector & | y, | |||
vector & | z | |||
) |
function computes nodal forces caused by eigenstrains eigenstrain expresses e.g. temperature strains
this function is used in plane stress/strain elements (function is called by function res_eigstrain_forces) and shell elements
lcid | - load case id | |
eid | - element id | |
ri,ci | - row and column indices | |
nfor | - array containing nodal forces | |
x,y,z | - nodal coordinates |
TKo, 7.2008
Definition at line 805 of file soilplateq.cpp.
References compute_eigstress(), probdesc::eigstrcomp, eigstress, elem_integration(), and Mp.
Referenced by res_eigstrain_forces().
void elem_integration | ( | integratedquant | iq, | |
long | lcid, | |||
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | nv, | |||
vector & | x, | |||
vector & | y, | |||
vector & | z | |||
) |
function integrates selected quantity over the finite element it results in nodal values
iq | - type of integrated quantity (see alias.h) | |
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices | |
nv | - nodal values | |
x,y,z | - node coordinates |
TKo, 7.2008
Definition at line 1148 of file soilplateq.cpp.
References vector::a, addv(), allocm(), allocv(), atd_matrix(), cmulv(), cncomp, destrm(), destrv(), mechtop::elements, f, fillv(), gauss_points(), geom_matrix(), mechtop::give_elemnodes(), mechtop::give_node_coord3d(), mechmat::givequantity(), intordsm, element::ipp, Mm, Mt, mtxv(), nb, ncomp, ndofe, nne, and nodes.
Referenced by eigstrain_forces(), incr_internal_forces(), internal_forces(), and nonloc_internal_forces().
void elem_strains | ( | double ** | stra, | |
long | lcid, | |||
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 447 of file soilplateq.cpp.
References vector::a, allocv(), cncomp, destrv(), mechtop::elements, gauss_points(), mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, matassem_lsm(), Mm, Mp, Mt, nb, ncomp, nne, nodal_values(), nodecoord(), nodes, nullv(), rhsassem_lsm(), solve_lsm(), and probdesc::zero.
Referenced by strains().
Definition at line 246 of file soilplateq.cpp.
References matrix::n.
Referenced by elem_integration(), mainip_strains(), and stiffness_matrix().
Definition at line 264 of file soilplateq.cpp.
References matrix::n.
Referenced by mainip_strains(), and stiffness_matrix().
void incr_internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor, | |||
vector & | x, | |||
vector & | y, | |||
vector & | z | |||
) |
function computes increment of internal forces (from correct stresses increment)
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices | |
ifor | - vector of internal forces | |
x,y,z | - vectors of nodal coordinates |
TKo, 7.2008
Definition at line 776 of file soilplateq.cpp.
References compute_nlstressincr(), elem_integration(), and stressincr.
Referenced by res_incr_internal_forces().
void internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor, | |||
vector & | x, | |||
vector & | y, | |||
vector & | z | |||
) |
function computes internal forces
this function is used in plane stress/strain elements (function is called by function res_internal_forces) and shell elements
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices | |
ifor | - vector of internal forces | |
x,y,z | - node coordinates |
TKo, 7.2008
Definition at line 722 of file soilplateq.cpp.
References compute_nlstress(), elem_integration(), and locstress.
Referenced by res_internal_forces().
void local_values | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
function computes local values which will be used for averageing in nonlocal models at integration points. Mp->nonlocphase have to be 1.
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices |
TKo, 7.2008
Definition at line 1010 of file soilplateq.cpp.
References allocm(), mechmat::computenlstresses(), destrm(), mechtop::elements, mechmat::givestress(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mp, Mt, mtxv(), nb, ncomp, mechmat::storestress(), and probdesc::strcomp.
Referenced by elem_local_values().
Definition at line 402 of file soilplateq.cpp.
References vector::a, allocm(), allocv(), atd_matrix(), cncomp, destrm(), destrv(), mechtop::elements, gauss_points(), geom_matrix(), geom_matrix_shear(), intordsm, element::ipp, Mm, Mt, mxv(), nb, ncomp, ndofe, and mechmat::storestrain().
Referenced by res_mainip_strains().
void nod_strains | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 494 of file soilplateq.cpp.
References vector::a, allocv(), cncomp, destrv(), mechtop::elements, gauss_points(), mechtop::give_elemnodes(), mechmat::givestrain(), intordsm, element::ipp, matassem_lsm(), Mm, Mp, Mt, nb, ncomp, nne, nodecoord(), nodes, nullv(), rhsassem_lsm(), solve_lsm(), mechtop::strain_nodal_values(), and probdesc::zero.
Definition at line 237 of file soilplateq.cpp.
Referenced by elem_strains(), and nod_strains().
void nonloc_internal_forces | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci, | |||
vector & | ifor, | |||
vector & | x, | |||
vector & | y, | |||
vector & | z | |||
) |
function computes internal forces for nonlocal models
this function is used in plane stress/strain elements (function is called by function res_nonloc_internal_forces) and shell elements
lcid | - number of load case | |
eid | - element id | |
ri,ci | - row and column indices | |
ifor | - vector of internal forces | |
x,y,z | - vectors of nodal coordinates |
TKo, 7.2008
Definition at line 751 of file soilplateq.cpp.
References compute_nonloc_nlstress(), elem_integration(), and nonlocstress.
Referenced by res_nonloc_internal_forces().
void res_allip_stresses | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 655 of file soilplateq.cpp.
References allip_stresses().
void res_eigstrain_forces | ( | long | lcid, | |
long | eid, | |||
vector & | nfor | |||
) |
function computes nodal forces caused by eigenstrains eigenstrain expresses e.g. temperature strains
lcid | - load case id | |
eid | - element id | |
nfor | - array containing nodal forces |
TKo, 7.2008
Definition at line 938 of file soilplateq.cpp.
References eigstrain_forces(), mechtop::give_node_coord3d(), Mt, ndofe, nne, and nodes.
Referenced by elem_eigstrain_forces().
void res_incr_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes resulting increments of internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
TKo, 7.2008
Definition at line 901 of file soilplateq.cpp.
References mechtop::give_node_coord3d(), incr_internal_forces(), Mt, ndofe, nne, and nodes.
Referenced by elem_incr_internal_forces().
void res_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes internal forces
lcid | - load case id | |
eid | - element id | |
ifor | - internal forces |
TKo, 7.2008
Definition at line 829 of file soilplateq.cpp.
References mechtop::give_node_coord3d(), internal_forces(), Mt, ndofe, nne, and nodes.
Referenced by elem_internal_forces().
void res_mainip_strains | ( | long | lcid, | |
long | eid | |||
) |
Definition at line 375 of file soilplateq.cpp.
References vector::a, allocm(), allocv(), copyv(), destrm(), destrv(), eldispl(), mechtop::give_elemnodes(), mechtop::give_node_coord2d(), lgvectortransf(), mechtop::locsystems(), mainip_strains(), Mt, ndofe, nne, nodes, and transfmat().
Referenced by compute_ipstrains().
void res_nonloc_internal_forces | ( | long | lcid, | |
long | eid, | |||
vector & | ifor | |||
) |
function computes resulting internal forces for nonlocal models
lcid | - load case id | |
eid | - element id | |
ifor | - vector of internal forces |
TKo, 7.2008
Definition at line 865 of file soilplateq.cpp.
References mechtop::give_node_coord3d(), Mt, ndofe, nne, nodes, and nonloc_internal_forces().
Referenced by elem_nonloc_internal_forces().
void res_stiffness_matrix | ( | long | eid, | |
matrix & | sm | |||
) |
Definition at line 279 of file soilplateq.cpp.
References mechtop::give_node_coord2d(), Mt, nne, and stiffness_matrix().
Referenced by stiffmat().
Definition at line 287 of file soilplateq.cpp.
References vector::a, allocm(), allocv(), atd_matrix(), bdbjac(), dbmat(), destrm(), destrv(), mechtop::elements, fillm(), gauss_points(), geom_matrix(), geom_matrix_shear(), mechtop::give_elemnodes(), intordsm, element::ipp, mechmat::matstiff(), Mm, Mt, nb, ncomp, ndofe, nne, and nodes.
Referenced by res_stiffness_matrix().
void strains | ( | long | lcid, | |
long | eid, | |||
long | ri, | |||
long | ci | |||
) |
Definition at line 597 of file soilplateq.cpp.
References allip_strains(), allocv(), appstrain(), appval(), destrv(), elem_strains(), enodes, aepoints::give_aepcoord(), aepoints::give_naep(), aepoints::give_ncomp(), aepoints::give_sid(), intpts, Mm, Mp, nne, nowhere, aepoints::storevalues(), mechmat::stra, probdesc::strainaver, aepoints::tape, tncomp, and userdefined.
Definition at line 202 of file soilplateq.cpp.
References node::e1, node::e2, matrix::m, Mt, ivector::n, mechtop::nodes, and node::transf.
Referenced by res_mainip_strains().
long* cncomp |
Definition at line 71 of file soilplateq.h.
Referenced by allip_stresses(), elem_integration(), elem_strains(), mainip_strains(), nod_strains(), soilplateq(), and ~soilplateq().
long intordb |
Definition at line 83 of file soilplateq.h.
Referenced by soilplateq().
long intordmm |
Definition at line 81 of file soilplateq.h.
Referenced by soilplateq().
long** intordsm |
Definition at line 79 of file soilplateq.h.
Referenced by allip_strains(), allip_stresses(), compute_eigstress(), compute_nlstress(), compute_nlstressincr(), compute_nonloc_nlstress(), elem_integration(), elem_strains(), mechtop::give_intordsm(), local_values(), mainip_strains(), nod_strains(), soilplateq(), stiffness_matrix(), and ~soilplateq().
long napfun |
Definition at line 73 of file soilplateq.h.
Referenced by mechtop::give_napfun(), and soilplateq().
long nb |
Definition at line 87 of file soilplateq.h.
Referenced by allip_strains(), compute_eigstress(), compute_nlstress(), compute_nlstressincr(), compute_nonloc_nlstress(), elem_integration(), elem_strains(), mechtop::give_nb(), mechtop::give_nb_te(), local_values(), mainip_strains(), nod_strains(), soilplateq(), stiffness_matrix(), and ~soilplateq().
long* ncomp |
Definition at line 69 of file soilplateq.h.
Referenced by allip_stresses(), compute_nonloc_nlstress(), elem_integration(), elem_strains(), local_values(), mainip_strains(), nod_strains(), soilplateq(), stiffness_matrix(), and ~soilplateq().
long ndofe |
Definition at line 61 of file soilplateq.h.
Referenced by elem_integration(), mechtop::give_ndofe(), mainip_strains(), res_eigstrain_forces(), res_incr_internal_forces(), res_internal_forces(), res_mainip_strains(), res_nonloc_internal_forces(), soilplateq(), and stiffness_matrix().
long ned |
Definition at line 75 of file soilplateq.h.
Referenced by mechtop::give_ned(), and soilplateq().
long** nip |
Definition at line 85 of file soilplateq.h.
Referenced by mechtop::give_nip(), soilplateq(), and ~soilplateq().
long nne |
Definition at line 63 of file soilplateq.h.
Referenced by allip_stresses(), approx(), appstrain(), appval(), atd_matrix(), elem_integration(), elem_strains(), mechtop::give_nne(), nod_strains(), res_eigstrain_forces(), res_incr_internal_forces(), res_internal_forces(), res_mainip_strains(), res_nonloc_internal_forces(), res_stiffness_matrix(), soilplateq(), stiffness_matrix(), and strains().
long nned |
Definition at line 77 of file soilplateq.h.
Referenced by mechtop::give_nned(), and soilplateq().
Definition at line 89 of file soilplateq.h.
Referenced by mechtop::give_ssst(), and soilplateq().
long tncomp |
Definition at line 65 of file soilplateq.h.
Referenced by allip_strains(), appstrain(), compute_eigstress(), mechtop::give_ncomp(), mechtop::give_tncomp(), soilplateq(), and strains().
long tnip |
total number of integration points on element
Definition at line 67 of file soilplateq.h.
Referenced by mechtop::give_tnip(), and soilplateq().