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

#include <layeredcrosssection.h>

+ Inheritance diagram for oofem::LayeredIntegrationRule:
+ Collaboration diagram for oofem::LayeredIntegrationRule:

Public Member Functions

 LayeredIntegrationRule (int n, Element *e, int startIndx, int endIndx, bool dynamic=false)
 
 LayeredIntegrationRule (int n, Element *e)
 
virtual ~LayeredIntegrationRule ()
 
virtual const char * giveClassName () const
 
virtual IRResultType initializeFrom (InputRecord *ir)
 
virtual int SetUpPointsOnWedge (int nPointsTri, int nPointsDepth, MaterialMode mode)
 Sets up receiver's integration points on a wedge integration domain. More...
 
- Public Member Functions inherited from oofem::IntegrationRule
std::vector< GaussPoint * >::iterator begin ()
 
std::vector< GaussPoint * >::iterator end ()
 
 IntegrationRule (int n, Element *e, int startIndx, int endIndx, bool dynamic)
 Constructor. More...
 
 IntegrationRule (int n, Element *e)
 Constructor. More...
 
virtual ~IntegrationRule ()
 Destructor. More...
 
int giveNumberOfIntegrationPoints () const
 Returns number of integration points of receiver. More...
 
GaussPointgetIntegrationPoint (int n)
 Access particular integration point of receiver. More...
 
GaussPointfindIntegrationPointClosestTo (const FloatArray &lcoord)
 Scans through the integration points and finds the one closest to the given (local) coordinate. More...
 
int getStartIndexOfLocalStrainWhereApply ()
 Returns starting component index, for which receiver applies. More...
 
int getEndIndexOfLocalStrainWhereApply ()
 Returns last component index, for which receiver applies. More...
 
int setUpIntegrationPoints (integrationDomain intdomain, int nPoints, MaterialMode matMode)
 Initializes the receiver. More...
 
int setUpIntegrationPoints (integrationDomain intdomain, int nPointsXY, int nPointsZ, MaterialMode matMode)
 Initializes the receiver. More...
 
int setUpEmbeddedIntegrationPoints (integrationDomain intdomain, int nPoints, MaterialMode matMode, const std::vector< FloatArray > &coords)
 Initializes the receiver. More...
 
virtual void printOutputAt (FILE *file, TimeStep *tStep)
 Prints receiver's output to given stream. More...
 
void updateYourself (TimeStep *tStep)
 Updates receiver state. More...
 
ElementgiveElement ()
 Returns reference to element containing receiver. More...
 
int giveNumber ()
 Returns receiver number. More...
 
integrationDomain giveIntegrationDomain () const
 Returns the domain for the receiver. More...
 
virtual int getRequiredNumberOfIntegrationPoints (integrationDomain dType, int approxOrder)
 Abstract service. More...
 
virtual contextIOResultType saveContext (DataStream &stream, ContextMode mode, void *obj)
 Saves receiver's context to stream. More...
 
virtual contextIOResultType restoreContext (DataStream &stream, ContextMode mode, void *obj)
 Restores receiver's context to stream. More...
 
void clear ()
 Clears the receiver, ie deallocates all integration points. More...
 
virtual const IntArraygiveKnotSpan ()
 Returns receiver sub patch indices (if apply). More...
 
std::string errorInfo (const char *func) const
 Error printing helper. More...
 
virtual IntegrationRuleType giveIntegrationRuleType () const
 
int SetUpPoint (MaterialMode mode)
 Trivial implementation, only creates a single point. More...
 
virtual int SetUpPointsOnLine (int, MaterialMode mode)
 Sets up receiver's integration points on unit line integration domain. More...
 
virtual int SetUpPointsOnTriangle (int, MaterialMode mode)
 Sets up receiver's integration points on triangular (area coords) integration domain. More...
 
virtual int SetUpPointsOnSquare (int, MaterialMode mode)
 Sets up receiver's integration points on unit square integration domain. More...
 
