Commit 90514b5a authored by Praetorius, Simon's avatar Praetorius, Simon

update globalBasis after grid refinement

parent 69292946
Pipeline #1254 passed with stage
in 25 minutes and 30 seconds
......@@ -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);
......
......@@ -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
......
......@@ -334,7 +334,7 @@ adaptGrid(AdaptInfo& adaptInfo)
globalBasis_->update(gridView());
grid_->postAdapt();
msg("Grid adaption needed {} seconds", t.elapsed());
msg("adaptGrid needed {} seconds", t.elapsed());
return 0;
}
......
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