Fixed merge failure

This commit is contained in:
Hrvoje Jasak 2019-02-13 18:06:23 +00:00
parent 2fea87c674
commit 1c6c10d84a

View file

@ -94,10 +94,9 @@ void Foam::adaptiveOverlapFringe::suitabilityFractionSlope
forAllConstIter(FIFOStack<iterationData>, iterHist, it) forAllConstIter(FIFOStack<iterationData>, iterHist, it)
{ {
iterSum += it().iteration(); n += (it().iteration() - iterMean)*
iterSquaredSum += pow(it().iteration(), 2); (it().suitability() - suitabilityMean);
suitabilitySum += it().suitability(); d += sqr(it().iteration() - iterMean);
iterXSuitabilitySum += it().iteration()*it().suitability();
} }
reduce(n, sumOp<scalar>()); reduce(n, sumOp<scalar>());