mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: AMI - use min instead of max when calculating area error
This commit is contained in:
@ -187,7 +187,7 @@ void Foam::cyclicAMIPolyPatch::calcTransforms
|
|||||||
}
|
}
|
||||||
|
|
||||||
scalar areaError =
|
scalar areaError =
|
||||||
max(errorPos, errorNeg)/(mag(area1) + ROOTVSMALL);
|
min(errorPos, errorNeg)/(mag(area1) + ROOTVSMALL);
|
||||||
|
|
||||||
if (areaError > matchTolerance())
|
if (areaError > matchTolerance())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user