OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::FEInterpolation3d Class Referenceabstract

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

#include <feinterpol3d.h>

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

Public Member Functions

 FEInterpolation3d (int o)
 
virtual int giveNsd ()
 Returns number of spatial dimensions. More...
 
virtual double giveVolume (const FEICellGeometry &cellgeo) const
 Computes the exact volume. More...
 
virtual void boundaryEdgeGiveNodes (IntArray &answer, int boundary)
 Gives the boundary nodes for requested boundary number. More...
 
virtual void boundaryEdgeEvalN (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the basis functions on the requested boundary. More...
 
virtual double boundaryEdgeGiveTransformationJacobian (int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the determinant of the transformation Jacobian on the requested boundary. More...
 
virtual void boundaryEdgeLocal2Global (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Maps the local boundary coordinates to global. More...
 
virtual void boundarySurfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the array of edge interpolation functions (shape functions) at given point. More...
 
virtual void boundarySurfaceEvaldNdx (FloatMatrix &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. More...
 
virtual double boundarySurfaceEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the normal out of the surface at given point. More...
 
virtual void boundarySurfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates edge global coordinates from given local ones. More...
 
virtual double boundarySurfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the edge jacobian of transformation between local and global coordinates. More...
 
virtual void boundaryGiveNodes (IntArray &answer, int boundary)
 Gives the boundary nodes for requested boundary number. More...
 
virtual void boundaryEvalN (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the basis functions on the requested boundary. More...
 
virtual double boundaryEvalNormal (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the normal on the requested boundary. More...
 
virtual double boundaryGiveTransformationJacobian (int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the determinant of the transformation Jacobian on the requested boundary. More...
 
virtual void boundaryLocal2Global (FloatArray &answer, int boundary, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Maps the local boundary coordinates to global. More...
 
virtual IntegrationRulegiveBoundaryEdgeIntegrationRule (int order, int boundary)
 Sets up a suitable integration rule for integrating over the requested boundary. More...
 
virtual IntegrationRulegiveBoundaryIntegrationRule (int order, int boundary)
 Sets up a suitable integration rule for integrating over the requested boundary. More...
 
virtual void boundarySurfaceGiveNodes (IntArray &answer, int boundary)
 Gives the boundary nodes for requested boundary number. More...
 
Edge interpolation services
virtual void edgeEvalN (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the array of edge interpolation functions (shape functions) at given point. More...
 
virtual void edgeEvaldNdx (FloatMatrix &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. More...
 
virtual void edgeEvaldNdxi (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. More...
 
virtual void edgeLocal2global (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates edge global coordinates from given local ones. More...
 
virtual double edgeGiveTransformationJacobian (int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the edge jacobian of transformation between local and global coordinates. More...
 
virtual void computeLocalEdgeMapping (IntArray &edgeNodes, int iedge)=0
 
void computeEdgeMapping (IntArray &edgeNodes, IntArray &elemNodes, int iedge)
 
Surface interpolation services
virtual void surfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the array of edge interpolation functions (shape functions) at given point. More...
 
virtual void surfaceEvaldNdx (FloatMatrix &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of derivatives of edge interpolation functions (shape functions) at given point. More...
 
virtual double surfaceEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the normal out of the surface at given point. More...
 
virtual void surfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates edge global coordinates from given local ones. More...
 
virtual double surfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the edge jacobian of transformation between local and global coordinates. More...
 
virtual void computeLocalSurfaceMapping (IntArray &surfNodes, int isurf)=0
 
void computeSurfaceMapping (IntArray &surfNodes, IntArray &elemNodes, int isurf)
 
- Public Member Functions inherited from oofem::FEInterpolation
 FEInterpolation (int o)
 
virtual ~FEInterpolation ()
 
virtual IRResultType initializeFrom (InputRecord *ir)
 Initializes receiver according to object description stored in input record. More...
 
virtual int giveNumberOfNodes () const
 Returns the number of geometric nodes of the receiver. More...
 
std::string errorInfo (const char *func) const
 
virtual integrationDomain giveIntegrationDomain () const =0
 Returns the integration domain of the interpolator. More...
 
virtual Element_Geometry_Type giveGeometryType () const =0
 Returns the geometry type fo the interpolator. More...
 
int giveInterpolationOrder ()
 Returns the interpolation order. More...
 
virtual void evalN (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the array of interpolation functions (shape functions) at given point. More...
 
virtual double evaldNdx (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point. More...
 
virtual void evald2Ndx2 (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of second derivatives of interpolation functions (shape functions) at given point. More...
 
virtual void evaldNdxi (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point. More...
 
virtual void giveLocalNodeCoords (FloatMatrix &answer)
 Returns a matrix containing the local coordinates for each node corresponding to the interpolation. More...
 
virtual void local2global (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
 Evaluates global coordinates from given local ones. More...
 
virtual int global2local (FloatArray &answer, const FloatArray &gcoords, const FEICellGeometry &cellgeo)=0
 Evaluates local coordinates from given global ones. More...
 
virtual double giveTransformationJacobian (const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the determinant of the transformation. More...
 
virtual void giveJacobianMatrixAt (FloatMatrix &jacobianMatrix, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Gives the jacobian matrix at the local coordinates. More...
 
virtual IntegrationRulegiveIntegrationRule (int order)
 Sets up a suitable integration rule for numerical integrating over volume. More...
 
virtual integrationDomain giveBoundaryEdgeIntegrationDomain (int boundary) const =0
 Returns boundary integration domain. More...
 
virtual integrationDomain giveBoundarySurfaceIntegrationDomain (int boundary) const =0
 Returns boundary integration domain. More...
 
virtual IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary)
 Sets up a suitable integration rule for integrating over the requested boundary. More...
 
virtual double evalNXIntegral (int boundary, const FEICellGeometry &cellgeo)
 Computes the integral $ \int_S n \cdot x \mathrm{d}s $. More...
 
virtual integrationDomain giveBoundaryIntegrationDomain (int boundary) const =0
 Returns boundary integration domain. More...
 
virtual int giveKnotSpanBasisFuncMask (const IntArray &knotSpan, IntArray &mask)
 Returns indices (zero based) of nonzero basis functions for given knot span. More...
 
virtual int giveNumberOfKnotSpanBasisFunctions (const IntArray &knotSpan)
 Returns the number of nonzero basis functions at individual knot span,. More...
 
virtual bool hasSubPatchFormulation ()
 Returns true, if receiver is formulated on sub-patch basis. More...
 
virtual const double *const * giveKnotVector ()
 Returns the subdivision of patch parametric space. More...
 
virtual int giveNumberOfKnotSpans (int dim)
 Returns the number of knot spans of the receiver. More...
 
virtual const FloatArraygiveKnotValues (int dim)
 Returns the knot values of the receiver. More...
 
virtual const IntArraygiveKnotMultiplicity (int dim)
 Returns the knot multiplicity of the receiver. More...
 
virtual int giveNumberOfEdges () const
 Returns number of edges. More...
 

Additional Inherited Members

- Protected Attributes inherited from oofem::FEInterpolation
int order
 

Detailed Description

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

Definition at line 44 of file feinterpol3d.h.

Constructor & Destructor Documentation

oofem::FEInterpolation3d::FEInterpolation3d ( int  o)
inline

Definition at line 47 of file feinterpol3d.h.

Member Function Documentation

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

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 51 of file feinterpol3d.C.

References edgeEvalN().

void oofem::FEInterpolation3d::boundaryEdgeGiveNodes ( IntArray answer,
int  boundary 
)
virtual

Gives the boundary nodes for requested boundary number.

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

Implements oofem::FEInterpolation.

Definition at line 46 of file feinterpol3d.C.

References computeLocalEdgeMapping().

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

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

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 56 of file feinterpol3d.C.

References edgeGiveTransformationJacobian().

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

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

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 61 of file feinterpol3d.C.

References edgeLocal2global().

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

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 71 of file feinterpol3d.C.

References surfaceEvalN().

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

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

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 76 of file feinterpol3d.C.

References surfaceEvalNormal().

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

void oofem::FEInterpolation3d::boundaryGiveNodes ( IntArray answer,
int  boundary 
)
virtual

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 66 of file feinterpol3d.C.

References computeLocalSurfaceMapping().

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

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

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 81 of file feinterpol3d.C.

References surfaceGiveTransformationJacobian().

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

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 86 of file feinterpol3d.C.

References surfaceLocal2global().

Referenced by oofem::Tet1BubbleStokes::computeBoundarySurfaceLoadVector().

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

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 64 of file feinterpol3d.h.

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

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 63 of file feinterpol3d.h.

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

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 67 of file feinterpol3d.h.

void oofem::FEInterpolation3d::boundarySurfaceGiveNodes ( IntArray answer,
int  boundary 
)
virtual

Gives the boundary nodes for requested boundary number.

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

Implements oofem::FEInterpolation.

Definition at line 139 of file feinterpol3d.C.

References computeLocalSurfaceMapping().

virtual double oofem::FEInterpolation3d::boundarySurfaceGiveTransformationJacobian ( int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
inlinevirtual

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 73 of file feinterpol3d.h.

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

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.

void oofem::FEInterpolation3d::computeEdgeMapping ( IntArray edgeNodes,
IntArray elemNodes,
int  iedge 
)
virtual void oofem::FEInterpolation3d::edgeEvaldNdx ( FloatMatrix answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, oofem::FEI3dTrLin, oofem::FEI3dWedgeQuad, oofem::FEI3dLineLin, oofem::FEI3dTetLin, and oofem::FEI3dHexaLin.

void oofem::FEInterpolation3d::edgeEvaldNdxi ( FloatArray answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dTrQuad, oofem::FEI3dTrLin, and oofem::FEI3dHexaLin.

Definition at line 123 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by oofem::TransportGradientDirichlet::computeXi(), oofem::Shell7Base::edgeComputeBmatrixAt(), oofem::Shell7BaseXFEM::edgeComputeEnrichedBmatrixAt(), and oofem::Shell7Base::edgeEvalInitialCovarBaseVectorsAt().

virtual void oofem::FEInterpolation3d::edgeEvalN ( FloatArray answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTetQuad, oofem::FEI3dWedgeLin, oofem::FEI3dTrQuad, oofem::FEI3dTrLin, oofem::FEI3dWedgeQuad, oofem::FEI3dLineLin, oofem::FEI3dTetLin, and oofem::FEI3dHexaLin.

Referenced by boundaryEdgeEvalN(), oofem::Shell7Base::edgeComputeBmatrixAt(), oofem::Shell7BaseXFEM::edgeComputeEnrichedBmatrixAt(), oofem::Shell7BaseXFEM::edgeComputeEnrichedNmatrixAt(), oofem::Shell7Base::edgeComputeNmatrixAt(), oofem::Shell7Base::edgeEvalInitialDirectorAt(), and oofem::Shell7BaseXFEM::evaluateLevelSet().

virtual double oofem::FEInterpolation3d::edgeGiveTransformationJacobian ( int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, oofem::FEI3dWedgeQuad, oofem::FEI3dTrLin, oofem::FEI3dLineLin, oofem::FEI3dTetLin, and oofem::FEI3dHexaLin.

Referenced by boundaryEdgeGiveTransformationJacobian().

virtual void oofem::FEInterpolation3d::edgeLocal2global ( FloatArray answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrQuad, oofem::FEI3dWedgeLin, oofem::FEI3dWedgeQuad, oofem::FEI3dTrLin, oofem::FEI3dLineLin, oofem::FEI3dTetLin, and oofem::FEI3dHexaLin.

Referenced by boundaryEdgeLocal2Global(), oofem::Shell7BaseXFEM::computeEnrTractionForce(), and oofem::Shell7BaseXFEM::edgeComputeEnrichedNmatrixAt().

IntegrationRule * oofem::FEInterpolation3d::giveBoundaryEdgeIntegrationRule ( int  order,
int  boundary 
)
virtual

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 115 of file feinterpol3d.C.

References oofem::_Line, oofem::IntegrationRule::getRequiredNumberOfIntegrationPoints(), and oofem::IntegrationRule::SetUpPointsOnLine().

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

virtual IntegrationRule* oofem::FEInterpolation3d::giveBoundaryIntegrationRule ( int  order,
int  boundary 
)
inlinevirtual

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.

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

Definition at line 195 of file feinterpol3d.h.

References OOFEM_ERROR.

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

virtual int oofem::FEInterpolation3d::giveNsd ( )
inlinevirtual

Returns number of spatial dimensions.

Implements oofem::FEInterpolation.

Definition at line 48 of file feinterpol3d.h.

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::FEI3dTetQuad, and oofem::FEI3dLineLin.

Definition at line 40 of file feinterpol3d.C.

References OOFEM_ERROR.

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

void oofem::FEInterpolation3d::surfaceEvaldNdx ( FloatMatrix answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTrQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dTetLin, and oofem::FEI3dHexaLin.

Definition at line 128 of file feinterpol3d.C.

References OOFEM_ERROR.

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

virtual void oofem::FEInterpolation3d::surfaceEvalN ( FloatArray answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTrQuad, oofem::FEI3dTetQuad, oofem::FEI3dWedgeLin, oofem::FEI3dTrLin, oofem::FEI3dWedgeQuad, oofem::FEI3dTetLin, oofem::FEI3dHexaLin, oofem::FEI3dLineLin, and oofem::FEI3dHexaTriQuad.

Referenced by boundaryEvalN().

double oofem::FEInterpolation3d::surfaceEvalNormal ( FloatArray answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTrQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dWedgeQuad, oofem::FEI3dHexaLin, oofem::FEI3dTetLin, oofem::FEI3dLineLin, and oofem::FEI3dHexaTriQuad.

Definition at line 133 of file feinterpol3d.C.

References OOFEM_ERROR.

Referenced by boundaryEvalNormal().

virtual double oofem::FEInterpolation3d::surfaceGiveTransformationJacobian ( int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTrQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dWedgeLin, oofem::FEI3dWedgeQuad, oofem::FEI3dTetLin, oofem::FEI3dHexaLin, and oofem::FEI3dLineLin.

Referenced by boundaryGiveTransformationJacobian().

virtual void oofem::FEInterpolation3d::surfaceLocal2global ( FloatArray answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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::FEI3dHexaQuad, oofem::FEI3dTrQuad, oofem::FEI3dTetQuad, oofem::FEI3dTrLin, oofem::FEI3dWedgeLin, oofem::FEI3dWedgeQuad, oofem::FEI3dTetLin, oofem::FEI3dHexaLin, and oofem::FEI3dLineLin.

Referenced by boundaryLocal2Global().


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:35 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011