OOFEM 3.0
Loading...
Searching...
No Matches
oofem::FEI3dQuadLin Class Reference

#include <fei3dquadlin.h>

Inheritance diagram for oofem::FEI3dQuadLin:
Collaboration diagram for oofem::FEI3dQuadLin:

Public Member Functions

 FEI3dQuadLin ()
integrationDomain giveIntegrationDomain (const Element_Geometry_Type) const override
const Element_Geometry_Type giveGeometryType () const override
const Element_Geometry_Type giveBoundaryGeometryType (int boundary) const override
integrationDomain giveBoundaryIntegrationDomain (int ib, const Element_Geometry_Type) const override
 Returns boundary integration domain.
integrationDomain giveBoundarySurfaceIntegrationDomain (int isurf, const Element_Geometry_Type) const override
 Returns boundary integration domain.
integrationDomain giveBoundaryEdgeIntegrationDomain (int iedge, const Element_Geometry_Type) const override
 Returns boundary integration domain.
void evalN (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double evaldNdx (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void evaldNdxi (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void giveJacobianMatrixAt (FloatMatrix &jacobianMatrix, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void local2global (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
int global2local (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double giveTransformationJacobian (const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void edgeEvalN (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void edgeEvaldNdxi (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void edgeEvaldNdx (FloatMatrix &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void edgeLocal2global (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double edgeGiveTransformationJacobian (int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
IntArray computeLocalEdgeMapping (int iedge) const override
int giveNumberOfEdges (const Element_Geometry_Type) const override
void surfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void surfaceEvaldNdx (FloatMatrix &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void surfaceEvaldNdxi (FloatMatrix &answer, const FloatArray &lcoords) const override
void surfaceEvald2Ndxi2 (FloatMatrix &answer, const FloatArray &lcoords) const override
double surfaceEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
void surfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
double surfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const override
IntArray computeLocalSurfaceMapping (int iedge) const override
void surfaceEvalBaseVectorsAt (FloatArray &G1, FloatArray &G2, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
void surfaceGiveJacobianMatrixAt (FloatMatrix &jacobianMatrix, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
std::unique_ptr< IntegrationRulegiveIntegrationRule (int order, const Element_Geometry_Type) const override
std::unique_ptr< IntegrationRulegiveBoundaryIntegrationRule (int order, int boundary, const Element_Geometry_Type) const override
double giveArea (const FEICellGeometry &cellgeo) const
int giveNumberOfNodes (const Element_Geometry_Type) const override
Public Member Functions inherited from oofem::FEInterpolation3d
 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
virtual double edgeEvalNormal (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
IntArray computeEdgeMapping (const IntArray &elemNodes, int iedge) 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
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)
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 evald2Ndx2 (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
virtual void giveLocalNodeCoords (FloatMatrix &answer, const Element_Geometry_Type) const
virtual std::unique_ptr< IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary, const Element_Geometry_Type) const
virtual double evalNXIntegral (int boundary, const FEICellGeometry &cellgeo) const
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 void initializeCell (Element *e) const
std::string errorInfo (const char *func) const

Protected Member Functions

double edgeComputeLength (const IntArray &edgeNodes, const FEICellGeometry &cellgeo) const
double computeVolume (const FEICellGeometry &cellgeo) const

Additional Inherited Members

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

Detailed Description

First order (linear) quad interpolation in 3D space (4 nodes).

Todo
This class is entirely unchecked.

Definition at line 45 of file fei3dquadlin.h.

Constructor & Destructor Documentation

◆ FEI3dQuadLin()

oofem::FEI3dQuadLin::FEI3dQuadLin ( )
inline

Definition at line 48 of file fei3dquadlin.h.

References oofem::FEInterpolation3d::FEInterpolation3d().

Member Function Documentation

◆ computeLocalEdgeMapping()

IntArray oofem::FEI3dQuadLin::computeLocalEdgeMapping ( int iedge) const
overridevirtual

Implements oofem::FEInterpolation3d.

Definition at line 151 of file fei3dquadlin.C.

Referenced by edgeLocal2global().

◆ computeLocalSurfaceMapping()

IntArray oofem::FEI3dQuadLin::computeLocalSurfaceMapping ( int iedge) const
overridevirtual

Implements oofem::FEInterpolation3d.

Definition at line 314 of file fei3dquadlin.C.

◆ computeVolume()

double oofem::FEI3dQuadLin::computeVolume ( const FEICellGeometry & cellgeo) const
protected

◆ edgeComputeLength()

double oofem::FEI3dQuadLin::edgeComputeLength ( const IntArray & edgeNodes,
const FEICellGeometry & cellgeo ) const
protected
Todo
Implement this

Definition at line 168 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ edgeEvaldNdx()

void oofem::FEI3dQuadLin::edgeEvaldNdx ( FloatMatrix & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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.

Implements oofem::FEInterpolation3d.

Definition at line 111 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ edgeEvaldNdxi()

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

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 from oofem::FEInterpolation3d.

Definition at line 118 of file fei3dquadlin.C.

References oofem::FloatArray::resize().

◆ edgeEvalN()

void oofem::FEI3dQuadLin::edgeEvalN ( FloatArray & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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.

Implements oofem::FEInterpolation3d.

Definition at line 100 of file fei3dquadlin.C.

References oofem::FloatArray::at(), and oofem::FloatArray::resize().

Referenced by edgeLocal2global().

◆ edgeGiveTransformationJacobian()

double oofem::FEI3dQuadLin::edgeGiveTransformationJacobian ( int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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.
Todo
Implement this

Implements oofem::FEInterpolation3d.

Definition at line 141 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ edgeLocal2global()

void oofem::FEI3dQuadLin::edgeLocal2global ( FloatArray & answer,
int iedge,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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.

Implements oofem::FEInterpolation3d.

Definition at line 126 of file fei3dquadlin.C.

References oofem::FloatArray::add(), computeLocalEdgeMapping(), edgeEvalN(), oofem::FEICellGeometry::giveVertexCoordinates(), N, and oofem::FloatArray::resize().

◆ evaldNdx()

double oofem::FEI3dQuadLin::evaldNdx ( FloatMatrix & answer,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the matrix of derivatives of 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 dNi/dxj.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.
Returns
Determinant of the Jacobian.

Implements oofem::FEInterpolation.

Definition at line 51 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ evaldNdxi()

void oofem::FEI3dQuadLin::evaldNdxi ( FloatMatrix & answer,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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

Parameters
answerContains resulting matrix of derivatives, the member at i,j position contains value of dNi/dxij.
lcoordsArray containing (local) coordinates.
cellgeoUnderlying cell geometry.

Reimplemented from oofem::FEInterpolation.

Definition at line 59 of file fei3dquadlin.C.

References surfaceEvaldNdxi().

◆ evalN()

void oofem::FEI3dQuadLin::evalN ( FloatArray & answer,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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

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

Implements oofem::FEInterpolation.

Definition at line 45 of file fei3dquadlin.C.

References surfaceEvalN().

Referenced by local2global().

◆ giveArea()

double oofem::FEI3dQuadLin::giveArea ( const FEICellGeometry & cellgeo) const
Todo
Not sure about what defines boundaries on these elements.

Definition at line 341 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ giveBoundaryEdgeIntegrationDomain()

integrationDomain oofem::FEI3dQuadLin::giveBoundaryEdgeIntegrationDomain ( int boundary,
const Element_Geometry_Type  ) const
inlineoverridevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Definition at line 56 of file fei3dquadlin.h.

References oofem::_Line.

◆ giveBoundaryGeometryType()

const Element_Geometry_Type oofem::FEI3dQuadLin::giveBoundaryGeometryType ( int boundary) const
inlineoverridevirtual

Returns boundary geometry type

Implements oofem::FEInterpolation.

Definition at line 52 of file fei3dquadlin.h.

◆ giveBoundaryIntegrationDomain()

integrationDomain oofem::FEI3dQuadLin::giveBoundaryIntegrationDomain ( int boundary,
const Element_Geometry_Type  ) const
inlineoverridevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Definition at line 54 of file fei3dquadlin.h.

References oofem::_Line.

◆ giveBoundaryIntegrationRule()

std::unique_ptr< IntegrationRule > oofem::FEI3dQuadLin::giveBoundaryIntegrationRule ( 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.
Todo
Not sure about what defines boundaries on these elements.

Reimplemented from oofem::FEInterpolation.

Definition at line 332 of file fei3dquadlin.C.

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

◆ giveBoundarySurfaceIntegrationDomain()

integrationDomain oofem::FEI3dQuadLin::giveBoundarySurfaceIntegrationDomain ( int boundary,
const Element_Geometry_Type  ) const
inlineoverridevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Definition at line 55 of file fei3dquadlin.h.

References oofem::_Square.

◆ giveGeometryType()

const Element_Geometry_Type oofem::FEI3dQuadLin::giveGeometryType ( ) const
inlineoverridevirtual

Returns the geometry type fo the interpolator.

Implements oofem::FEInterpolation.

Definition at line 51 of file fei3dquadlin.h.

◆ giveIntegrationDomain()

integrationDomain oofem::FEI3dQuadLin::giveIntegrationDomain ( const Element_Geometry_Type ) const
inlineoverridevirtual

Returns the integration domain of the interpolator.

Implements oofem::FEInterpolation.

Definition at line 50 of file fei3dquadlin.h.

References oofem::_Square.

◆ giveIntegrationRule()

std::unique_ptr< IntegrationRule > oofem::FEI3dQuadLin::giveIntegrationRule ( int order,
const Element_Geometry_Type egt ) const
overridevirtual

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

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

Reimplemented from oofem::FEInterpolation.

Definition at line 323 of file fei3dquadlin.C.

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

◆ giveJacobianMatrixAt()

void oofem::FEI3dQuadLin::giveJacobianMatrixAt ( FloatMatrix & jacobianMatrix,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Gives the jacobian matrix at the local coordinates.

Parameters
jacobianMatrixThe requested matrix.
lcoordsLocal coordinates.
cellgeoElement geometry.

Reimplemented from oofem::FEInterpolation.

Definition at line 93 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ giveNumberOfEdges()

int oofem::FEI3dQuadLin::giveNumberOfEdges ( const Element_Geometry_Type ) const
inlineoverridevirtual

Returns number of edges.

Reimplemented from oofem::FEInterpolation.

Definition at line 75 of file fei3dquadlin.h.

◆ giveNumberOfNodes()

int oofem::FEI3dQuadLin::giveNumberOfNodes ( const Element_Geometry_Type ) const
inlineoverridevirtual

Returns the number of geometric nodes of the receiver.

Reimplemented from oofem::FEInterpolation.

Definition at line 94 of file fei3dquadlin.h.

◆ giveTransformationJacobian()

double oofem::FEI3dQuadLin::giveTransformationJacobian ( const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates the determinant of the transformation.

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

Reimplemented from oofem::FEInterpolation.

Definition at line 86 of file fei3dquadlin.C.

References surfaceEvalNormal().

◆ global2local()

int oofem::FEI3dQuadLin::global2local ( FloatArray & answer,
const FloatArray & gcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates local coordinates from given global ones. If local coordinates cannot be found (generate elements, or point far outside geometry, then the center coordinate will be used as a last resort, and the return value will be zero.

Parameters
answerContains evaluated local coordinates.
gcoordsArray containing global coordinates.
cellgeoUnderlying cell geometry.
Returns
Nonzero is returned if point is within the element geometry, zero otherwise.

Implements oofem::FEInterpolation.

Definition at line 78 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ local2global()

void oofem::FEI3dQuadLin::local2global ( FloatArray & answer,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

Evaluates global coordinates from given local ones.

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

Implements oofem::FEInterpolation.

Definition at line 66 of file fei3dquadlin.C.

References oofem::FloatArray::add(), oofem::FloatArray::at(), evalN(), oofem::FEICellGeometry::giveVertexCoordinates(), and oofem::FloatArray::resize().

◆ surfaceEvalBaseVectorsAt()

void oofem::FEI3dQuadLin::surfaceEvalBaseVectorsAt ( FloatArray & G1,
FloatArray & G2,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const

◆ surfaceEvald2Ndxi2()

void oofem::FEI3dQuadLin::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 211 of file fei3dquadlin.C.

References oofem::FloatMatrix::at(), and oofem::FloatMatrix::resize().

◆ surfaceEvaldNdx()

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

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.
Todo
Implement this

Reimplemented from oofem::FEInterpolation3d.

Definition at line 253 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ surfaceEvaldNdxi()

void oofem::FEI3dQuadLin::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 189 of file fei3dquadlin.C.

References oofem::FloatMatrix::at(), and oofem::FloatMatrix::resize().

Referenced by evaldNdxi(), and surfaceEvalBaseVectorsAt().

◆ surfaceEvalN()

void oofem::FEI3dQuadLin::surfaceEvalN ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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::FEInterpolation3d.

Definition at line 176 of file fei3dquadlin.C.

References oofem::FloatArray::at(), and oofem::FloatArray::resize().

Referenced by evalN(), and surfaceLocal2global().

◆ surfaceEvalNormal()

double oofem::FEI3dQuadLin::surfaceEvalNormal ( 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.

Reimplemented from oofem::FEInterpolation3d.

Definition at line 275 of file fei3dquadlin.C.

References oofem::FloatArray::beVectorProductOf(), oofem::FloatArray::computeNorm(), surfaceEvalBaseVectorsAt(), and oofem::FloatArray::times().

Referenced by giveTransformationJacobian().

◆ surfaceGiveJacobianMatrixAt()

void oofem::FEI3dQuadLin::surfaceGiveJacobianMatrixAt ( FloatMatrix & jacobianMatrix,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const

◆ surfaceGiveTransformationJacobian()

double oofem::FEI3dQuadLin::surfaceGiveTransformationJacobian ( int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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::FEInterpolation3d.

Definition at line 307 of file fei3dquadlin.C.

References OOFEM_ERROR.

◆ surfaceLocal2global()

void oofem::FEI3dQuadLin::surfaceLocal2global ( FloatArray & answer,
int isurf,
const FloatArray & lcoords,
const FEICellGeometry & cellgeo ) const
overridevirtual

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::FEInterpolation3d.

Definition at line 239 of file fei3dquadlin.C.

References oofem::FloatArray::add(), oofem::FEICellGeometry::giveVertexCoordinates(), N, oofem::FloatArray::resize(), and surfaceEvalN().


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