ENH: Updated AMI dependent code

This commit is contained in:
Andrew Heather
2020-06-03 14:45:01 +01:00
committed by Andrew Heather
parent 66d270b924
commit 7c1c9fee0c
9 changed files with 41 additions and 55 deletions

View File

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