DOpE
|
#include <refinementcontainer.h>
Public Member Functions | |
RefinementContainer (DOpEtypes::RefinementType ref_type=DOpEtypes::RefinementType::global) | |
virtual | ~RefinementContainer () |
virtual const dealii::Vector < float > & | GetLocalErrorIndicators () const |
virtual double | GetTopFraction () const |
virtual double | GetBottomFraction () const |
virtual double | GetConvergenceOrder () const |
DOpEtypes::RefinementType | GetRefType () const |
bool | UsesCoarsening () const |
Protected Attributes | |
bool | coarsening_ |
This base class represents a container which holds the necessary information needed to (locally) refine a grid. This class is used in the RefineSpace method of the MOL-space time handlers. To use local meshrefinement, see the derived classes 'RefineFixedFraction', 'RefineFixedNumber' and 'RefineOptimized'. To use global meshrefinement, one can use this base class, as no special data is needed in the SpaceTimeHandler.
DOpE::RefinementContainer::RefinementContainer | ( | DOpEtypes::RefinementType | ref_type = DOpEtypes::RefinementType::global | ) |
Constructor if one wants to use a refinement which does not need any special data apart from the given DOpEtypes::RefinementType (like global refinement). If no DOpEtypes::RefinementType is given, global mesh refinement is assumed.
|
inlinevirtual |
|
virtual |
Reimplemented in DOpE::RefineFixedNumber, and DOpE::RefineFixedFraction.
|
virtual |
Reimplemented in DOpE::RefineOptimized.
|
virtual |
Get functions, self explanatory. Implemented in the derived classes.
Reimplemented in DOpE::LocalRefinement.
DOpEtypes::RefinementType DOpE::RefinementContainer::GetRefType | ( | ) | const |
Returns the refinement type for which the RefinementContainer object is constructed, see dopetypes.h
|
virtual |
Reimplemented in DOpE::RefineFixedNumber, and DOpE::RefineFixedFraction.
bool DOpE::RefinementContainer::UsesCoarsening | ( | ) | const |
Specifies if the mesh refinement uses coarsening.
|
protected |