Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Praetorius, Simon
dune-amdis
Commits
c92fc60c
Commit
c92fc60c
authored
Nov 15, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
global refinement should only be performed if flag INIT_MESH is set
parent
e034a097
Pipeline
#1422
passed with stage
in 29 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
src/amdis/ProblemStat.inc.hpp
src/amdis/ProblemStat.inc.hpp
+6
-5
No files found.
src/amdis/ProblemStat.inc.hpp
View file @
c92fc60c
...
...
@@ -43,13 +43,14 @@ void ProblemStat<Traits>::initialize(
if
(
!
grid_
)
warning
(
"no grid created"
);
int
globalRefinements
=
0
;
Parameters
::
get
(
gridName_
+
"->global refinements"
,
globalRefinements
);
if
(
globalRefinements
>
0
)
{
grid_
->
globalRefine
(
globalRefinements
);
if
(
initFlag
.
isSet
(
INIT_MESH
))
{
int
globalRefinements
=
0
;
Parameters
::
get
(
gridName_
+
"->global refinements"
,
globalRefinements
);
if
(
globalRefinements
>
0
)
{
grid_
->
globalRefine
(
globalRefinements
);
}
}
// create fespace
if
(
globalBasis_
)
{
warning
(
"globalBasis already created"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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