Commit c27b2e73 authored by Praetorius, Simon's avatar Praetorius, Simon

max and min refinement level initialized in base class only

parent 11938c90
Pipeline #1337 passed with stage
in 33 minutes and 41 seconds
......@@ -88,10 +88,10 @@ void EstimatorMarker<Grid>::markElement(AdaptInfo& adaptInfo, const Element& ele
double lError = est_[index];
if (lError > markRLimit_ && this->refineAllowed_
&& (this->maxRefineLevel_ == -1 || elem.level() < this->maxRefineLevel_)) {
&& elem.level() < this->maxRefineLevel_) {
this->mark(elem, 1);
} else if (lError <= markCLimit_ && this->coarsenAllowed_
&& (this->minRefineLevel_ == -1 || elem.level() > this->minRefineLevel_)) {
&& elem.level() > this->minRefineLevel_) {
this->mark(elem, -1);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment