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

#include <integrationrule.h>

Inheritance diagram for oofem::IntegrationRule:
Collaboration diagram for oofem::IntegrationRule:

Public Member Functions

std::vector< GaussPoint * >::iterator begin ()
std::vector< GaussPoint * >::iterator end ()
 IntegrationRule (int n, Element *e, int startIndx, int endIndx, bool dynamic)
 IntegrationRule (int n, Element *e)
virtual ~IntegrationRule ()
 Destructor.
int giveNumberOfIntegrationPoints () const
GaussPointgetIntegrationPoint (int n)
GaussPointfindIntegrationPointClosestTo (const FloatArray &lcoord)
int getStartIndexOfLocalStrainWhereApply ()
int getEndIndexOfLocalStrainWhereApply ()
int setUpIntegrationPoints (integrationDomain intdomain, int nPoints, MaterialMode matMode)
int setUpIntegrationPoints (integrationDomain intdomain, int nPointsXY, int nPointsZ, MaterialMode matMode)
int setUpEmbeddedIntegrationPoints (integrationDomain intdomain, int nPoints, MaterialMode matMode, const std ::vector< FloatArray > &coords)
virtual void printOutputAt (FILE *file, TimeStep *tStep)
void updateYourself (TimeStep *tStep)
ElementgiveElement ()
void setElement (Element *e)
int giveNumber ()
integrationDomain giveIntegrationDomain () const
virtual int getRequiredNumberOfIntegrationPoints (integrationDomain dType, int approxOrder)
virtual void saveContext (DataStream &stream, ContextMode mode)
virtual void restoreContext (DataStream &stream, ContextMode mode)
void clear ()
virtual const IntArraygiveKnotSpan ()
 Returns receiver sub patch indices (if apply).
virtual const char * giveClassName () const
std::string errorInfo (const char *func) const
 Error printing helper.
virtual IntegrationRuleType giveIntegrationRuleType () const
virtual void initializeFrom (InputRecord &ir)
int SetUpPoint (MaterialMode mode)
virtual int SetUpPointsOnLine (int, MaterialMode mode)
virtual int SetUpPointsOnTriangle (int, MaterialMode mode)
virtual int SetUpPointsOnSquare (int, MaterialMode mode)
virtual int SetUpPointsOn3dDegShell (int nPointsXY, int nPointsZ, MaterialMode mode)
virtual int SetUpPointsOn3dDegShellLayers (int nPointsXY, int nPointsZ, MaterialMode mode, const FloatArray &layerThickness)
virtual int SetUpPointsOnCube (int, MaterialMode mode)
virtual int SetUpPointsOnCubeLayers (int nPoints1, int nPoints2, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness)
virtual int SetUpPointsOnTetrahedra (int, MaterialMode mode)
virtual int SetUpPointsOn2DEmbeddedLine (int nPoints, MaterialMode mode, const FloatArray &coord0, const FloatArray &coord1)
virtual int SetUpPointsOnWedge (int nPointsTri, int nPointsDepth, MaterialMode mode)
virtual int SetUpPointsOnWedgeLayers (int nPointsTri, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness)

Protected Attributes

int number
 Number.
Elementelem
 Element which integration rule is coupled to.
integrationDomain intdomain
 Integration domain.
std::vector< GaussPoint * > gaussPoints
 Array containing integration points.
int firstLocalStrainIndx
int lastLocalStrainIndx
bool isDynamic

Detailed Description

Abstract base class representing integration rule. The integration rule is a collection of integration points used to numerically integrate some formula. The number of integration points and their coordinates and integration weights depends on integration rule type (rule for integration in 1d, 2d, 3d) and required accuracy. General services for initialization are declared. Services for integration point retrieval are provided.

In general, finite elements can have multiple integration rules, for different tasks or when some components are integrated using reduced or selective integration. Therefore, first and last index variables are introduced to characterize components for which given integration rule applies.

The integration rule is a rather passive object. It does not perform numerical integration - it just provide way how to set up correct integration points and weights.

Because integration points contain related history parameters (using material status), the unique copy of integration rule must exist on each element. The integration rule is exclusively possessed by particular finite element.

Tasks:

  • instanciating yourself
  • returning number of integration points used
  • returning requested integration point - method getIntegrationPoint
  • returning interval of components (i.e.of local strain vector), where apply
  • returning array of gauss points, according to specific integration rule (Gauss rule, Newton-Cotes rule, ...). integration points and corresponding weights are stored in Gauss point class.
  • printing yourself
  • updating yourself
  • initializing for new time step
  • saving & restoring context

