STYLE: adjust AMI information (issue #860)

- use "min:xxx" for consistency with other outputs

- adjust decompositionInformation as well
This commit is contained in:
Mark Olesen
2018-06-13 15:26:59 +02:00
parent a1f5f33091
commit f0a92b11d1
4 changed files with 14 additions and 13 deletions

View File

@ -98,7 +98,7 @@ void Foam::cyclicACMIPolyPatch::resetAMI
const_cast<AMIPatchToPatchInterpolation&>(this->AMI());
// Output some stats. AMIInterpolation will have already output the
// average weights ("sum(weights) min = 1 max = 1 average = 1")
// average weights ("sum(weights) min:1 max:1 average:1")
{
const scalarField& wghtsSum = AMI.srcWeightsSum();

View File

@ -561,15 +561,15 @@ void Foam::cyclicPeriodicAMIPolyPatch::resetAMI
Info<< indent
<< "AMI: Patch " << name()
<< " sum(weights)"
<< " min = " << gMin(srcWghtSum)
<< " max = " << gMax(srcWghtSum)
<< " average = " << gAverage(srcWghtSum) << nl;
<< " min:" << gMin(srcWghtSum)
<< " max:" << gMax(srcWghtSum)
<< " average:" << gAverage(srcWghtSum) << nl;
Info<< indent
<< "AMI: Patch " << neighbPatch().name()
<< " sum(weights)"
<< " min = " << gMin(tgtWghtSum)
<< " max = " << gMax(tgtWghtSum)
<< " average = " << gAverage(tgtWghtSum) << nl;
<< " min:" << gMin(tgtWghtSum)
<< " max:" << gMax(tgtWghtSum)
<< " average:" << gAverage(tgtWghtSum) << nl;
}
}
}