ENH: AMIInterpolation - updated to perform face triangulation once only; code clean-up

This commit is contained in:
Andrew Heather
2017-08-18 14:09:34 +01:00
parent 2be17edc1d
commit d016590bbc
23 changed files with 509 additions and 280 deletions

View File

@ -850,10 +850,10 @@ Foam::meshToMesh::meshToMesh
constructNoCuttingPatches
(
interpolationMethodNames_[method],
AMIPatchToPatchInterpolation::interpolationMethodToWord
(
AMIPatchToPatchInterpolation::interpolationMethodNames_
[
interpolationMethodAMI(method)
),
],
interpAllPatches
);
}
@ -917,10 +917,10 @@ Foam::meshToMesh::meshToMesh
constructFromCuttingPatches
(
interpolationMethodNames_[method],
AMIPatchToPatchInterpolation::interpolationMethodToWord
(
AMIPatchToPatchInterpolation::interpolationMethodNames_
[
interpolationMethodAMI(method)
),
],
patchMap,
cuttingPatches,
normalise