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

[cleanup] Ghost request is already checked inside evalLocalResidual

parent 2c5e2f36
......@@ -247,8 +247,8 @@ public:
if (enableGridFluxVarsCache)
gridVariables.gridFluxVarsCache().updateElement(element, fvGeometry, curElemVolVars);
// calculate the residual with the deflected primary variables (except for ghosts)
if (!this->elementIsGhost()) partialDerivsTmp[0] = this->evalLocalResidual()[0];
// calculate the residual with the deflected primary variables
partialDerivsTmp[0] = this->evalLocalResidual()[0];
// calculate the fluxes in the neighbors with the deflected primary variables
for (std::size_t k = 0; k < numNeighbors; ++k)
......
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