|
OOFEM 3.0
|
#include <remeshingcrit.h>
Public Member Functions | |
| RemeshingCriteria (int n, ErrorEstimator *e) | |
| Constructor. | |
| virtual | ~RemeshingCriteria () |
| Destructor. | |
| virtual double | giveRequiredDofManDensity (int num, TimeStep *tStep, int relative=0)=0 |
| virtual double | giveDofManDensity (int num)=0 |
| virtual RemeshingStrategy | giveRemeshingStrategy (TimeStep *tStep)=0 |
| virtual int | estimateMeshDensities (TimeStep *tStep)=0 |
| virtual void | reinitialize () |
| Public Member Functions inherited from oofem::FEMComponent | |
| FEMComponent (int n, Domain *d) | |
| virtual | ~FEMComponent ()=default |
| Virtual destructor. | |
| virtual const char * | giveClassName () const =0 |
| virtual const char * | giveInputRecordName () const =0 |
| Domain * | giveDomain () const |
| virtual void | setDomain (Domain *d) |
| int | giveNumber () const |
| void | setNumber (int num) |
| virtual void | updateLocalNumbering (EntityRenumberingFunctor &f) |
| virtual void | initializeFrom (InputRecord &ir) |
| virtual void | initializeFrom (InputRecord &ir, int priority) |
| virtual void | initializeFinish () |
| virtual void | postInitialize () |
| Performs post initialization steps. Called after all components are created and initialized. | |
| virtual void | giveInputRecord (DynamicInputRecord &input) |
| virtual void | saveContext (DataStream &stream, ContextMode mode) |
| virtual void | restoreContext (DataStream &stream, ContextMode mode) |
| virtual int | checkConsistency () |
| virtual void | printOutputAt (FILE *file, TimeStep *tStep) |
| virtual void | printYourself () |
| Prints receiver state on stdout. Useful for debugging. | |
| virtual Interface * | giveInterface (InterfaceType t) |
| std::string | errorInfo (const char *func) const |
| Returns string for prepending output (used by error reporting macros). | |
Protected Attributes | |
| ErrorEstimator * | ee |
| CommunicatorBuff * | commBuff |
| Common Communicator buffer. | |
| ProblemCommunicator * | communicator |
| Communicator. | |
| bool | initCommMap |
| Communication init flag. | |
| Protected Attributes inherited from oofem::FEMComponent | |
| int | number |
| Component number. | |
| Domain * | domain |
| Link to domain object, useful for communicating with other FEM components. | |
The base class for all remeshing criteria. The basic task is to evaluate the required mesh density (at nodes) on given domain, based on informations provided by the compatible error estimator. If this task requires the special element algorithms, these should be included using interface concept.
The remeshing criteria is maintained by the corresponding error estimator. This is mainly due to fact, that is necessary for given EE to create compatible RC. In our concept, the EE is responsible.
Definition at line 61 of file remeshingcrit.h.
| oofem::RemeshingCriteria::RemeshingCriteria | ( | int | n, |
| ErrorEstimator * | e ) |
Constructor.
Definition at line 43 of file remeshingcrit.C.
References commBuff, communicator, ee, oofem::FEMComponent::FEMComponent(), oofem::FEMComponent::giveDomain(), and initCommMap.
Referenced by oofem::CombinedZZSIRemeshingCriteria::CombinedZZSIRemeshingCriteria(), oofem::DirectErrorIndicatorRC::DirectErrorIndicatorRC(), oofem::HuertaRemeshingCriteria::HuertaRemeshingCriteria(), and oofem::ZZRemeshingCriteria::ZZRemeshingCriteria().
|
virtual |
|
pure virtual |
Estimates the nodal densities.
| tStep | Time step. |
Implemented in oofem::CombinedZZSIRemeshingCriteria, oofem::DirectErrorIndicatorRC, oofem::HuertaRemeshingCriteria, and oofem::ZZRemeshingCriteria.
|
pure virtual |
Returns existing mesh size for given dof manager.
| num | DofMan number. |
Implemented in oofem::CombinedZZSIRemeshingCriteria, oofem::DirectErrorIndicatorRC, oofem::HuertaRemeshingCriteria, and oofem::ZZRemeshingCriteria.
|
pure virtual |
Determines, if the remeshing is needed, and if needed, the type of strategy used.
| tStep | Time step. |
Implemented in oofem::CombinedZZSIRemeshingCriteria, oofem::DirectErrorIndicatorRC, oofem::HuertaRemeshingCriteria, and oofem::ZZRemeshingCriteria.
|
pure virtual |
Returns the required mesh size n given dof manager. The mesh density is defined as a required element size (in 1D the element length, in 2D the square from element area).
| num | Dofman number. |
| tStep | Time step. |
| relative | If zero, then actual density is returned, otherwise the relative density to current is returned. |
Implemented in oofem::CombinedZZSIRemeshingCriteria, oofem::DirectErrorIndicatorRC, oofem::HuertaRemeshingCriteria, and oofem::ZZRemeshingCriteria.
Referenced by oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), and oofem::Targe2Interface::createInput().
|
inlinevirtual |
Reimplemented in oofem::DirectErrorIndicatorRC.
Definition at line 106 of file remeshingcrit.h.
|
protected |
Common Communicator buffer.
Definition at line 68 of file remeshingcrit.h.
Referenced by oofem::DirectErrorIndicatorRC::initializeFrom(), RemeshingCriteria(), and ~RemeshingCriteria().
|
protected |
Definition at line 70 of file remeshingcrit.h.
Referenced by oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManDensities(), oofem::DirectErrorIndicatorRC::exchangeDofManIndicatorVals(), oofem::DirectErrorIndicatorRC::initializeFrom(), RemeshingCriteria(), and ~RemeshingCriteria().
|
protected |
Definition at line 64 of file remeshingcrit.h.
Referenced by oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::DirectErrorIndicatorRC::giveLocalDofManIndicator(), and RemeshingCriteria().
|
protected |
Communication init flag.
Definition at line 72 of file remeshingcrit.h.
Referenced by oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::DirectErrorIndicatorRC::reinitialize(), RemeshingCriteria(), and oofem::DirectErrorIndicatorRC::setDomain().