Skip to content
Snippets Groups Projects
Commit ce077cab authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

add method to set the ignoreNodes after solver creation

[[Imported from SVN: r6835]]
parent 15c51598
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,14 @@ public: ...@@ -55,6 +55,14 @@ public:
int baseIterations, int baseIterations,
double baseTolerance, double baseTolerance,
bool instrumented); bool instrumented);
void setIgnoreNodes(const Dune::BitSetVector<blocksize>& ignoreNodes)
{
ignoreNodes_ = &ignoreNodes;
Dune::shared_ptr<LoopSolver<CorrectionType> > loopSolver = std::dynamic_pointer_cast<LoopSolver<CorrectionType> >(innerSolver_);
assert(loopSolver);
loopSolver->iterationStep_->ignoreNodes_ = ignoreNodes_;
}
void solve(); void solve();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment