MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <usigcondelem.h>
Public Member Functions | |
USigCondElem (int NDim, Mesh::Cell const &Cell, Model const *Mdl, Model const *XMdl, SDPair const &Prp, SDPair const &Ini, Array< Node * > const &Nodes) | |
Array with all nodes (used to set the connectivity) | |
~USigCondElem () | |
void | GetLoc (Array< size_t > &Loc) const |
Get location vector for mounting K/M matrices. | |
void | SetBCs (size_t IdxEdgeOrFace, SDPair const &BCs, BCFuncs *BCF) |
If setting body forces, IdxEdgeOrFace is ignored. | |
void | CalcK (Mat_t &K) const |
Stiffness. | |
void | CalcFint (Vec_t *F_int=NULL) const |
Calculate or set Fint. Set nodes if F_int==NULL. | |
void | UpdateState (Vec_t const &dU, Vec_t *F_int=NULL) const |
Update state at IPs. | |
void | StateKeys (Array< String > &Keys) const |
Get state keys, ex: sx, sy, sxy, ex, ey, exy. | |
void | StateAtIP (SDPair &KeysVals, int IdxIP) const |
Get state at IP. | |
void | Matrices (Mat_t &Ai, Mat_t &Q) const |
void | Interp (Mat_t const &C, IntegPoint const &IP, Mat_t &B, Mat_t &N, Mat_t &Nsig, double &detJ, double &Coef) const |
Interpolation matrices. | |
Public Attributes | |
GeomElem * | GEs |
Local nodes. | |
long | FirstEQsig |
First equation of sig DOF. | |
Static Public Attributes | |
static size_t | NCo = 0 |
Number of stress/strain components == 2*NDim. | |
static size_t | NDs = 0 |
Number of DOFs of stress (sigma) == NCo*NumNodesSig. | |
static size_t | NDu = 0 |
Number of DOFs (displacements) == NN*NDim. |
FEM::USigCondElem::USigCondElem | ( | int | NDim, |
Mesh::Cell const & | Cell, | ||
Model const * | Mdl, | ||
Model const * | XMdl, | ||
SDPair const & | Prp, | ||
SDPair const & | Ini, | ||
Array< Node * > const & | Nodes | ||
) | [inline] |
FEM::USigCondElem::~USigCondElem | ( | ) | [inline] |
void FEM::USigCondElem::CalcFint | ( | Vec_t * | F_int = NULL | ) | const |
Calculate or set Fint. Set nodes if F_int==NULL.
void FEM::USigCondElem::CalcK | ( | Mat_t & | K | ) | const [inline, virtual] |
Stiffness.
Reimplemented from FEM::Element.
void FEM::USigCondElem::GetLoc | ( | Array< size_t > & | Loc | ) | const [inline, virtual] |
Get location vector for mounting K/M matrices.
Reimplemented from FEM::Element.
void FEM::USigCondElem::Interp | ( | Mat_t const & | C, |
IntegPoint const & | IP, | ||
Mat_t & | B, | ||
Mat_t & | N, | ||
Mat_t & | Nsig, | ||
double & | detJ, | ||
double & | Coef | ||
) | const [inline] |
Interpolation matrices.
void FEM::USigCondElem::Matrices | ( | Mat_t & | Ai, |
Mat_t & | Q | ||
) | const [inline] |
void FEM::USigCondElem::SetBCs | ( | size_t | IdxEdgeOrFace, |
SDPair const & | BCs, | ||
BCFuncs * | BCF | ||
) | [inline, virtual] |
If setting body forces, IdxEdgeOrFace is ignored.
Reimplemented from FEM::Element.
void FEM::USigCondElem::StateAtIP | ( | SDPair & | KeysVals, |
int | IdxIP | ||
) | const [inline, virtual] |
Get state at IP.
Reimplemented from FEM::Element.
void FEM::USigCondElem::StateKeys | ( | Array< String > & | Keys | ) | const [inline, virtual] |
Get state keys, ex: sx, sy, sxy, ex, ey, exy.
Reimplemented from FEM::Element.
void FEM::USigCondElem::UpdateState | ( | Vec_t const & | dU, |
Vec_t * | F_int = NULL |
||
) | const [inline, virtual] |
Update state at IPs.
Reimplemented from FEM::Element.
long FEM::USigCondElem::FirstEQsig [mutable] |
First equation of sig DOF.
Local nodes.
size_t FEM::USigCondElem::NCo = 0 [static] |
Number of stress/strain components == 2*NDim.
size_t FEM::USigCondElem::NDs = 0 [static] |
Number of DOFs of stress (sigma) == NCo*NumNodesSig.
size_t FEM::USigCondElem::NDu = 0 [static] |
Number of DOFs (displacements) == NN*NDim.