Commit 0043da12 authored by Timo Koch's avatar Timo Koch
Browse files

[multidomain] Rename local variable to streamline box with cc implementation

parent 08af73fd
......@@ -474,7 +474,7 @@ public:
const auto& stencil = this->couplingManager().couplingStencil(domainI, element, domainJ);
// convenience lambda for call to update self
auto updateSelf = [&] ()
auto updateCoupledVariables = [&] ()
{
// Update ourself after the context has been modified. Depending on the
// type of caching, other objects might have to be updated. All ifs can be optimized away.
......@@ -510,7 +510,7 @@ public:
{
priVarsJ[pvIdx] = priVar;
this->couplingManager().updateCouplingContext(domainI, *this, domainJ, globalJ, priVarsJ, pvIdx);
updateSelf();
updateCoupledVariables();
return this->couplingManager().evalCouplingResidual(domainI, *this, domainJ, globalJ);
};
......@@ -558,7 +558,7 @@ public:
// This has to be done in case they depend on variables of domainJ before
// we continue with the numeric derivative w.r.t the next globalJ. Otherwise,
// the next "origResidual" will be incorrect.
updateSelf();
updateCoupledVariables();
}
}
};
......
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