Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Praetorius, Simon
dune-amdis
Commits
90514b5a
Commit
90514b5a
authored
Oct 02, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update globalBasis after grid refinement
parent
69292946
Pipeline
#1254
passed with stage
in 25 minutes and 30 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
examples/ellipt.cc
examples/ellipt.cc
+1
-0
src/amdis/ProblemStat.hpp
src/amdis/ProblemStat.hpp
+5
-2
src/amdis/ProblemStat.inc.hpp
src/amdis/ProblemStat.inc.hpp
+1
-1
No files found.
examples/ellipt.cc
View file @
90514b5a
...
...
@@ -61,6 +61,7 @@ int main(int argc, char** argv)
h
=
std
::
max
(
h
,
e
.
geometry
().
volume
());
widths
.
push_back
(
h
);
prob
.
globalBasis
().
update
(
gridView
);
prob
.
buildAfterAdapt
(
adaptInfo
,
Flag
(
0
));
prob
.
solve
(
adaptInfo
);
...
...
src/amdis/ProblemStat.hpp
View file @
90514b5a
...
...
@@ -216,8 +216,11 @@ namespace AMDiS
/// Return the gridView of the leaf-level
GridView
const
&
gridView
()
{
return
globalBasis_
->
gridView
();
}
/// Return the \ref feSpaces
GlobalBasis
const
&
globalBasis
()
{
return
*
globalBasis_
;
}
/// Return the \ref globalBasis_
GlobalBasis
const
&
globalBasis
()
const
{
return
*
globalBasis_
;
}
/// Return the \ref globalBasis_
GlobalBasis
&
globalBasis
()
{
return
*
globalBasis_
;
}
/// Implementation of \ref ProblemStatBase::getName
...
...
src/amdis/ProblemStat.inc.hpp
View file @
90514b5a
...
...
@@ -334,7 +334,7 @@ adaptGrid(AdaptInfo& adaptInfo)
globalBasis_
->
update
(
gridView
());
grid_
->
postAdapt
();
msg
(
"
Grid
adapt
ion
needed {} seconds"
,
t
.
elapsed
());
msg
(
"adapt
Grid
needed {} seconds"
,
t
.
elapsed
());
return
0
;
}
...
...
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