OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::FEI3dHexaQuad Class Reference

Class representing implementation of quadratic hexahedra interpolation class. More...

#include <fei3dhexaquad.h>

+ Inheritance diagram for oofem::FEI3dHexaQuad:
+ Collaboration diagram for oofem::FEI3dHexaQuad:

Public Member Functions

 FEI3dHexaQuad ()
 
virtual integrationDomain giveIntegrationDomain () const
 Returns the integration domain of the interpolator. More...
 
virtual Element_Geometry_Type giveGeometryType () const
 Returns the geometry type fo the interpolator. More...
 
virtual integrationDomain giveBoundaryIntegrationDomain (int ib) const
 Returns boundary integration domain. More...
 
virtual integrationDomain giveBoundarySurfaceIntegrationDomain (int isurf) const
 Returns boundary integration domain. More...
 
virtual integrationDomain giveBoundaryEdgeIntegrationDomain (int iedge) const
 Returns boundary integration domain. More...
 
virtual double giveCharacteristicLength (const FEICellGeometry &cellgeo) const
 
virtual void evalN (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the array of interpolation functions (shape functions) at given point. More...
 
virtual double evaldNdx (FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point. More...
 
virtual void local2global (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates global coordinates from given local ones. More...
 
virtual int global2local (FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates local coordinates from given global ones. More...
 
virtual int giveNumberOfNodes () const
 Returns the number of geometric nodes of the receiver. More...
 
virtual void edgeEvalN (FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 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)
 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)
 Evaluates edge global coordinates from given local ones. More...
 
virtual double edgeGiveTransformationJacobian (int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the edge jacobian of transformation between local and global coordinates. More...
 
virtual void computeLocalEdgeMapping (IntArray &edgeNodes, int iedge)
 
virtual void surfaceEvalN (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the array 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 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 void surfaceLocal2global (FloatArray &answer, int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates edge global coordinates from given local ones. More...
 
virtual double surfaceGiveTransformationJacobian (int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the edge jacobian of transformation between local and global coordinates. More...
 
virtual void computeLocalSurfaceMapping (IntArray &nodes, int iSurf)
 
virtual double evalNXIntegral (int iEdge, const FEICellGeometry &cellgeo)
 Computes the integral $ \int_S n \cdot x \mathrm{d}s $. 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 IntegrationRulegiveBoundaryIntegrationRule (int order, int boundary)
 Sets up a suitable integration rule for integrating over the requested boundary. More...
 
- Public Member Functions inherited from oofem::FEInterpolation3d
 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 void boundarySurfaceGiveNodes (IntArray &answer, int boundary)
 Gives the boundary nodes for requested boundary number. 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...
 
void computeEdgeMapping (IntArray &edgeNodes, IntArray &elemNodes, int iedge)
 
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...
 
std::string errorInfo (const char *func) const
 
int giveInterpolationOrder ()
 Returns the interpolation order. 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 double giveTransformationJacobian (const FloatArray &lcoords, const FEICellGeometry &cellgeo)
 Evaluates the determinant of the transformation. More...
 
virtual IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary)
 Sets up a suitable integration rule for integrating over the requested boundary. 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...
 

Protected Member Functions

virtual void giveLocalDerivative (FloatMatrix &dN, const FloatArray &lcoords)
 

Additional Inherited Members

- Protected Attributes inherited from oofem::FEInterpolation
int order
 

Detailed Description

Class representing implementation of quadratic hexahedra interpolation class.

*** numbering like T3d *** *** numbering like T3d *** *** numbering of nodes *** *** numbering of surfs ***

        zeta
  1      ^  9         2
   +-----|--+--------+                     +-----------------+
  /|     |          /|                    /|                /|
 / |     |         / |                   / |               / |

12+ | o 10+ | / | 1 / | / | | / | / | / | 4 / 17+ 11 | 3 / +18 / | (3) / | +-----—+-----—+ | +--------------—+ | | | | | | | | | | | | +--—|–o---—> eta | (6) | | 4 | | | / 13 | | | | | | | 5 +—/-—+–|--—+ 6 | +--------—|--—+ 20+ / o +19 / | / 5 | / | / / | / | / | / |16+ / | +14 | / (2) | / | / / | / | / | / |/ L ksi |/ |/ |/ +-----—+-----—+ +--------------—+ 8 15 7

Author
Ladislav Svoboda
Mikael Öhman

Definition at line 70 of file fei3dhexaquad.h.

Constructor & Destructor Documentation

oofem::FEI3dHexaQuad::FEI3dHexaQuad ( )
inline

Definition at line 73 of file fei3dhexaquad.h.

Member Function Documentation

void oofem::FEI3dHexaQuad::computeLocalEdgeMapping ( IntArray edgeNodes,
int  iedge 
)
virtual
void oofem::FEI3dHexaQuad::computeLocalSurfaceMapping ( IntArray nodes,
int  iSurf 
)
virtual
void oofem::FEI3dHexaQuad::edgeEvaldNdx ( FloatMatrix 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 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.
Todo:
I think the "x" in dNdx implies global cs. It should be

Implements oofem::FEInterpolation3d.

Definition at line 190 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::IntArray::at(), oofem::FloatArray::at(), computeLocalEdgeMapping(), oofem::FEICellGeometry::giveVertexCoordinates(), oofem::FloatMatrix::resize(), and oofem::FloatMatrix::setColumn().

void oofem::FEI3dHexaQuad::edgeEvalN ( FloatArray answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Definition at line 170 of file fei3dhexaquad.C.

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

double oofem::FEI3dHexaQuad::edgeGiveTransformationJacobian ( int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Definition at line 205 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::IntArray::at(), oofem::FloatArray::at(), computeLocalEdgeMapping(), oofem::FloatArray::computeNorm(), and oofem::FEICellGeometry::giveVertexCoordinates().

Referenced by oofem::QBrick1_ht::computeEdgeVolumeAround().

void oofem::FEI3dHexaQuad::edgeLocal2global ( FloatArray answer,
int  iedge,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Definition at line 179 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatArray::clear(), computeLocalEdgeMapping(), and oofem::FEICellGeometry::giveVertexCoordinates().

double oofem::FEI3dHexaQuad::evaldNdx ( FloatMatrix answer,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
virtual

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 78 of file fei3dhexaquad.C.

References oofem::FloatMatrix::beInverseOf(), oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::giveDeterminant(), giveLocalDerivative(), oofem::FloatMatrix::giveNumberOfRows(), oofem::FEICellGeometry::giveVertexCoordinates(), oofem::FloatMatrix::resize(), and oofem::FloatMatrix::setColumn().

Referenced by oofem::Hexa21Stokes::computeInternalForcesVector(), oofem::Hexa21Stokes::computeStiffnessMatrix(), and surfaceEvaldNdx().

void oofem::FEI3dHexaQuad::evalN ( FloatArray answer,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
virtual

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.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 43 of file fei3dhexaquad.C.

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

Referenced by local2global().

double oofem::FEI3dHexaQuad::evalNXIntegral ( int  boundary,
const FEICellGeometry cellgeo 
)
virtual

Computes the integral $ \int_S n \cdot x \mathrm{d}s $.

Parameters
boundaryBoundary number.
cellgeoUnderlying cell geometry.
Returns
Evaluated integral.

Reimplemented from oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 567 of file fei3dhexaquad.C.

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

virtual integrationDomain oofem::FEI3dHexaQuad::giveBoundaryEdgeIntegrationDomain ( int  boundary) const
inlinevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 79 of file fei3dhexaquad.h.

References oofem::_Line.

virtual integrationDomain oofem::FEI3dHexaQuad::giveBoundaryIntegrationDomain ( int  boundary) const
inlinevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 77 of file fei3dhexaquad.h.

References oofem::_Square.

IntegrationRule * oofem::FEI3dHexaQuad::giveBoundaryIntegrationRule ( 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::FEInterpolation3d.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 653 of file fei3dhexaquad.C.

References oofem::_Square, oofem::IntegrationRule::getRequiredNumberOfIntegrationPoints(), and oofem::IntegrationRule::SetUpPointsOnSquare().

virtual integrationDomain oofem::FEI3dHexaQuad::giveBoundarySurfaceIntegrationDomain ( int  boundary) const
inlinevirtual

Returns boundary integration domain.

Implements oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 78 of file fei3dhexaquad.h.

References oofem::_Square.

double oofem::FEI3dHexaQuad::giveCharacteristicLength ( const FEICellGeometry cellgeo) const
virtual
Todo:
Change this so that it is not dependent on node order.

Definition at line 105 of file fei3dhexaquad.C.

References oofem::FloatArray::distance(), and oofem::FEICellGeometry::giveVertexCoordinates().

Referenced by global2local().

virtual Element_Geometry_Type oofem::FEI3dHexaQuad::giveGeometryType ( ) const
inlinevirtual

Returns the geometry type fo the interpolator.

Implements oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 76 of file fei3dhexaquad.h.

virtual integrationDomain oofem::FEI3dHexaQuad::giveIntegrationDomain ( ) const
inlinevirtual

Returns the integration domain of the interpolator.

Implements oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 75 of file fei3dhexaquad.h.

References oofem::_Cube.

IntegrationRule * oofem::FEI3dHexaQuad::giveIntegrationRule ( int  order)
virtual

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.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 644 of file fei3dhexaquad.C.

References oofem::_Cube, oofem::IntegrationRule::getRequiredNumberOfIntegrationPoints(), and oofem::IntegrationRule::SetUpPointsOnCube().

void oofem::FEI3dHexaQuad::giveJacobianMatrixAt ( FloatMatrix jacobianMatrix,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
virtual

Gives the jacobian matrix at the local coordinates.

Parameters
jacobianMatrixThe requested matrix.
lcoordsLocal coordinates.
cellgeoElement geometry.

Reimplemented from oofem::FEInterpolation.

Definition at line 478 of file fei3dhexaquad.C.

References oofem::FloatMatrix::beProductOf(), giveLocalDerivative(), oofem::FloatMatrix::giveNumberOfRows(), oofem::FEICellGeometry::giveVertexCoordinates(), oofem::FloatMatrix::resize(), and oofem::FloatMatrix::setColumn().

Referenced by global2local().

void oofem::FEI3dHexaQuad::giveLocalDerivative ( FloatMatrix dN,
const FloatArray lcoords 
)
protectedvirtual
virtual int oofem::FEI3dHexaQuad::giveNumberOfNodes ( ) const
inlinevirtual

Returns the number of geometric nodes of the receiver.

Reimplemented from oofem::FEInterpolation.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 90 of file fei3dhexaquad.h.

int oofem::FEI3dHexaQuad::global2local ( FloatArray answer,
const FloatArray gcoords,
const FEICellGeometry cellgeo 
)
virtual

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 117 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::FloatArray::at(), oofem::FloatArray::beDifferenceOf(), oofem::FloatArray::computeNorm(), giveCharacteristicLength(), giveJacobianMatrixAt(), oofem::FloatArray::giveSize(), local2global(), POINT_TOL, oofem::FloatArray::resize(), oofem::FloatMatrix::solveForRhs(), and oofem::FloatArray::zero().

void oofem::FEI3dHexaQuad::local2global ( FloatArray answer,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
virtual

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 94 of file fei3dhexaquad.C.

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

Referenced by global2local().

void oofem::FEI3dHexaQuad::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.
Note
Nodal, surface, edge ordering on this class is a mess. No consistency or rules. Have to convert surface->volume coords manually:

Reimplemented from oofem::FEInterpolation3d.

Definition at line 269 of file fei3dhexaquad.C.

References oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatMatrix::at(), computeLocalSurfaceMapping(), evaldNdx(), oofem::IntArray::giveSize(), OOFEM_ERROR, and oofem::FloatMatrix::resize().

void oofem::FEI3dHexaQuad::surfaceEvalN ( FloatArray answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 250 of file fei3dhexaquad.C.

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

Referenced by surfaceLocal2global().

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

Reimplemented in oofem::FEI3dHexaTriQuad.

Definition at line 325 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatArray::beVectorProductOf(), computeLocalSurfaceMapping(), oofem::FEICellGeometry::giveVertexCoordinates(), and oofem::FloatArray::normalize().

Referenced by surfaceGiveTransformationJacobian().

double oofem::FEI3dHexaQuad::surfaceGiveTransformationJacobian ( int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Definition at line 382 of file fei3dhexaquad.C.

References surfaceEvalNormal().

Referenced by oofem::Hexa21Stokes::computeBoundarySurfaceLoadVector(), and oofem::QBrick1_ht::computeSurfaceVolumeAround().

void oofem::FEI3dHexaQuad::surfaceLocal2global ( FloatArray answer,
int  isurf,
const FloatArray lcoords,
const FEICellGeometry cellgeo 
)
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.

Implements oofem::FEInterpolation3d.

Definition at line 364 of file fei3dhexaquad.C.

References oofem::FloatArray::add(), oofem::IntArray::at(), oofem::FloatArray::at(), oofem::FloatArray::clear(), computeLocalSurfaceMapping(), oofem::FloatArray::giveSize(), oofem::FEICellGeometry::giveVertexCoordinates(), and surfaceEvalN().

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


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