Definition at line 94 of file integrationrule.h.

Constructor & Destructor Documentation

◆ IntegrationRule() [1/2]

oofem::IntegrationRule::IntegrationRule ( int n,
Element * e,
int startIndx,
int endIndx,
bool dynamic )

Constructor.

Parameters
nNumber associated with receiver.
eReference to element.
startIndxFirst component, for which rule applies.
endIndxLast component, for which rule applies.
dynamicFlag indicating that receiver can change.

Definition at line 44 of file integrationrule.C.

References oofem::_UnknownIntegrationDomain, elem, firstLocalStrainIndx, intdomain, isDynamic, lastLocalStrainIndx, and number.

Referenced by oofem::GaussIntegrationRule::GaussIntegrationRule(), oofem::GaussIntegrationRule::GaussIntegrationRule(), oofem::LayeredIntegrationRule::LayeredIntegrationRule(), oofem::LayeredIntegrationRule::LayeredIntegrationRule(), oofem::LobattoIntegrationRule::LobattoIntegrationRule(), and oofem::LobattoIntegrationRule::LobattoIntegrationRule().

◆ IntegrationRule() [2/2]

oofem::IntegrationRule::IntegrationRule ( int n,
Element * e )

Constructor.

Parameters
nNumber associated with receiver.
eReference to element.

Definition at line 54 of file integrationrule.C.

References oofem::_UnknownIntegrationDomain, elem, firstLocalStrainIndx, intdomain, isDynamic, lastLocalStrainIndx, and number.

◆ ~IntegrationRule()

oofem::IntegrationRule::~IntegrationRule ( )
virtual

Destructor.

Definition at line 64 of file integrationrule.C.

References clear().

Member Function Documentation

◆ begin()

std::vector< GaussPoint * >::iterator oofem::IntegrationRule::begin ( )
inline

Definition at line 119 of file integrationrule.h.

References gaussPoints.

◆ clear()

void oofem::IntegrationRule::clear ( )

Clears the receiver, ie deallocates all integration points

Definition at line 71 of file integrationrule.C.

References gaussPoints.

Referenced by restoreContext(), and ~IntegrationRule().

◆ end()

std::vector< GaussPoint * >::iterator oofem::IntegrationRule::end ( )
inline

Definition at line 120 of file integrationrule.h.

References gaussPoints.

◆ errorInfo()

std::string oofem::IntegrationRule::errorInfo ( const char * func) const
inline

Error printing helper.

Definition at line 249 of file integrationrule.h.

References giveClassName().

◆ findIntegrationPointClosestTo()

GaussPoint * oofem::IntegrationRule::findIntegrationPointClosestTo ( const FloatArray & lcoord)

Scans through the integration points and finds the one closest to the given (local) coordinate.

Definition at line 95 of file integrationrule.C.

References oofem::distance_square(), and oofem::GaussPoint::giveNaturalCoordinates().

◆ getEndIndexOfLocalStrainWhereApply()

int oofem::IntegrationRule::getEndIndexOfLocalStrainWhereApply ( )
inline

Returns last component index, for which receiver applies.

Returns
Last local strain index.

Definition at line 162 of file integrationrule.h.

References lastLocalStrainIndx.

◆ getIntegrationPoint()

GaussPoint * oofem::IntegrationRule::getIntegrationPoint ( int n)

Access particular integration point of receiver.

Parameters
nIntegration point number (should be in range 0,.., giveNumberOfIntegrationPoints()-1).

Definition at line 82 of file integrationrule.C.

References gaussPoints, giveNumberOfIntegrationPoints(), and OOFEM_ERROR.

