35#ifndef zzerrorestimator_h
36#define zzerrorestimator_h
49#define _IFT_ZZErrorEstimator_Name "zz"
50#define _IFT_ZZErrorEstimator_normtype "normtype"
51#define _IFT_ZZErrorEstimator_recoverytype "recoverytype"
56#define _IFT_ZZRemeshingCriteria_requirederror "requirederror"
57#define _IFT_ZZRemeshingCriteria_minelemsize "minelemsize"
61#define ZZErrorEstimator_ElementResultCashed
97#ifdef ZZErrorEstimator_ElementResultCashed
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
ErrorEstimatorType eeType
ErrorEstimator(int n, Domain *d)
Constructor.
RemeshingCriteria(int n, ErrorEstimator *e)
Constructor.
virtual void ZZErrorEstimatorI_computeElementContributions(double &eNorm, double &sNorm, ZZErrorEstimator ::NormType norm, InternalStateType type, TimeStep *tStep)
ZZErrorEstimatorInterface(Element *element)
Constructor.
virtual IntegrationRule * ZZErrorEstimatorI_giveIntegrationRule()
virtual void ZZErrorEstimatorI_computeLocalStress(FloatArray &answer, FloatArray &sig)
double globalSNorm
Global norm of quantity which error is evaluated.
NodalRecoveryType nodalRecoveryType
Nodal recovery type.
FloatArray eNorms
Cache storing element norms.
RemeshingCriteria * giveRemeshingCrit() override
virtual ~ZZErrorEstimator()
Destructor.
double globalErrorEstimate
Global error estimate (relative).
NormType
Type of norm used.
NormType normType
Type of norm used.
NodalRecoveryType
Nodal recovery type.
double giveElementError(EE_ErrorType type, Element *elem, TimeStep *tStep) override
double giveValue(EE_ValueType type, TimeStep *tStep) override
ZZErrorEstimator(int n, Domain *d)
Constructor.
void initializeFrom(InputRecord &ir) override
int estimateError(EE_ErrorMode mode, TimeStep *tStep) override
double globalENorm
Global error norm.
const char * giveInputRecordName() const override
const char * giveClassName() const override
StateCounterType stateCounter
Actual state counter.
ZZRemeshingCriteriaModeType mode
Mode of receiver.
RemeshingStrategy giveRemeshingStrategy(TimeStep *tStep) override
const char * giveInputRecordName() const override
RemeshingStrategy remeshingStrategy
Remeshing strategy proposed.
StateCounterType stateCounter
Actual values (densities) state counter.
void initializeFrom(InputRecord &ir) override
ZZRemeshingCriteria(int n, ErrorEstimator *e)
Constructor.
int estimateMeshDensities(TimeStep *tStep) override
ZZRemeshingCriteriaModeType
Mode of receiver, allows to use it in more general situations.
double requiredError
Required error to obtain.
virtual ~ZZRemeshingCriteria()
Destructor.
const char * giveClassName() const override
double minElemSize
Minimum element size allowed.
double giveRequiredDofManDensity(int num, TimeStep *tStep, int relative=0) override
double giveDofManDensity(int num) override
FloatArray nodalDensities
Array of nodal mesh densities.
double norm(const FloatArray &x)
long StateCounterType
StateCounterType type used to indicate solution state.
RemeshingStrategy
Type representing the remeshing strategy.
@ EET_ZZEE
Zienkiewicz-Zhu EE.
#define _IFT_ZZErrorEstimator_Name