Commit 62892acf authored by Kilian Weishaupt's avatar Kilian Weishaupt

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

* error was not detected because updateBoundary only does something for box
* md test (stokesdarcy 1p2c2p2c) uses tpfa
parent fa398126
......@@ -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