processorPolyPatch, processorCyclicPolyPatch: Rationalized the construction of the patch name

This change ensures that these patches are named consistently so that
they can be looked-up as required in e.g. patchMeanVelocityForce
This commit is contained in:
Henry Weller
2016-02-02 20:07:16 +00:00
parent 923f39a9f8
commit 8b9698ad43
13 changed files with 139 additions and 121 deletions

View File

@ -161,12 +161,9 @@ autoPtr<faceCoupleInfo> determineCoupledFaces
for (label mergedProcI = 0; mergedProcI < procI; mergedProcI++)
{
const string fromProcString
const word fromProcString
(
"procBoundary"
+ name(procI)
+ "to"
+ name(mergedProcI)
processorPolyPatch::newName(procI, mergedProcI)
);
if (pp.name() == fromProcString)