Commit f24c004a authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'backport/fix-cc-assembly-explicit-numeric' into 'releases/3.1'

[cclocalassembler] fix numeric assembly with explicit time disc scheme

See merge request !1938
parents 0d6fb00c 2324dd28
......@@ -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