Commit 2324dd28 authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[cclocalassembler] fix numeric assembly with explicit time disc scheme

(cherry picked from commit fe70d33f)
parent 0d6fb00c
......@@ -344,7 +344,7 @@ public:
// assemble the undeflected residual
const auto residual = this->evalLocalResidual()[0];
const auto storageResidual = this->evalLocalStorageResidual();
const auto storageResidual = this->evalLocalStorageResidual()[0];
// Calculate derivatives of all dofs in stencil with respect to the dofs in the element. In the //
......@@ -386,7 +386,7 @@ public:
// the residual with the deflected primary variables
elemSol[0][pvIdx] = priVar;
curVolVars.update(elemSol, this->problem(), element, scv);
return this->evalLocalStorageResidual();
return this->evalLocalStorageResidual()[0];
// for non-ghosts compute the derivative numerically
Supports Markdown
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