Commit 721f2ed3 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/assembleResidualInitiallyZero' into 'master'

[fvassembler] Set r=0 in the beginning of assembleResidual

See merge request !2705

(cherry picked from commit 05aefbc6)

36d46465 [fvassembler] Set r=0 in the beginning of assembleResidual.
parent dca553de
Pipeline #5831 passed with stages
......@@ -209,6 +209,8 @@ public:
//! assemble a residual r
void assembleResidual(ResidualType& r, const SolutionVector& curSol)
{
r = 0.0;
checkAssemblerState_();
// update the grid variables for the case of active caching
......
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