35 #ifndef integrationrule_h 36 #define integrationrule_h 119 std::vector< GaussPoint *> :: iterator
begin() {
return gaussPoints.begin(); }
120 std::vector< GaussPoint *> :: iterator
end() {
return gaussPoints.end(); }
189 const std :: vector< FloatArray > &coords);
195 virtual void printOutputAt(FILE *file,
TimeStep *tStep);
200 void updateYourself(
TimeStep *tStep);
249 std :: string
errorInfo(
const char *func)
const {
return std :: string(giveClassName()) + func; }
351 #endif // integrationrule_h
std::string errorInfo(const char *func) const
Error printing helper.
integrationDomain
Used by integrator class to supply integration points for proper domain to be integrated (Area...
bool isDynamic
Flag indicating that rule is dynamic, ie, its gauss points (their number, coordinates, weights) can change during computation.
Element * elem
Element which integration rule is coupled to.
integrationDomain intdomain
Integration domain.
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
virtual int SetUpPointsOnWedge(int nPointsTri, int nPointsDepth, MaterialMode mode)
Sets up receiver's integration points on a wedge integration domain.
int getStartIndexOfLocalStrainWhereApply()
Returns starting component index, for which receiver applies.
std::vector< GaussPoint * >::iterator begin()
int giveNumber()
Returns receiver number.
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-d...
virtual int SetUpPointsOnTetrahedra(int, MaterialMode mode)
Sets up receiver's integration points on tetrahedra (volume coords) integration domain.
virtual IRResultType initializeFrom(InputRecord *ir)
virtual int SetUpPointsOn3dDegShellLayers(int nPointsXY, int nPointsZ, MaterialMode mode, const FloatArray &layerThickness)
Sets up receiver's integration points on shell integration domain wih layers.
virtual int SetUpPointsOn3dDegShell(int nPointsXY, int nPointsZ, MaterialMode mode)
Sets up receiver's integration points on shell integration domain.
Element * giveElement()
Returns reference to element containing receiver.
Abstract base class for all finite elements.
virtual IntegrationRuleType giveIntegrationRuleType() const
std::vector< GaussPoint * >::iterator end()
virtual int SetUpPointsOnSquare(int, MaterialMode mode)
Sets up receiver's integration points on unit square integration domain.
virtual const IntArray * giveKnotSpan()
Returns receiver sub patch indices (if apply).
MaterialMode
Type representing material mode of integration point.
Class implementing an array of integers.
Abstract base class representing integration rule.
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...
virtual int SetUpPointsOnCube(int, MaterialMode mode)
Sets up receiver's integration points on unit cube integration domain.
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...
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder)
Abstract service.
int giveNumberOfIntegrationPoints() const
Returns number of integration points of receiver.
virtual int SetUpPointsOnLine(int, MaterialMode mode)
Sets up receiver's integration points on unit line integration domain.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
int getEndIndexOfLocalStrainWhereApply()
Returns last component index, for which receiver applies.
virtual int SetUpPointsOnTriangle(int, MaterialMode mode)
Sets up receiver's integration points on triangular (area coords) integration domain.
integrationDomain giveIntegrationDomain() const
Returns the domain for the receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
Class representing solution step.
std::vector< GaussPoint * > gaussPoints
Array containing integration points.
virtual const char * giveClassName() const