mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust AMI information (issue #860)
- use "min:xxx" for consistency with other outputs - adjust decompositionInformation as well
This commit is contained in:
@ -63,6 +63,6 @@ alpha1Min/Min\(alpha1\) =/Min(alpha1) =
|
|||||||
alpha1Max/Max\(alpha1\) =/Max(alpha1) =
|
alpha1Max/Max\(alpha1\) =/Max(alpha1) =
|
||||||
|
|
||||||
# AMI
|
# AMI
|
||||||
AMIMin/AMI: Patch source sum/min =
|
AMIMin/AMI: Patch source sum/min:
|
||||||
AMIMax/AMI: Patch source sum/max =
|
AMIMax/AMI: Patch source sum/max:
|
||||||
AMIAvg/AMI: Patch source sum/average =
|
AMIAvg/AMI: Patch source sum/average:
|
||||||
|
|||||||
@ -98,7 +98,7 @@ void Foam::cyclicACMIPolyPatch::resetAMI
|
|||||||
const_cast<AMIPatchToPatchInterpolation&>(this->AMI());
|
const_cast<AMIPatchToPatchInterpolation&>(this->AMI());
|
||||||
|
|
||||||
// Output some stats. AMIInterpolation will have already output the
|
// 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();
|
const scalarField& wghtsSum = AMI.srcWeightsSum();
|
||||||
|
|
||||||
|
|||||||
@ -561,15 +561,15 @@ void Foam::cyclicPeriodicAMIPolyPatch::resetAMI
|
|||||||
Info<< indent
|
Info<< indent
|
||||||
<< "AMI: Patch " << name()
|
<< "AMI: Patch " << name()
|
||||||
<< " sum(weights)"
|
<< " sum(weights)"
|
||||||
<< " min = " << gMin(srcWghtSum)
|
<< " min:" << gMin(srcWghtSum)
|
||||||
<< " max = " << gMax(srcWghtSum)
|
<< " max:" << gMax(srcWghtSum)
|
||||||
<< " average = " << gAverage(srcWghtSum) << nl;
|
<< " average:" << gAverage(srcWghtSum) << nl;
|
||||||
Info<< indent
|
Info<< indent
|
||||||
<< "AMI: Patch " << neighbPatch().name()
|
<< "AMI: Patch " << neighbPatch().name()
|
||||||
<< " sum(weights)"
|
<< " sum(weights)"
|
||||||
<< " min = " << gMin(tgtWghtSum)
|
<< " min:" << gMin(tgtWghtSum)
|
||||||
<< " max = " << gMax(tgtWghtSum)
|
<< " max:" << gMax(tgtWghtSum)
|
||||||
<< " average = " << gAverage(tgtWghtSum) << nl;
|
<< " average:" << gAverage(tgtWghtSum) << nl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -217,11 +217,11 @@ void Foam::decompositionInformation::printAll(Ostream& os) const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Ostream Operator * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Ostream Operator * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
Foam::Ostream& Foam::decompositionInformation::stats::print(Ostream& os) const
|
Foam::Ostream& Foam::decompositionInformation::stats::print(Ostream& os) const
|
||||||
{
|
{
|
||||||
os << "max/median/min: "
|
os << "min:" << this->min
|
||||||
<< this->max << " / " << this->median << " / " << this->min;
|
<< " max:" << this->max
|
||||||
|
<< " median:" << this->median;
|
||||||
|
|
||||||
if (this->median)
|
if (this->median)
|
||||||
{
|
{
|
||||||
@ -233,4 +233,5 @@ Foam::Ostream& Foam::decompositionInformation::stats::print(Ostream& os) const
|
|||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user