DOpE
Public Member Functions | Protected Attributes
DOpE::RefinementContainer Class Reference

#include <refinementcontainer.h>

Inheritance diagram for DOpE::RefinementContainer:
DOpE::LocalRefinement DOpE::RefineFixedFraction DOpE::RefineFixedNumber DOpE::RefineOptimized

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 unsigned int GetMaxNElements () const
 
virtual double GetConvergenceOrder () const
 
DOpEtypes::RefinementType GetRefType () const
 
bool UsesCoarsening () const
 

Protected Attributes

bool coarsening_
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

virtual DOpE::RefinementContainer::~RefinementContainer ( )
inlinevirtual

Member Function Documentation

double DOpE::RefinementContainer::GetBottomFraction ( ) const
virtual
double DOpE::RefinementContainer::GetConvergenceOrder ( ) const
virtual

Reimplemented in DOpE::RefineOptimized.

const dealii::Vector< float > & DOpE::RefinementContainer::GetLocalErrorIndicators ( ) const
virtual

Get functions, self explanatory. Implemented in the derived classes.

Reimplemented in DOpE::LocalRefinement.

unsigned int DOpE::RefinementContainer::GetMaxNElements ( ) const
virtual
DOpEtypes::RefinementType DOpE::RefinementContainer::GetRefType ( ) const

Returns the refinement type for which the RefinementContainer object is constructed, see dopetypes.h

double DOpE::RefinementContainer::GetTopFraction ( ) const
virtual
bool DOpE::RefinementContainer::UsesCoarsening ( ) const

Specifies if the mesh refinement uses coarsening.

Field Documentation

bool DOpE::RefinementContainer::coarsening_
protected

The documentation for this class was generated from the following files: