diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C index 4206ca325b..d232a54559 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2017 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation \\/ M anipulation | Copyright (C) 2015-2018 OpenCFD Ltd. ------------------------------------------------------------------------------- License @@ -42,6 +42,7 @@ License #include "fvMeshTools.H" #include "labelPairHashes.H" #include "ListOps.H" +#include "globalIndex.H" // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // @@ -688,25 +689,54 @@ Foam::autoPtr Foam::fvMeshDistribute::repatch // merge those points. Foam::autoPtr Foam::fvMeshDistribute::mergeSharedPoints ( + const labelList& pointToGlobalMaster, labelListList& constructPointMap ) { // Find out which sets of points get merged and create a map from // mesh point to unique point. - Map