Commit fb56555a authored by Kilian Weishaupt's avatar Kilian Weishaupt

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

parent d1533c0a
...@@ -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