Equidistribution strategy.
More...
#include <Marker.hpp>
Inherits EstimatorMarker< Grid >.
|
|
| ESMarker (std::string const &name, std::string component, Estimates const &est, std::shared_ptr< Grid > const &grid) |
| | Constructor.
|
| |
| void | initMarking (AdaptInfo &adaptInfo) override |
| | Called before traversal.
|
| |
|
| EstimatorMarker ()=default |
| | Constructor.
|
| |
|
| EstimatorMarker (std::string name, std::string component, Estimates const &est, std::shared_ptr< Grid > const &grid) |
| | Constructor.
|
| |
| void | initMarking (AdaptInfo &adaptInfo) override |
| | Can be used by sub classes. Called before traversal.
|
| |
| void | markElement (AdaptInfo &adaptInfo, Element const &elem) override |
| | Marks one element.
|
| |
|
| Marker ()=default |
| | Constructor.
|
| |
|
| Marker (std::string const &name, std::shared_ptr< Grid > const &grid) |
| | Constructor.
|
| |
|
virtual | ~Marker ()=default |
| | Destructor.
|
| |
| void | mark (Element const &elem, int newMark) |
| |
|
virtual void | finishMarking (AdaptInfo &adaptInfo) |
| | Called after traversal.
|
| |
| virtual Flag | markGrid (AdaptInfo &adaptInfo) |
| | Marking of the whole grid.
|
| |
|
int | elMarkRefine () const |
| | Returns elMarkRefine_ of the Marker.
|
| |
|
int | elMarkCoarsen () const |
| | Returns elMarkCoarsen_ of the Marker.
|
| |
|
std::string const & | name () const |
| | Returns name_ of the Marker.
|
| |
|
void | setMaximumMarking (bool maxMark) |
| | Sets maximumMarking_.
|
| |
|
void | allowRefinement (bool allow) |
| | Sets refineAllowed_.
|
| |
|
void | allowCoarsening (bool allow) |
| | Sets coarsenAllowed_.
|
| |
|
|
double | esTheta_ = 0.9 |
| | Marking parameter.
|
| |
|
double | esThetaC_ = 0.2 |
| | Marking parameter.
|
| |
|
std::string | component_ |
| | Problem component to work on.
|
| |
|
Estimates | est_ |
| | Pointer to the local error estimates.
|
| |
|
double | estSum_ = 0.0 |
| | Estimation sum.
|
| |
|
double | estMax_ = 0.0 |
| | Estmation maximum.
|
| |
| double | markRLimit_ |
| |
| double | markCLimit_ |
| |
|
double | p_ = 2.0 |
| | Power in estimator norm.
|
| |
|
std::string | name_ |
| | Name of the marker.
|
| |
|
std::shared_ptr< Grid > | grid_ |
| | Pointer to the grid.
|
| |
| bool | maximumMarking_ = false |
| |
|
int | info_ = 0 |
| | Info level.
|
| |
|
int | elMarkRefine_ = 0 |
| | Counter for elements marked for refinement.
|
| |
|
int | elMarkCoarsen_ = 0 |
| | Counter for elements marked for coarsening.
|
| |
|
int | maxRefineLevel_ = std::numeric_limits<int>::max() |
| | Maximal level of all elements.
|
| |
|
int | minRefineLevel_ = 0 |
| | Minimal level of all elements.
|
| |
|
bool | refineAllowed_ = true |
| | Allow elements to be marked for refinement.
|
| |
|
bool | coarsenAllowed_ = true |
| | Allow elements to be marked for coarsening.
|
| |
|
|
static std::unique_ptr< EstimatorMarker< Grid > > | createMarker (std::string const &name, std::string const &component, Estimates const &est, std::shared_ptr< Grid > const &grid) |
| | Creates a scalar marker depending on the strategy set in parameters.
|
| |
|
using | Super = Marker< Grid > |
| |
|
using | Element = typename Super::Element |
| |
|
using | Estimates = std::vector< double > |
| |
|
using | GridView = typename Grid::LeafGridView |
| |
|
using | Element = typename GridView::template Codim< 0 >::Entity |
| |
template<class Grid>
class AMDiS::ESMarker< Grid >
Equidistribution strategy.
◆ initMarking()
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/amdis/checkouts/latest/amdis/Marker.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/amdis/checkouts/latest/amdis/Marker.inc.hpp