![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <flowelem.h>
Public Member Functions | |
FlowElem (int NDim, Mesh::Cell const &Cell, Model const *Mdl, Model const *XMdl, SDPair const &Prp, SDPair const &Ini, Array< Node * > const &Nodes) | |
Connectivity. | |
void | SetBCs (size_t IdxEdgeOrFace, SDPair const &BCs, BCFuncs *BCF) |
If setting body forces, IdxEdgeOrFace is ignored. | |
void | ClrBCs () |
Clear BCs. | |
void | GetLoc (Array< size_t > &Loc) const |
Get location vector for mounting K/M matrices. | |
void | CalcK (Mat_t &K) const |
Stiffness matrix. | |
void | CalcM (Mat_t &M) const |
Mass matrix. | |
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: vx, vy, gx, gy. | |
void | StateAtIP (SDPair &KeysVals, int IdxIP) const |
State at IP. | |
void | Interp (Mat_t const &C, IntegPoint const &IP, Mat_t &B, Mat_t &N, double &detJ, double &Coef) const |
Strain-displacement matrix. Coef: coefficient used during integration. | |
Public Attributes | |
bool | HasConv |
bool | HasPer |
std::map< int, double > | Bry2h |
double | rho |
double | hPer |
double | A |
FEM::FlowElem::FlowElem | ( | int | NDim, |
Mesh::Cell const & | Cell, | ||
Model const * | Mdl, | ||
Model const * | XMdl, | ||
SDPair const & | Prp, | ||
SDPair const & | Ini, | ||
Array< Node * > const & | Nodes | ||
) | [inline] |
void FEM::FlowElem::CalcK | ( | Mat_t & | K | ) | const [inline, virtual] |
Stiffness matrix.
Reimplemented from FEM::Element.
void FEM::FlowElem::CalcM | ( | Mat_t & | M | ) | const [inline, virtual] |
Mass matrix.
Reimplemented from FEM::Element.
void FEM::FlowElem::ClrBCs | ( | ) | [inline, virtual] |
Clear BCs.
Reimplemented from FEM::Element.
void FEM::FlowElem::GetLoc | ( | Array< size_t > & | Loc | ) | const [inline, virtual] |
Get location vector for mounting K/M matrices.
Reimplemented from FEM::Element.
void FEM::FlowElem::Interp | ( | Mat_t const & | C, |
IntegPoint const & | IP, | ||
Mat_t & | B, | ||
Mat_t & | N, | ||
double & | detJ, | ||
double & | Coef | ||
) | const [inline] |
Strain-displacement matrix. Coef: coefficient used during integration.
void FEM::FlowElem::SetBCs | ( | size_t | IdxEdgeOrFace, |
SDPair const & | BCs, | ||
BCFuncs * | BCF | ||
) | [inline, virtual] |
If setting body forces, IdxEdgeOrFace is ignored.
Reimplemented from FEM::Element.
void FEM::FlowElem::StateAtIP | ( | SDPair & | KeysVals, |
int | IdxIP | ||
) | const [inline, virtual] |
State at IP.
Reimplemented from FEM::Element.
void FEM::FlowElem::StateKeys | ( | Array< String > & | Keys | ) | const [inline, virtual] |
Get state keys, ex: vx, vy, gx, gy.
Reimplemented from FEM::Element.
void FEM::FlowElem::UpdateState | ( | Vec_t const & | dU, |
Vec_t * | F_int = NULL |
||
) | const [inline, virtual] |
Update state at IPs.
Reimplemented from FEM::Element.
double FEM::FlowElem::A |
std::map<int,double> FEM::FlowElem::Bry2h |
double FEM::FlowElem::hPer |
double FEM::FlowElem::rho |