Commit e8d7adb8 authored by Dennis Gläser's avatar Dennis Gläser

Merge branch 'fix/md-boxlocalassembler-duplicate-bind' into 'master'

[md][boxlocalassembler] Only bind couplingContext and fvGeometry once

See merge request !1478
parents d1533c0a fb56555a
...@@ -265,7 +265,6 @@ public: ...@@ -265,7 +265,6 @@ public:
void bindLocalViews() void bindLocalViews()
{ {
// get some references for convenience // get some references for convenience
auto& couplingManager = this->couplingManager();
const auto& element = this->element(); const auto& element = this->element();
const auto& curSol = this->curSol()[domainId]; const auto& curSol = this->curSol()[domainId];
auto&& fvGeometry = this->fvGeometry(); auto&& fvGeometry = this->fvGeometry();
...@@ -276,10 +275,6 @@ public: ...@@ -276,10 +275,6 @@ public:
couplingManager_.bindCouplingContext(domainId, element, this->assembler()); couplingManager_.bindCouplingContext(domainId, element, this->assembler());
fvGeometry.bind(element); fvGeometry.bind(element);
// bind the caches
couplingManager.bindCouplingContext(domainId, element, this->assembler());
fvGeometry.bind(element);
if (implicit) if (implicit)
{ {
curElemVolVars.bind(element, fvGeometry, curSol); curElemVolVars.bind(element, fvGeometry, curSol);
......
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