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

@ -89,10 +89,10 @@ void Foam::functionObjects::mapFields::createInterpolation
// Lookup corresponding AMI method
word patchMapMethodName =
AMIPatchToPatchInterpolation::interpolationMethodToWord
(
AMIPatchToPatchInterpolation::interpolationMethodNames_
[
meshToMesh::interpolationMethodAMI(mapMethod)
);
];
// Optionally override
if (dict.readIfPresent("patchMapMethod", patchMapMethodName))