Referenced by oofem::ElementErrorCheckingRule::check(), oofem::TrPlaneStrRot::computeBmatrixAt(), oofem::CCTPlate3d::computeBodyLoadVectorAt(), oofem::CCTPlate::computeBodyLoadVectorAt(), oofem::DKTPlate3d::computeBodyLoadVectorAt(), oofem::DKTPlate::computeBodyLoadVectorAt(), oofem::TR_SHELL11::computeBodyLoadVectorAt(), oofem::TrPlanestressRotAllman3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot3d::computeBodyLoadVectorAt(), oofem::TransportGradientNeumann::computeEta(), oofem::Shell7Base::computeInterLaminarStressesAt(), oofem::LIBeam3dNL2::computeStiffnessMatrix(), oofem::LIBeam3dNL::computeStiffnessMatrix(), oofem::LIBeam3dNL2::computeTempCurv(), oofem::LIBeam3dNL::computeTempCurv(), oofem::DKTPlate::computeVertexBendingMoments(), oofem::TransportGradientDirichlet::computeXi(), oofem::IntElPoint::drawScalar(), oofem::ElementErrorCheckingRule::getValue(), oofem::SADGBoundaryElement::giveCharacteristicMatrix(), oofem::LIBeam3dNL2::giveInternalForcesVector(), oofem::LIBeam3dNL::giveInternalForcesVector(), oofem::Lattice2d_mt::giveMass(), oofem::Lattice2d::giveNormalStress(), oofem::Lattice2d_mt::giveOldPressure(), oofem::Lattice2d_mt::givePressure(), oofem::Lattice2d::hasBeenUpdated(), oofem::NCPrincipalStrain::nucleateEnrichmentItems(), oofem::NCPrincipalStress::nucleateEnrichmentItems(), oofem::GnuplotExportModule::outputInterfaceEl(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem1D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem2D(), oofem::HuertaErrorEstimatorInterface::setupRefinedElementProblem3D(), and oofem::ErrorCheckingExportModule::writeCheck().

◆ getRequiredNumberOfIntegrationPoints()

virtual int oofem::IntegrationRule::getRequiredNumberOfIntegrationPoints ( integrationDomain dType,
int approxOrder )
inlinevirtual

Abstract service. Returns required number of integration points to exactly integrate polynomial of order approxOrder on given domain. When approxOrder is too large and is not supported by implementation method returns -1. Must be overloaded by derived classes.

Reimplemented in oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 217 of file integrationrule.h.

Referenced by oofem::StructuralElement::giveNumberOfIPForMassMtrxIntegration().

◆ getStartIndexOfLocalStrainWhereApply()

int oofem::IntegrationRule::getStartIndexOfLocalStrainWhereApply ( )
inline

Returns starting component index, for which receiver applies.

Returns
First local strain index.

Definition at line 157 of file integrationrule.h.

References firstLocalStrainIndx.

◆ giveClassName()

virtual const char * oofem::IntegrationRule::giveClassName ( ) const
inlinevirtual

◆ giveElement()

Element * oofem::IntegrationRule::giveElement ( )
inline

Returns reference to element containing receiver

Definition at line 203 of file integrationrule.h.

References elem.

Referenced by oofem::GaussIntegrationRule::SetUpPointsOn2DEmbeddedLine().

◆ giveIntegrationDomain()

◆ giveIntegrationRuleType()

virtual IntegrationRuleType oofem::IntegrationRule::giveIntegrationRuleType ( ) const
inlinevirtual

Reimplemented in oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 250 of file integrationrule.h.

References oofem::IRT_None.

◆ giveKnotSpan()

◆ giveNumber()

int oofem::IntegrationRule::giveNumber ( )
inline

◆ giveNumberOfIntegrationPoints()

int oofem::IntegrationRule::giveNumberOfIntegrationPoints ( ) const
inline

Returns number of integration points of receiver.

Definition at line 143 of file integrationrule.h.

References gaussPoints.

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::MatlabExportModule::doOutputIntegrationPointFields(), oofem::PlaneStress2dXfem::drawScalar(), oofem::TrPlaneStress2dXFEM::drawScalar(), oofem::VTKXMLExportModule::exportIntVarsInGpAs(), getIntegrationPoint(), oofem::LayeredCrossSection::give(), oofem::SADGBoundaryElement::giveCharacteristicMatrix(), oofem::LayeredCrossSection::giveCharMaterialStiffnessMatrix(), oofem::LayeredCrossSection::giveCharMaterialStiffnessMatrix_dPdF(), oofem::LayeredCrossSection::giveFirstPKStress_3d(), oofem::LayeredCrossSection::giveIPValue(), oofem::LayeredCrossSection::giveMaterial(), oofem::LayeredCrossSection::giveRealStress_3d(), oofem::LayeredCrossSection::giveRealStress_3dDegeneratedShell(), oofem::LayeredCrossSection::giveStiffnessMatrix_3d(), oofem::LayeredCrossSection::giveStiffnessMatrix_dPdF_3d(), oofem::NonlocalMaterialExtensionInterface::manipulateWeight(), oofem::NCPrincipalStrain::nucleateEnrichmentItems(), oofem::NCPrincipalStress::nucleateEnrichmentItems(), oofem::GnuplotExportModule::outputInterfaceEl(), oofem::GaussIntegrationRule::SetUpPointsOn2DEmbeddedLine(), oofem::GaussIntegrationRule::SetUpPointsOn3dDegShell(), oofem::GaussIntegrationRule::SetUpPointsOn3dDegShellLayers(), oofem::GaussIntegrationRule::SetUpPointsOnCube(), oofem::LobattoIntegrationRule::SetUpPointsOnCube(), oofem::GaussIntegrationRule::SetUpPointsOnCubeLayers(), oofem::DiscontinuousSegmentIntegrationRule::SetUpPointsOnLine(), oofem::GaussIntegrationRule::SetUpPointsOnLine(), oofem::LobattoIntegrationRule::SetUpPointsOnLine(), oofem::GaussIntegrationRule::SetUpPointsOnSquare(), oofem::LobattoIntegrationRule::SetUpPointsOnSquare(), oofem::GaussIntegrationRule::SetUpPointsOnTetrahedra(), oofem::GaussIntegrationRule::SetUpPointsOnTriangle(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), oofem::GaussIntegrationRule::SetUpPointsOnWedge(), oofem::LayeredIntegrationRule::SetUpPointsOnWedge(), oofem::PatchIntegrationRule::SetUpPointsOnWedge(), oofem::GaussIntegrationRule::SetUpPointsOnWedgeLayers(), oofem::MITC4Shell::SPRNodalRecoveryMI_giveNumberOfIP(), and oofem::ErrorCheckingExportModule::writeCheck().

◆ initializeFrom()

virtual void oofem::IntegrationRule::initializeFrom ( InputRecord & ir)
inlinevirtual

Reimplemented in oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 251 of file integrationrule.h.

◆ printOutputAt()

void oofem::IntegrationRule::printOutputAt ( FILE * file,
TimeStep * tStep )
virtual

Prints receiver's output to given stream. Invokes printOutputAt service on all receiver's integration points.

Definition at line 111 of file integrationrule.C.

◆ restoreContext()

void oofem::IntegrationRule::restoreContext ( DataStream & stream,
ContextMode mode )
virtual

Restores receiver's context to stream. Calls restoreContext service for all receiver's integration points. Note: does not call the FEMComponent::restoreContext service, in order not to write class id info for each integration rule.

Parameters
streamInput stream.
modeDetermines amount of info available in stream (state, definition, ...).
Exceptions
ContextIOERRIf error encountered.

Reimplemented in oofem::PatchIntegrationRule.

Definition at line 185 of file integrationrule.C.

References oofem::CIO_IOERR, oofem::CIO_OK, clear(), CM_Definition, firstLocalStrainIndx, gaussPoints, isDynamic, lastLocalStrainIndx, oofem::DataStream::read(), oofem::FloatArray::restoreYourself(), and THROW_CIOERR.

◆ saveContext()

void oofem::IntegrationRule::saveContext ( DataStream & stream,
ContextMode mode )
virtual

Saves receiver's context to stream. Calls saveContext service for all receiver's integration points. Note: does not call the FEMComponent::saveContext service, in order not to write class id info for each integration rule.

Parameters
streamOutput stream.
modeDetermines amount of info required in stream (state, definition, ...).
Exceptions
ContextIOERRIf error encountered.

Reimplemented in oofem::PatchIntegrationRule.

Definition at line 130 of file integrationrule.C.

References oofem::CIO_IOERR, oofem::CIO_OK, CM_Definition, firstLocalStrainIndx, gaussPoints, isDynamic, lastLocalStrainIndx, THROW_CIOERR, and oofem::DataStream::write().

◆ setElement()

void oofem::IntegrationRule::setElement ( Element * e)
inline

Set element

Definition at line 205 of file integrationrule.h.

References elem.

◆ setUpEmbeddedIntegrationPoints()

int oofem::IntegrationRule::setUpEmbeddedIntegrationPoints ( integrationDomain intdomain,
int nPoints,
MaterialMode matMode,
const std ::vector< FloatArray > & coords )

Initializes the receiver. Receiver integration points are created according to given parameters.

Parameters
intdomainDescribes integration domain.
nPointsRequired number of integration points of receiver.
matModeMaterial mode of receiver's integration points.
coords
Returns
Number of points.

Definition at line 311 of file integrationrule.C.

References oofem::_Embedded2dLine, intdomain, OOFEM_ERROR, and SetUpPointsOn2DEmbeddedLine().

◆ setUpIntegrationPoints() [1/2]

int oofem::IntegrationRule::setUpIntegrationPoints ( integrationDomain intdomain,
int nPoints,
MaterialMode matMode )

Initializes the receiver. Receiver integration points are created according to given parameters.

Parameters
intdomainDescribes integration domain.
nPointsRequired number of integration points of receiver.
matModeMaterial mode of receiver's integration points.
Returns
Number of points.

Definition at line 258 of file integrationrule.C.

References oofem::_Cube, oofem::_Line, oofem::_Square, oofem::_Tetrahedra, oofem::_Triangle, oofem::_Wedge, intdomain, OOFEM_ERROR, SetUpPointsOnCube(), SetUpPointsOnLine(), SetUpPointsOnSquare(), SetUpPointsOnTetrahedra(), SetUpPointsOnTriangle(), and SetUpPointsOnWedge().

Referenced by oofem::TR1_2D_PFEM::computeEdgeBCSubVectorAt(), oofem::PFEMElement2d::computePrescribedRhsVector(), oofem::CrossSection::setupIntegrationPoints(), oofem::CrossSection::setupIntegrationPoints(), oofem::LayeredCrossSection::setupIntegrationPoints(), and oofem::StructuralElement::setupIRForMassMtrxIntegration().

◆ setUpIntegrationPoints() [2/2]

int oofem::IntegrationRule::setUpIntegrationPoints ( integrationDomain intdomain,
int nPointsXY,
int nPointsZ,
MaterialMode matMode )

Initializes the receiver. Receiver integration points are created according to given parameters.

Parameters
intdomainDescribes integration domain.
nPointsXYRequired number of integration points of receiver in plane XY.
nPointsZRequired number of integration points of receiver in Z direction.
matModeMaterial mode of receiver's integration points.
Returns
Number of points.

Definition at line 295 of file integrationrule.C.

References oofem::_3dDegShell, intdomain, OOFEM_ERROR, and SetUpPointsOn3dDegShell().

◆ SetUpPoint()

int oofem::IntegrationRule::SetUpPoint ( MaterialMode mode)

Trivial implementation, only creates a single point.

Definition at line 330 of file integrationrule.C.

References oofem::_Point, gaussPoints, and intdomain.

◆ SetUpPointsOn2DEmbeddedLine()

virtual int oofem::IntegrationRule::SetUpPointsOn2DEmbeddedLine ( int nPoints,
MaterialMode mode,
const FloatArray & coord0,
const FloatArray & coord1 )
inlinevirtual

Sets up integration points on 2D embedded line inside 2D volume (the list of local coordinates should be provided).

Parameters
nPointsNumber of points along line.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 327 of file integrationrule.h.

Referenced by setUpEmbeddedIntegrationPoints().

◆ SetUpPointsOn3dDegShell()

virtual int oofem::IntegrationRule::SetUpPointsOn3dDegShell ( int nPointsXY,
int nPointsZ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on shell integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Parameters
nPointsXYNumber of integration points in the "xi-eta"-plane.
nPointsZNumber of integration points in the "zeta"-direction
Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 286 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOn3dDegShellLayers()

virtual int oofem::IntegrationRule::SetUpPointsOn3dDegShellLayers ( int nPointsXY,
int nPointsZ,
MaterialMode mode,
const FloatArray & layerThickness )
inlinevirtual

Sets up receiver's integration points on shell integration domain wih layers. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Parameters
nPointsXYNumber of integration points in the "xi-eta"-plane.
nPointsZNumber of integration points in the "zeta"-direction
layerThicknessArray of thicknesses of individual layers
Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 296 of file integrationrule.h.

Referenced by oofem::LayeredCrossSection::setupIntegrationPoints().

◆ SetUpPointsOnCube()

virtual int oofem::IntegrationRule::SetUpPointsOnCube ( int ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on unit cube integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 303 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnCubeLayers()

virtual int oofem::IntegrationRule::SetUpPointsOnCubeLayers ( int nPoints1,
int nPoints2,
int nPointsDepth,
MaterialMode mode,
const FloatArray & layerThickness )
inlinevirtual

Sets up receiver's integration points on unit cube integration domain divided into layers in the zeta-direction. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Parameters
nPoints1Number of integration points in the "xi"-direction.
nPoints2Number of integration points in the "eta"-direction.
nPointsDepthNumber of integration points in the "zeta"-direction
layerThicknessArray of thicknesses of individual layers
Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 314 of file integrationrule.h.

Referenced by oofem::LayeredCrossSection::setupIntegrationPoints().

◆ SetUpPointsOnLine()

virtual int oofem::IntegrationRule::SetUpPointsOnLine ( int ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on unit line integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Returns
Number of integration points.

Reimplemented in oofem::DiscontinuousSegmentIntegrationRule, oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 263 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnSquare()

virtual int oofem::IntegrationRule::SetUpPointsOnSquare ( int ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on unit square integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule, and oofem::LobattoIntegrationRule.

Definition at line 277 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnTetrahedra()

virtual int oofem::IntegrationRule::SetUpPointsOnTetrahedra ( int ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on tetrahedra (volume coords) integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 321 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnTriangle()

virtual int oofem::IntegrationRule::SetUpPointsOnTriangle ( int ,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on triangular (area coords) integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule, oofem::LobattoIntegrationRule, and oofem::PatchIntegrationRule.

Definition at line 270 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnWedge()

virtual int oofem::IntegrationRule::SetUpPointsOnWedge ( int nPointsTri,
int nPointsDepth,
MaterialMode mode )
inlinevirtual

Sets up receiver's integration points on a wedge integration domain. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Parameters
nPointsTriNumber of points over the triangle cross-section.
nPointsDepthNumber of points over the depth.
Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule, oofem::LayeredIntegrationRule, and oofem::PatchIntegrationRule.

Definition at line 338 of file integrationrule.h.

Referenced by setUpIntegrationPoints().

◆ SetUpPointsOnWedgeLayers()

virtual int oofem::IntegrationRule::SetUpPointsOnWedgeLayers ( int nPointsTri,
int nPointsDepth,
MaterialMode mode,
const FloatArray & layerThickness )
inlinevirtual

Sets up receiver's integration points on a wedge integration domain divided into layers in the zeta-direction. Default implementation does not sets up any integration points and returns 0. Must be overloaded by derived classes.

Parameters
nPointsTriNumber of points over the triangle cross-section.
nPointsDepthNumber of points over the depth.
layerThicknessArray of thicknesses of individual layers
Returns
Number of integration points.

Reimplemented in oofem::GaussIntegrationRule.

Definition at line 348 of file integrationrule.h.

Referenced by oofem::LayeredCrossSection::setupIntegrationPoints().

◆ updateYourself()

void oofem::IntegrationRule::updateYourself ( TimeStep * tStep)

Updates receiver state. Calls updateYourself service of all receiver's integration points.

Definition at line 120 of file integrationrule.C.

Member Data Documentation

◆ elem

Element* oofem::IntegrationRule::elem
protected

◆ firstLocalStrainIndx

int oofem::IntegrationRule::firstLocalStrainIndx
protected

firstLocalStrainIndx and lastLocalStrainIndx indexes describe range of components (strains for example) for which receiver integration points apply.

Definition at line 110 of file integrationrule.h.

Referenced by getStartIndexOfLocalStrainWhereApply(), IntegrationRule(), IntegrationRule(), restoreContext(), saveContext(), oofem::PatchIntegrationRule::SetUpPointsOnTriangle(), and oofem::PatchIntegrationRule::SetUpPointsOnWedge().

◆ gaussPoints

◆ intdomain

◆ isDynamic

bool oofem::IntegrationRule::isDynamic
protected

Flag indicating that rule is dynamic, ie, its gauss points (their number, coordinates, weights) can change during computation. Then some more data should be stored/restored from context file to reflect such dynamic feature.

Definition at line 116 of file integrationrule.h.

Referenced by IntegrationRule(), IntegrationRule(), restoreContext(), and saveContext().

◆ lastLocalStrainIndx

◆ number

int oofem::IntegrationRule::number
protected

Number.

Definition at line 98 of file integrationrule.h.

Referenced by IntegrationRule(), and IntegrationRule().


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