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
90514b5a
Commit
90514b5a
authored
Oct 02, 2018
by
Praetorius, Simon
Browse files
update globalBasis after grid refinement
parent
69292946
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
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