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

Merge branch 'cherry-pick-70c12576' into 'releases/3.0'

Merge branch 'fix/md-box-localassembler' into 'master'

See merge request !1473
parents 857293cc 2696f6e9
......@@ -187,6 +187,16 @@ public:
const auto residual = this->evalLocalResidual();
for (const auto& scv : scvs(this->fvGeometry()))
res[scv.dofIndex()] += residual[scv.localDofIndex()];
auto applyDirichlet = [&] (const auto& scvI,
const auto& dirichletValues,
const auto eqIdx,
const auto pvIdx)
res[scvI.dofIndex()][eqIdx] = this->curElemVolVars()[scvI].priVars()[pvIdx] - dirichletValues[pvIdx];
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