diff --git a/dumux/experimental/assembly/multistagefvlocaloperator.hh b/dumux/experimental/assembly/multistagefvlocaloperator.hh index 9fa58b3922098d13528aa2578658ba239327845d..e895437df3ca3386d0204349a004ee223e485a06 100644 --- a/dumux/experimental/assembly/multistagefvlocaloperator.hh +++ b/dumux/experimental/assembly/multistagefvlocaloperator.hh @@ -57,12 +57,11 @@ public: const ElemBCTypes& bcTypes ) const { ElementOperatorResultVector result(fvGeometry.numScv()); - if (std::abs(spatialWeight_) > 1e-6) { result = op_.evalFluxAndSource(fvGeometry.element(), fvGeometry, elemVolVars, elemFluxVarsCache, bcTypes); - for (const auto& scv : scvs(fvGeometry)) - result[scv.localDofIndex()] *= spatialWeight_; + for (auto& r : result) + r *= spatialWeight_; } return result;