OOFEM 3.0
Loading...
Searching...
No Matches
oofem::FEInterpolation3d Class Referenceabstract

#include <feinterpol3d.h>

Inheritance diagram for oofem::FEInterpolation3d:
Collaboration diagram for oofem::FEInterpolation3d:

Public Member Functions

 FEInterpolation3d (int o)
int giveNsd (const Element_Geometry_Type) const override
virtual double giveVolume (const FEICellGeometry &cellgeo) const
IntArray boundaryEdgeGiveNodes (int boundary, const Element_Geometry_Type, bool includeHierarchical=false) const override
void boundaryEdgeEvalN (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundaryEdgeGiveTransformationJacobian (int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void boundaryEdgeLocal2Global (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundaryEdgeEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void boundarySurfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void boundarySurfaceEvaldNdx (FloatMatrix &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundarySurfaceEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void boundarySurfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundarySurfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
FloatMatrixF< 3, 3 > surfaceGiveJacobianMatrixAt (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
IntArray boundaryGiveNodes (int boundary, const Element_Geometry_Type) const override
void boundaryEvalN (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundaryEvalNormal (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double boundaryGiveTransformationJacobian (int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void boundaryLocal2Global (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
Edge interpolation services
virtual void edgeEvalN (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual double edgeEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void edgeEvaldNdx (FloatMatrix &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual void edgeEvaldNdxi (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void edgeLocal2global (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual double edgeGiveTransformationJacobian (int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual IntArray computeLocalEdgeMapping (int iedge) const =0
IntArray computeEdgeMapping (const IntArray &elemNodes, int iedge) const
Surface interpolation services
virtual void surfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual void surfaceEvaldNdx (FloatMatrix &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual double surfaceEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
void surfaceEvaldNdxi (FloatMatrix &answer, const FloatArray &lcoords) const override
void surfaceEvald2Ndxi2 (FloatMatrix &answer, const FloatArray &lcoords) const override
virtual std::tuple< FloatArrayF< 3 >, FloatArrayF< 3 > > surfaceEvalBaseVectorsAt (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual std::tuple< double, FloatArrayF< 3 > > surfaceEvalUnitNormal (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void surfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual double surfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual IntArray computeLocalSurfaceMapping (int isurf) const =0
IntArray computeSurfaceMapping (const IntArray &elemNodes, int isurf) const
std::unique_ptr< IntegrationRulegiveBoundaryEdgeIntegrationRule (int order, int boundary, const Element_Geometry_Type) const override
std::unique_ptr< IntegrationRulegiveBoundaryIntegrationRule (int _order, int boundary, const Element_Geometry_Type) const override
IntArray boundarySurfaceGiveNodes (int boundary, Element_Geometry_Type, bool includeHierarchical=false) const override
Public Member Functions inherited from oofem::FEInterpolation
 FEInterpolation (int o)
virtual ~FEInterpolation ()=default
virtual void initializeFrom (InputRecord &ir, ParameterManager &pm, int elnum, int priority)
 Initializes receiver according to object description stored in input record.
virtual void postInitialize (ParameterManager &pm, int elnum)
virtual integrationDomain giveIntegrationDomain (const Element_Geometry_Type) const =0
virtual const Element_Geometry_Type giveGeometryType () const =0
int giveInterpolationOrder () const
virtual void giveCellDofMans (IntArray &nodes, IntArray &internalDofMans, Element *elem) const
 Returns list of element nodes (and list of internal dof managers) (including on edges and surfaces) defining the approximation.
virtual void evalN (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual double evaldNdx (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual void evald2Ndx2 (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void evaldNdxi (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void giveLocalNodeCoords (FloatMatrix &answer, const Element_Geometry_Type) const
virtual void local2global (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const =0
virtual int global2local (FloatArray &answer, const FloatArray &gcoords, const FEICellGeometry &cellgeo) const =0
virtual double giveTransformationJacobian (const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void giveJacobianMatrixAt (FloatMatrix &jacobianMatrix, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual std::unique_ptr< IntegrationRulegiveIntegrationRule (int order, const Element_Geometry_Type) const
virtual integrationDomain giveBoundaryEdgeIntegrationDomain (int boundary, const Element_Geometry_Type) const =0
 Returns boundary integration domain.
virtual integrationDomain giveBoundarySurfaceIntegrationDomain (int boundary, const Element_Geometry_Type) const =0
 Returns boundary integration domain.
virtual std::unique_ptr< IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary, const Element_Geometry_Type) const
virtual double evalNXIntegral (int boundary, const FEICellGeometry &cellgeo) const
virtual integrationDomain giveBoundaryIntegrationDomain (int boundary, const Element_Geometry_Type) const =0
 Returns boundary integration domain.
virtual const Element_Geometry_Type giveBoundaryGeometryType (int boundary) const =0
virtual int giveKnotSpanBasisFuncMask (const IntArray &knotSpan, IntArray &mask) const
virtual int giveNumberOfKnotSpanBasisFunctions (const IntArray &knotSpan) const
virtual bool hasSubPatchFormulation () const
virtual const FloatArraygiveKnotVector () const
virtual int giveNumberOfKnotSpans (int dim) const
virtual const FloatArraygiveKnotValues (int dim) const
virtual const IntArraygiveKnotMultiplicity (int dim) const
virtual int giveNumberOfEdges (const Element_Geometry_Type) const
virtual int giveNumberOfNodes (const Element_Geometry_Type) const
virtual void initializeCell (Element *e) const
std::string errorInfo (const char *func) const

Additional Inherited Members

Protected Attributes inherited from oofem::FEInterpolation
int order = 0

Detailed Description

Class representing a general abstraction for surface finite element interpolation class.

Definition at line 44 of file feinterpol3d.h.

Constructor & Destructor Documentation

◆ FEInterpolation3d()

Member Function Documentation

◆ boundaryEdgeEvalN()

void oofem::FEInterpolation3d::boundaryEdgeEvalN ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the basis functions on the requested boundary. Only basis functions that are nonzero anywhere on the boundary are given. Ordering can be obtained from giveBoundaryNodes. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
answerBasis functions Array to be filled with the boundary nodes.
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.
Todo

Implements oofem::FEInterpolation.

Definition at line 52 of file feinterpol3d.C.

References edgeEvalN().

◆ boundaryEdgeEvalNormal()

double oofem::FEInterpolation3d::boundaryEdgeEvalNormal ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
inlineoverridevirtual

Evaluates the normal out of the edge at given point.

Parameters
answerContains resulting normal vector.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian.

Implements oofem::FEInterpolation.

Definition at line 61 of file feinterpol3d.h.

References edgeEvalNormal().

◆ boundaryEdgeGiveNodes()

IntArray oofem::FEInterpolation3d::boundaryEdgeGiveNodes ( int boundary,
const Element_Geometry_Type ,
bool includeHierarchical = false ) const
overridevirtual

Gives the boundary nodes for requested boundary number.

Parameters
answerArray to be filled with the boundary nodes.
boundaryBoundary number.
includeHierarchicalIf true, include hierarchical nodes, introduced by interpolations on universal cells (mpm)

Implements oofem::FEInterpolation.

Definition at line 47 of file feinterpol3d.C.

References computeLocalEdgeMapping().

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ boundaryEdgeGiveTransformationJacobian()

double oofem::FEInterpolation3d::boundaryEdgeGiveTransformationJacobian ( int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the determinant of the transformation Jacobian on the requested boundary. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.
Returns
The determinant of the boundary transformation Jacobian.

Implements oofem::FEInterpolation.

Definition at line 57 of file feinterpol3d.C.

References edgeGiveTransformationJacobian().

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ boundaryEdgeLocal2Global()

void oofem::FEInterpolation3d::boundaryEdgeLocal2Global ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Maps the local boundary coordinates to global. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
answerGlobal coordinates.
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 62 of file feinterpol3d.C.

References edgeLocal2global().

◆ boundaryEvalN()

void oofem::FEInterpolation3d::boundaryEvalN ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the basis functions on the requested boundary. Only basis functions that are nonzero anywhere on the boundary are given. Ordering can be obtained from giveBoundaryNodes. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
answerBasis functions Array to be filled with the boundary nodes.
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 72 of file feinterpol3d.C.

References surfaceEvalN().

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ boundaryEvalNormal()

double oofem::FEInterpolation3d::boundaryEvalNormal ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the normal on the requested boundary.

Parameters
answerThe evaluated normal.
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.
Returns
The boundary transformation Jacobian.

Implements oofem::FEInterpolation.

Definition at line 77 of file feinterpol3d.C.

References surfaceEvalNormal().

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ boundaryGiveNodes()

IntArray oofem::FEInterpolation3d::boundaryGiveNodes ( int boundary,
const Element_Geometry_Type  ) const
overridevirtual

Gives the boundary nodes for requested boundary number. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
answerArray to be filled with the boundary nodes.
boundaryBoundary number.

Implements oofem::FEInterpolation.

Definition at line 67 of file feinterpol3d.C.

References computeLocalSurfaceMapping().

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ boundaryGiveTransformationJacobian()

double oofem::FEInterpolation3d::boundaryGiveTransformationJacobian ( int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the determinant of the transformation Jacobian on the requested boundary. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.
Returns
The determinant of the boundary transformation Jacobian.

Implements oofem::FEInterpolation.

Definition at line 82 of file feinterpol3d.C.

References surfaceGiveTransformationJacobian().

◆ boundaryLocal2Global()

void oofem::FEInterpolation3d::boundaryLocal2Global ( FloatArray & answer,
int boundary,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Maps the local boundary coordinates to global. Boundaries are defined as the corner nodes for 1D geometries, edges for 2D geometries and surfaces for 3D geometries.

Parameters
answerGlobal coordinates.
boundaryBoundary number.
lcoordsThe local coordinates (on the boundary local coordinate system).
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 87 of file feinterpol3d.C.

References surfaceLocal2global().

◆ boundarySurfaceEvaldNdx()

void oofem::FEInterpolation3d::boundarySurfaceEvaldNdx ( FloatMatrix & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
inlineoverridevirtual

Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. These derivatives are in global coordinate system (where the nodal coordinates are defined).

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNj/dxi.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 67 of file feinterpol3d.h.

References surfaceEvaldNdx().

◆ boundarySurfaceEvalN()

void oofem::FEInterpolation3d::boundarySurfaceEvalN ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
inlineoverridevirtual

Evaluates the array of edge interpolation functions (shape functions) at given point.

Parameters
answerContains resulting array of evaluated interpolation functions.
isurfSurface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 65 of file feinterpol3d.h.

References surfaceEvalN().

◆ boundarySurfaceEvalNormal()

double oofem::FEInterpolation3d::boundarySurfaceEvalNormal ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the normal out of the surface at given point.

Parameters
answerContains resulting normal vector.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian.

Implements oofem::FEInterpolation.

Definition at line 218 of file feinterpol3d.C.

References N, and surfaceEvalUnitNormal().

◆ boundarySurfaceGiveNodes()

IntArray oofem::FEInterpolation3d::boundarySurfaceGiveNodes ( int boundary,
Element_Geometry_Type ,
bool includeHierarchical = false ) const
overridevirtual

Gives the boundary nodes for requested boundary number.

Parameters
answerArray to be filled with the boundary nodes.
boundaryBoundary number.
includeHierarchicalIf true, include hierarchical nodes, introduced by interpolations on universal cells (mpm)

Implements oofem::FEInterpolation.

Definition at line 137 of file feinterpol3d.C.

References computeLocalSurfaceMapping().

◆ boundarySurfaceGiveTransformationJacobian()

double oofem::FEInterpolation3d::boundarySurfaceGiveTransformationJacobian ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
inlineoverridevirtual

Evaluates the edge jacobian of transformation between local and global coordinates.

Parameters
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Determinant of the transformation.

Implements oofem::FEInterpolation.

Definition at line 72 of file feinterpol3d.h.

References surfaceGiveTransformationJacobian().

◆ boundarySurfaceLocal2global()

void oofem::FEInterpolation3d::boundarySurfaceLocal2global ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
inlineoverridevirtual

Evaluates edge global coordinates from given local ones. These derivatives are in global coordinate system (where the nodal coordinates are defined).

Parameters
answerContains resulting global coordinates.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implements oofem::FEInterpolation.

Definition at line 70 of file feinterpol3d.h.

References surfaceLocal2global().

◆ computeEdgeMapping()

IntArray oofem::FEInterpolation3d::computeEdgeMapping ( const IntArray & elemNodes,
int iedge ) const

Definition at line 92 of file feinterpol3d.C.

References oofem::IntArray::at(), and computeLocalEdgeMapping().

Referenced by computeLocalEdgeMapping().

◆ computeLocalEdgeMapping()

◆ computeLocalSurfaceMapping()

◆ computeSurfaceMapping()

IntArray oofem::FEInterpolation3d::computeSurfaceMapping ( const IntArray & elemNodes,
int isurf ) const

Definition at line 103 of file feinterpol3d.C.

References oofem::IntArray::at(), and computeLocalSurfaceMapping().

Referenced by computeLocalSurfaceMapping().

◆ edgeEvaldNdx()

virtual void oofem::FEInterpolation3d::edgeEvaldNdx ( FloatMatrix & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. These derivatives are in global coordinate system (where the nodal coordinates are defined)

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNj/dxi.
iedgeDetermines the edge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

References edgeEvaldNdxi().

◆ edgeEvaldNdxi()

void oofem::FEInterpolation3d::edgeEvaldNdxi ( FloatArray & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. These derivatives are in local (parent) coordinate system

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dN_j/dxi_i.
iedgeDetermines the edge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Reimplemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dQuadLin, oofem::FEI3dTrLin, and oofem::FEI3dTrQuad.

Definition at line 122 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by oofem::TransportGradientDirichlet::computeXi(), and edgeEvaldNdx().

◆ edgeEvalN()

virtual void oofem::FEInterpolation3d::edgeEvalN ( FloatArray & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates the array of edge interpolation functions (shape functions) at given point.

Parameters
answerContains resulting array of evaluated interpolation functions.
iedgeEdge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

References edgeEvalNormal().

Referenced by boundaryEdgeEvalN().

◆ edgeEvalNormal()

double oofem::FEInterpolation3d::edgeEvalNormal ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the normal out of the edge at given point.

Parameters
answerContains resulting normal vector.
isurfDetermines the edge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian.

Definition at line 132 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by boundaryEdgeEvalNormal(), and edgeEvalN().

◆ edgeGiveTransformationJacobian()

virtual double oofem::FEInterpolation3d::edgeGiveTransformationJacobian ( int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates the edge jacobian of transformation between local and global coordinates.

Parameters
iedgeDetermines edge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Determinant of the transformation.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

Referenced by boundaryEdgeGiveTransformationJacobian().

◆ edgeLocal2global()

virtual void oofem::FEInterpolation3d::edgeLocal2global ( FloatArray & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates edge global coordinates from given local ones. These derivatives are in global coordinate system (where the nodal coordinates are defined).

Parameters
answerContains resulting global coordinates.
iedgeDetermines edge number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

Referenced by boundaryEdgeLocal2Global().

◆ giveBoundaryEdgeIntegrationRule()

std::unique_ptr< IntegrationRule > oofem::FEInterpolation3d::giveBoundaryEdgeIntegrationRule ( int order,
int boundary,
const Element_Geometry_Type egt ) const
overridevirtual

Sets up a suitable integration rule for integrating over the requested boundary. The required polynomial order for the determinant of the jacobian is added automatically.

Parameters
orderPolynomial order of the integrand (should NOT including determinant of jacobian).
boundaryBoundary number.

Reimplemented from oofem::FEInterpolation.

Definition at line 114 of file feinterpol3d.C.

References oofem::_Line, and oofem::FEInterpolation::order.

Referenced by computeLocalSurfaceMapping(), and oofem::TransportGradientDirichlet::computeXi().

◆ giveBoundaryIntegrationRule()

std::unique_ptr< IntegrationRule > oofem::FEInterpolation3d::giveBoundaryIntegrationRule ( int order,
int boundary,
const Element_Geometry_Type egt ) const
inlineoverridevirtual

Sets up a suitable integration rule for integrating over the requested boundary. The required polynomial order for the determinant of the jacobian is added automatically.

Parameters
orderPolynomial order of the integrand (should NOT including determinant of jacobian).
boundaryBoundary number.

Reimplemented from oofem::FEInterpolation.

Definition at line 234 of file feinterpol3d.h.

References OOFEM_ERROR.

Referenced by oofem::TransportGradientDirichlet::computeXi().

◆ giveNsd()

int oofem::FEInterpolation3d::giveNsd ( const Element_Geometry_Type ) const
inlineoverridevirtual

Returns number of spatial dimensions.

Implements oofem::FEInterpolation.

Definition at line 48 of file feinterpol3d.h.

◆ giveVolume()

double oofem::FEInterpolation3d::giveVolume ( const FEICellGeometry & cellgeo) const
virtual

Computes the exact volume.

Parameters
cellgeoCell geometry for the element.
Returns
Volume of geometry.

Reimplemented in oofem::FEI3dLineLin, and oofem::FEI3dTetQuad.

Definition at line 42 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by oofem::Element::computeVolume().

◆ surfaceEvalBaseVectorsAt()

std::tuple< FloatArrayF< 3 >, FloatArrayF< 3 > > oofem::FEInterpolation3d::surfaceEvalBaseVectorsAt ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the tangent vectors of the surface at given point.

Parameters
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian .
tangent vectors

Definition at line 174 of file feinterpol3d.C.

References computeLocalSurfaceMapping(), oofem::FEICellGeometry::giveVertexCoordinates(), and surfaceEvaldNdxi().

Referenced by oofem::FEContactSurface::computeContactPointLocalCoordinates_3d(), surfaceEvalN(), surfaceEvalNormal(), surfaceEvalUnitNormal(), and surfaceGiveJacobianMatrixAt().

◆ surfaceEvald2Ndxi2()

void oofem::FEInterpolation3d::surfaceEvald2Ndxi2 ( FloatMatrix & answer,
const FloatArray & lcoords ) const
overridevirtual

Evaluates the matrix of second derivatives of surface interpolation functions (shape functions) wrt parametric coordinates at given point.

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNj/dxi.
lcoordsArray containing (local) coordinates.

Reimplemented from oofem::FEInterpolation.

Definition at line 167 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by oofem::FEContactSurface::computeContactPointLocalCoordinates_3d(), and surfaceEvalN().

◆ surfaceEvaldNdx()

void oofem::FEInterpolation3d::surfaceEvaldNdx ( FloatMatrix & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. These derivatives are in global coordinate system (where the nodal coordinates are defined).

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNj/dxi.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Reimplemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, and oofem::FEI3dTrQuad.

Definition at line 127 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by boundarySurfaceEvaldNdx(), oofem::SurfaceTensionBoundaryCondition::computeLoadVectorFromElement(), oofem::TransportGradientDirichlet::computeXi(), and surfaceEvalN().

◆ surfaceEvaldNdxi()

void oofem::FEInterpolation3d::surfaceEvaldNdxi ( FloatMatrix & answer,
const FloatArray & lcoords ) const
overridevirtual

Evaluates the matrix of derivatives of surface interpolation functions (shape functions) wrt parametric coordinates at given point.

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNj/dxi.
lcoordsArray containing (local) coordinates.

Reimplemented from oofem::FEInterpolation.

Definition at line 162 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by surfaceEvalBaseVectorsAt(), and surfaceEvalN().

◆ surfaceEvalN()

virtual void oofem::FEInterpolation3d::surfaceEvalN ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates the array of edge interpolation functions (shape functions) at given point.

Parameters
answerContains resulting array of evaluated interpolation functions.
isurfSurface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dHexaTriQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

References surfaceEvalBaseVectorsAt(), surfaceEvald2Ndxi2(), surfaceEvaldNdx(), surfaceEvaldNdxi(), surfaceEvalNormal(), and surfaceEvalUnitNormal().

Referenced by boundaryEvalN(), and boundarySurfaceEvalN().

◆ surfaceEvalNormal()

double oofem::FEInterpolation3d::surfaceEvalNormal ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the normal out of the surface at given point.

Parameters
answerContains resulting normal vector.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian.

Reimplemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dHexaTriQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, and oofem::FEI3dWedgeQuad.

Definition at line 143 of file feinterpol3d.C.

References oofem::cross(), oofem::norm(), and surfaceEvalBaseVectorsAt().

Referenced by boundaryEvalNormal(), and surfaceEvalN().

◆ surfaceEvalUnitNormal()

std::tuple< double, FloatArrayF< 3 > > oofem::FEInterpolation3d::surfaceEvalUnitNormal ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
virtual

Evaluates the unit normal out of the surface at given point.

Parameters
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Surface mapping jacobian .
unit normal vector

Definition at line 153 of file feinterpol3d.C.

References oofem::cross(), oofem::norm(), and surfaceEvalBaseVectorsAt().

Referenced by boundarySurfaceEvalNormal(), surfaceEvalN(), and surfaceGiveTransformationJacobian().

◆ surfaceGiveJacobianMatrixAt()

FloatMatrixF< 3, 3 > oofem::FEInterpolation3d::surfaceGiveJacobianMatrixAt ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const

◆ surfaceGiveTransformationJacobian()

double oofem::FEInterpolation3d::surfaceGiveTransformationJacobian ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates the edge jacobian of transformation between local and global coordinates.

Parameters
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Determinant of the transformation.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

Definition at line 207 of file feinterpol3d.C.

References N, and surfaceEvalUnitNormal().

Referenced by boundaryGiveTransformationJacobian(), boundarySurfaceGiveTransformationJacobian(), and surfaceLocal2global().

◆ surfaceLocal2global()

virtual void oofem::FEInterpolation3d::surfaceLocal2global ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
pure virtual

Evaluates edge global coordinates from given local ones. These derivatives are in global coordinate system (where the nodal coordinates are defined).

Parameters
answerContains resulting global coordinates.
isurfDetermines the surface number.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Implemented in oofem::FEI3dHexaConst, oofem::FEI3dHexaLin, oofem::FEI3dHexaQuad, oofem::FEI3dLineLin, oofem::FEI3dQuadLin, oofem::FEI3dTetLin, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, and oofem::FEI3dWedgeQuad.

References surfaceGiveTransformationJacobian().

Referenced by boundaryLocal2Global(), and boundarySurfaceLocal2global().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011