LifeV
GeometricMap Class Reference

GeometricMap - Structure for the geometrical mapping. More...

#include <GeometricMap.hpp>

+ Inheritance diagram for GeometricMap:
+ Collaboration diagram for GeometricMap:

Private Attributes

const GeometricMapM_boundaryMap
 

Public Types

typedef ReferenceElement::function_Type function_Type
 

Constructor & Destructor

 GeometricMap (std::string name, ReferenceShapes shape, UInt nbDof, UInt nbLocalCoor, const function_Type *phi, const function_Type *dPhi, const function_Type *d2Phi, const Real *refCoor, const GeometricMap *bdMap)
 Full Constructor of a geo map. More...
 
 ~GeometricMap ()
 Destructor. More...
 

Get Methods

const GeometricMapboundaryMap () const
 return the natural mapping for the boundary of the element More...
 

Private Methods

 GeometricMap ()
 No empty constructor. More...
 
 GeometricMap (const GeometricMap &)
 No copy constructor. More...
 

Additional Inherited Members

- Public Types inherited from ReferenceElement
typedef Real(* function_Type) (const GeoVector &)
 
- Public Member Functions inherited from ReferenceElement
 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< GeoVectorrefCoor () 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< RealnodalToFEValues (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 UIntnbDof () 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 UIntnbLocalCoor () const
 Return the number of local coordinates. More...
 
const UIntfeDim () const
 Return the dimension of the FE (scalar vs vectorial FE) More...
 
const ReferenceShapesshape () 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...
 

Detailed Description

GeometricMap - Structure for the geometrical mapping.

Author
J.-F. Gerbeau
Date
04/2002

Modified by S. Quinodoz (samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch, 04.2010)

Definition at line 59 of file GeometricMap.hpp.

Member Typedef Documentation

◆ function_Type

typedef ReferenceElement::function_Type function_Type

Definition at line 67 of file GeometricMap.hpp.

Constructor & Destructor Documentation

◆ GeometricMap() [1/3]

GeometricMap ( std::string  name,
ReferenceShapes  shape,
UInt  nbDof,
UInt  nbLocalCoor,
const function_Type phi,
const function_Type dPhi,
const function_Type d2Phi,
const Real refCoor,
const GeometricMap bdMap 
)

Full Constructor of a geo map.

Parameters
name: the name of the f.e.
shape: the geometry belongs to enum ReferenceShapes {NONE, POINT, LINE, TRIANGLE, QUAD, HEXA, PRISM, TETRA}; (see ElementShapes.h)
nbDof: the total number of d.o.f.
nbLocalCoor: number of local coordinates
phi: the static array containing the basis functions (defined in refEle.h)
dPhi: the static array containing the derivatives of the basis functions (defined in refEle.h)
d2Phi: the static array containing the second derivatives of the basis functions (defined in refEle.h)
refCoor: the static array containing the coordinates of the nodes on the reference element (defined in refEle.h)
bdMap: a pointer on the natural associated mapping for the boundary of the element

Definition at line 51 of file GeometricMap.cpp.

+ Here is the caller graph for this function:

◆ ~GeometricMap()

Destructor.

Definition at line 59 of file GeometricMap.cpp.

◆ GeometricMap() [2/3]

GeometricMap ( )
private

No empty constructor.

◆ GeometricMap() [3/3]

GeometricMap ( const GeometricMap )
private

No copy constructor.

Member Function Documentation

◆ boundaryMap()

const GeometricMap& boundaryMap ( ) const
inline

return the natural mapping for the boundary of the element

Definition at line 107 of file GeometricMap.hpp.

Field Documentation

◆ M_boundaryMap

const GeometricMap* M_boundaryMap
private

Definition at line 128 of file GeometricMap.hpp.


The documentation for this class was generated from the following files: