Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
c27b2e73
Commit
c27b2e73
authored
Oct 19, 2018
by
Praetorius, Simon
Browse files
max and min refinement level initialized in base class only
parent
11938c90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/amdis/Marker.inc.hpp
View file @
c27b2e73
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment