STYLE: AMI - updated output to show AMI patch names
Helps when running/debugging cases with multiple AMI patches Example: AMI: Creating AMI for source:AMI1 and target:AMI2 AMI: Patch source faces: 96 AMI: Patch target faces: 96 AMI: Patch source sum(weights) min:1 max:1 average:1 AMI: Patch target sum(weights) min:1 max:1 average:1
This commit is contained in:
parent
642d8a9dfa
commit
c3660b4123
@ -768,10 +768,8 @@ bool Foam::AMIInterpolation::calculate
|
||||
}
|
||||
|
||||
Info<< indent
|
||||
<< "AMI: Creating addressing and weights between "
|
||||
<< srcTotalSize << " source faces and "
|
||||
<< tgtTotalSize << " target faces"
|
||||
<< endl;
|
||||
<< "AMI: Patch source faces: " << srcTotalSize << nl
|
||||
<< "AMI: Patch target faces: " << tgtTotalSize << endl;
|
||||
|
||||
singlePatchProc_ = calcDistribution(srcPatch, tgtPatch);
|
||||
|
||||
|
@ -386,6 +386,9 @@ void Foam::cyclicAMIPolyPatch::resetAMI(const UList<point>& points) const
|
||||
pointField srcPoints(localPoints());
|
||||
pointField nbrPoints(nbr.localPoints());
|
||||
|
||||
Info<< "AMI: Creating AMI for source:" << name()
|
||||
<< " and target:" << nbr.name() << endl;
|
||||
|
||||
if (debug)
|
||||
{
|
||||
const Time& t = boundaryMesh().mesh().time();
|
||||
|
Loading…
Reference in New Issue
Block a user