virtual int SetUpPointsOn3dDegShell (int nPointsXY, int nPointsZ, MaterialMode mode)
 Sets up receiver's integration points on shell integration domain. More...
 
virtual int SetUpPointsOn3dDegShellLayers (int nPointsXY, int nPointsZ, MaterialMode mode, const FloatArray &layerThickness)
 Sets up receiver's integration points on shell integration domain wih layers. More...
 
virtual int SetUpPointsOnCube (int, MaterialMode mode)
 Sets up receiver's integration points on unit cube integration domain. More...
 
virtual int SetUpPointsOnCubeLayers (int nPoints1, int nPoints2, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness)
 Sets up receiver's integration points on unit cube integration domain divided into layers in the zeta-direction. More...
 
virtual int SetUpPointsOnTetrahedra (int, MaterialMode mode)
 Sets up receiver's integration points on tetrahedra (volume coords) integration domain. More...
 
virtual int SetUpPointsOn2DEmbeddedLine (int nPoints, MaterialMode mode, const FloatArray &coord0, const FloatArray &coord1)
 Sets up integration points on 2D embedded line inside 2D volume (the list of local coordinates should be provided). More...
 
virtual int SetUpPointsOnWedgeLayers (int nPointsTri, int nPointsDepth, MaterialMode mode, const FloatArray &layerThickness)
 Sets up receiver's integration points on a wedge integration domain divided into layers in the zeta-direction. More...
 

Public Attributes

IntArray lowerInterfacePoints
 
IntArray upperInterfacePoints
 

Additional Inherited Members

- Protected Attributes inherited from oofem::IntegrationRule
int number
 Number. More...
 
Elementelem
 Element which integration rule is coupled to. More...
 
integrationDomain intdomain
 Integration domain. More...
 
std::vector< GaussPoint * > gaussPoints
 Array containing integration points. More...
 
int firstLocalStrainIndx
 firstLocalStrainIndx and lastLocalStrainIndx indexes describe range of components (strains for example) for which receiver integration points apply. More...
 
int lastLocalStrainIndx
 
bool isDynamic
 Flag indicating that rule is dynamic, ie, its gauss points (their number, coordinates, weights) can change during computation. More...
 

Detailed Description

Definition at line 290 of file layeredcrosssection.h.

Constructor & Destructor Documentation

oofem::LayeredIntegrationRule::LayeredIntegrationRule ( int  n,
Element e,
int  startIndx,
int  endIndx,
bool  dynamic = false 
)

Definition at line 1362 of file layeredcrosssection.C.

oofem::LayeredIntegrationRule::LayeredIntegrationRule ( int  n,
Element e 
)

Definition at line 1366 of file layeredcrosssection.C.

oofem::LayeredIntegrationRule::~LayeredIntegrationRule ( )
virtual

Definition at line 1369 of file layeredcrosssection.C.

Member Function Documentation

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

Reimplemented from oofem::IntegrationRule.

Definition at line 297 of file layeredcrosssection.h.

virtual IRResultType oofem::LayeredIntegrationRule::initializeFrom ( InputRecord ir)
inlinevirtual

Reimplemented from oofem::IntegrationRule.

Definition at line 298 of file layeredcrosssection.h.

References oofem::IRRT_OK.

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

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

Definition at line 1373 of file layeredcrosssection.C.

References oofem::IntArray::at(), oofem::FloatArray::at(), oofem::IntegrationRule::gaussPoints, oofem::GaussIntegrationRule::giveLineCoordsAndWeights(), oofem::IntegrationRule::giveNumberOfIntegrationPoints(), oofem::GaussIntegrationRule::giveTriCoordsAndWeights(), lowerInterfacePoints, oofem::IntArray::resize(), and upperInterfacePoints.

Member Data Documentation

IntArray oofem::LayeredIntegrationRule::lowerInterfacePoints
IntArray oofem::LayeredIntegrationRule::upperInterfacePoints

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:37 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011