Commit 7548d41b authored by Timo Koch's avatar Timo Koch

Merge branch 'fix/md-newton-solver-privar-switch' into 'master'

[md][newtonsolver] Pass sub solution vector to priVarSwitch.updateBoundary()

See merge request !1487

(cherry picked from commit 0952a1cb)

62892acf [md][newtonsolver] Pass sub solution vector to priVarSwitch.updateBoundary()
parent 43b68084
......@@ -167,7 +167,7 @@ private:
const auto& problem = this->assembler().problem(id);
const auto& fvGridGeometry = this->assembler().fvGridGeometry(id);
auto& gridVariables = this->assembler().gridVariables(id);
priVarSwitch.updateBoundary(problem, fvGridGeometry, gridVariables, sol);
priVarSwitch.updateBoundary(problem, fvGridGeometry, gridVariables, sol[id]);
}
/*!
......
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