Commit 2f398b6b authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

set solution vector to zeros before solve

parent 929db4e5
Pipeline #1302 passed with stage
in 18 minutes and 36 seconds
......@@ -288,6 +288,7 @@ buildAfterAdapt(AdaptInfo& /*adaptInfo*/, Flag /*flag*/, bool asmMatrix, bool as
// 3. finish matrix insertion and apply dirichlet boundary conditions
systemMatrix_->finish(asmMatrix);
rhs_->finish(asmVector);
(*solution_) = 0;
forEachNode_(localView.tree(), [&,this](auto const& rowNode, auto) {
forEachNode_(localView.tree(), [&,this](auto const& colNode, auto) {
......
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