![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <tri3.h>
Public Member Functions | |
Tri3 (int NDim) | |
void | SetIPs (int TotNIP) |
Set the total number of integration points in this element. | |
size_t | FNode (size_t IdxFace, size_t IdxFNode) const |
Get node of face, given index of face and index of node of face. | |
void | Shape (double r, double s, double t) const |
Shape functions. | |
void | Derivs (double r, double s, double t) const |
Derivatives of shape functions. | |
void | FaceShape (double r, double s) const |
Shape functions of face/edge. | |
void | FaceDerivs (double r, double s) const |
Derivatives of shape functions of face/edge. | |
void | NatCoords (Mat_t &C) const |
Matrix with natural coordinates of all nodes (ex.: -1, 0, 1) | |
Static Public Attributes | |
static const int | Face2Node [3][2] |
FEM::Tri3::Tri3 | ( | int | NDim | ) | [inline] |
void FEM::Tri3::Derivs | ( | double | r, |
double | s, | ||
double | t | ||
) | const [inline, virtual] |
Derivatives of shape functions.
Implements FEM::GeomElem.
void FEM::Tri3::FaceDerivs | ( | double | r, |
double | s | ||
) | const [inline, virtual] |
Derivatives of shape functions of face/edge.
Implements FEM::GeomElem.
void FEM::Tri3::FaceShape | ( | double | r, |
double | s | ||
) | const [inline, virtual] |
Shape functions of face/edge.
Implements FEM::GeomElem.
size_t FEM::Tri3::FNode | ( | size_t | IdxFace, |
size_t | IdxFNode | ||
) | const [inline, virtual] |
Get node of face, given index of face and index of node of face.
Implements FEM::GeomElem.
void FEM::Tri3::NatCoords | ( | Mat_t & | C | ) | const [inline, virtual] |
Matrix with natural coordinates of all nodes (ex.: -1, 0, 1)
Implements FEM::GeomElem.
void FEM::Tri3::SetIPs | ( | int | TotNIP | ) | [inline, virtual] |
Set the total number of integration points in this element.
Implements FEM::GeomElem.
void FEM::Tri3::Shape | ( | double | r, |
double | s, | ||
double | t | ||
) | const [inline, virtual] |
Shape functions.
Implements FEM::GeomElem.
const int FEM::Tri3::Face2Node [static] |
{{ 0, 1 }, { 1, 2 }, { 2, 0 }}