35 #include "../sm/ErrorEstimators/scalarerrorindicator.h" 36 #include "../sm/ErrorEstimators/directerrorindicatorrc.h" 52 varType = IST_PrincipalDamageTensor;
54 varType = IST_PrincipalDamageTempTensor;
66 double sval, maxVal = 0.0;
80 if ( gp->giveNumber() == 1 ) {
83 maxVal =
max(maxVal, sval);
114 return this->
rc.get();
The base class for all remeshing criteria.
virtual int estimateError(EE_ErrorMode mode, TimeStep *tStep)
Estimates the error on associated domain at given time step.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
virtual RemeshingCriteria * giveRemeshingCrit()
Returns reference to associated remeshing criteria.
REGISTER_ErrorEstimator(CombinedZZSIErrorEstimator, EET_CZZSI)
std::unique_ptr< RemeshingCriteria > rc
int max(int i, int j)
Returns bigger value form two given decimals.
virtual double giveElementError(EE_ErrorType type, Element *elem, TimeStep *tStep)
Returns the element error.
#define _IFT_ScalarErrorIndicator_vartype
Abstract base class for all finite elements.
EE_ErrorType
Type characterizing different type of element errors.
The class is an implementation of "direct" remeshing criteria, which maps the error indication...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
InternalStateType varType
Corresponding internal state type.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Class representing vector of real numbers.
EE_ErrorMode
Type determining whether temporary or equilibrated variables are used for error evaluation.
IRResultType
Type defining the return values of InputRecord reading operations.
double computeNorm() const
Computes the norm (or length) of the vector.
bool skipRegion(int reg)
Returns nonzero if region has been skipped in error estimation (user option).
int indicatorType
Type of internal variable to be indicator (type for temp and nontemp version).
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.