Messaging active only on debug
This commit is contained in:
parent
e15c8da28c
commit
4c38814d3f
1 changed files with 14 additions and 8 deletions
|
@ -85,7 +85,10 @@ void GGIInterpolation<MasterPatch, SlavePatch>::calcAddressing() const
|
||||||
<< abort(FatalError);
|
<< abort(FatalError);
|
||||||
}
|
}
|
||||||
|
|
||||||
Info << "Evaluation of GGI weighting factors:" << endl;
|
if (debug)
|
||||||
|
{
|
||||||
|
Info << "Evaluation of GGI weighting factors:" << endl;
|
||||||
|
}
|
||||||
|
|
||||||
// Create the dynamic lists to hold the addressing
|
// Create the dynamic lists to hold the addressing
|
||||||
|
|
||||||
|
@ -475,8 +478,6 @@ void GGIInterpolation<MasterPatch, SlavePatch>::calcAddressing() const
|
||||||
{
|
{
|
||||||
rescaleWeightingFactors();
|
rescaleWeightingFactors();
|
||||||
}
|
}
|
||||||
|
|
||||||
Info << endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -569,12 +570,17 @@ void GGIInterpolation<MasterPatch, SlavePatch>::rescaleWeightingFactors() const
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (saW.size() > 0 && maW.size() > 0)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< " Largest slave weighting factor correction : " << largestSWC
|
if (saW.size() > 0 && maW.size() > 0)
|
||||||
<< " average: " << sumSWC/saW.size() << nl
|
{
|
||||||
<< " Largest master weighting factor correction: " << largestMWC
|
Info<< " Largest slave weighting factor correction : "
|
||||||
<< " average: " << sumMWC/maW.size() << endl;
|
<< largestSWC
|
||||||
|
<< " average: " << sumSWC/saW.size() << nl
|
||||||
|
<< " Largest master weighting factor correction: "
|
||||||
|
<< largestMWC
|
||||||
|
<< " average: " << sumMWC/maW.size() << endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue