|
typedef Real(* | function_Type) (const GeoVector &) |
|
| ReferenceElement (std::string name, ReferenceShapes shape, UInt nbDof, UInt nbLocalCoor, UInt feDim, const function_Type *phi, const function_Type *dPhi, const function_Type *d2Phi, const function_Type *divPhi, const Real *refCoor) |
| Full constructor. More...
|
|
virtual | ~ReferenceElement () |
| Destructor. More...
|
|
Real | xi (UInt i) const |
| return the first local coordinate of the i-th node of the reference element More...
|
|
Real | eta (UInt i) const |
| return the second local coordinate of the i-th node of the reference element More...
|
|
Real | zeta (UInt i) const |
| return the third local coordinate of the i-th node of the reference element More...
|
|
Real | refCoor (UInt i, UInt icoor) const |
| return the icoor-th local coordinate of the i-th node of the reference element More...
|
|
std::vector< GeoVector > | refCoor () const |
| return the coordinates of the reference element More...
|
|
Real | phi (UInt i, const GeoVector &v) const |
| Return the value of the i-th basis function in the point v. More...
|
|
Real | phi (UInt i, UInt icoor, const GeoVector &v) const |
| return the value of the component icoor-th of the i-th basis function on point v. More...
|
|
Real | dPhi (UInt i, UInt icoor, const GeoVector &v) const |
| return the value of the icoor-th derivative of the i-th basis function on point v More...
|
|
Real | d2Phi (UInt i, UInt icoor, UInt jcoor, const GeoVector &v) const |
| return the value of the (icoor,jcoor)-th second derivative of the i-th basis function on point v More...
|
|
Real | divPhi (UInt i, const GeoVector &v) const |
| return the value of the divergence of the i-th basis function on point v. More...
|
|
bool | hasPhi () const |
| Check if the refEle has phi functions. More...
|
|
bool | hasDPhi () const |
| Check if the refEle has dPhi functions. More...
|
|
bool | hasD2Phi () const |
| Check if the refEle has d2Phi functions. More...
|
|
bool | hasDivPhi () const |
| Check if the refEle has divPhi functions. More...
|
|
virtual std::vector< Real > | nodalToFEValues (const std::vector< Real > &) const |
| Method for transforming nodal values into FE values. More...
|
|
const std::string & | name () const |
| Return the name of the reference element. More...
|
|
const UInt & | nbDof () const |
| Return the number of degrees of freedom for this reference element. More...
|
|
const | LIFEV_DEPRECATED (UInt &) nbCoor() const |
| OLD: Return the number of local coordinates. More...
|
|
const UInt & | nbLocalCoor () const |
| Return the number of local coordinates. More...
|
|
const UInt & | feDim () const |
| Return the dimension of the FE (scalar vs vectorial FE) More...
|
|
const ReferenceShapes & | shape () const |
| Return the shape of the element. More...
|
|
Real | phi (UInt i, const Real &x, const Real &y, const Real &z) const |
| return the value of the i-th basis function on point (x,y,z) More...
|
|
Real | phi (UInt i, UInt icoor, const Real &x, const Real &y, const Real &z) const |
| return the value of the component icoor-th of the i-th basis function on point (x,y,z). More...
|
|
Real | dPhi (UInt i, UInt icoor, const Real &x, const Real &y, const Real &z) const |
| return the value of the icoor-th derivative of the i-th basis function on point (x,y,z) More...
|
|
Real | d2Phi (UInt i, UInt icoor, UInt jcoor, const Real &x, const Real &y, const Real &z) const |
| return the value of the (icoor,jcoor)-th second derivative of the i-th basis function on point (x,y,z) More...
|
|
Real | divPhi (UInt i, const Real &x, const Real &y, const Real &z) const |
| return the value of the divergence of the i-th basis function on point (x,y,z). More...
|
|
| DOFLocalPattern (const UInt &nbLocalDof, const UInt &nbDofPerVertex, const UInt &nbDofPerEdge, const UInt &nbDofPerFace, const UInt &nbDofPerVolume, const DofPatternType &patternType, UInt nbLocalCoor) |
| Full constructor. More...
|
|
| DOFLocalPattern (const DOFLocalPattern &localDofPattern) |
| Simple copy constructor. More...
|
|
virtual | ~DOFLocalPattern () |
| Empty destructor. More...
|
|
const UInt & | patternFirst (const UInt &i) const |
| patternFirst(i): row index in the element matrix of the i-th term of the pattern (the index starts from 0, not from 1 !). More...
|
|
const UInt & | patternSecond (const UInt &i) const |
| patternSecond(i): column index in the element matrix of the i-th term of the pattern (the index starts from 0, not from 1 !). More...
|
|
void | showMe (std::ostream &output=std::cout) const |
| The showMe method for the pattern. More...
|
|
const UInt & | nbPattern () const |
| Number of non-zero terms in the element matrix. More...
|
|
const UInt & | nbDiag () const |
| Number of diagonal terms in the element matrix. More...
|
|
const UInt & | nbUpper () const |
| Number of upper terms in the element matrix. More...
|
|
const UInt & | nbLocalDof () const |
| Return the number of local degrees of freedom. More...
|
|
const UInt & | nbDofPerVertex () const |
| Return the number of degrees of freedom located on the vertices (0D structures) More...
|
|
const UInt & | nbDofPerEdge () const |
| Return the number of degrees of freedom located on the edges (1D structures) More...
|
|
UInt | nbDofPerPeak () const |
| Return the number of degrees of freedom located on the peak (vertex in 3D). More...
|
|
UInt | nbDofPerRidge () const |
| Return the number of degrees of freedom located on the ridge. (edge in 3D) More...
|
|
UInt | nbDofPerFacet () const |
| Return the number of degrees of freedom located on the facet. (face in 3D) More...
|
|
const UInt & | nbDofPerElement () const |
| Return the number of degrees of freedom located on the element. (volume in 3D) More...
|
|
const UInt & | nbDofPerFace () const |
| Return the number of degrees of freedom located on the faces (2D structures). More...
|
|
const UInt & | nbDofPerVolume () const |
| Return the number of degrees of freedom located in the volume (3D structures). More...
|
|
const UInt & | nbDofPerDimStrut (const UInt &structDim) const |
| Return the number of degrees of freedom located per structDim object. More...
|
|
const UInt & | nbDofPerCodimStrut (const UInt &structCodim) const |
| Return the number of degrees of freedom located per structCodim object. More...
|
|
The class for a reference Lagrangian finite element.
- Author
- J.-F. Gerbeau
- Date
- 04/2002
- How to add a new finite element ?
(1) in refEle.h : you declare the functions you need (fct1_Pipo_2D, derfct1_1_Pipo_2D, etc...), the static arrays containing these functions and the coordinates of the nodes on the reference element.
- (2) in defQuadRuleFE.cc : you define these functions (fct1_Pipo_2D, etc...)
- (3) in refFE.h, you declare your finite element:
- (4) in defQuadRuleFE.cc: you define your new element with a command like: See documentation of ReferenceFE::ReferenceFE(...) for a precise description of all arguments
Definition at line 115 of file ReferenceFE.hpp.