diff --git a/applications/utilities/mesh/manipulation/insideCells/insideCells.C b/applications/utilities/mesh/manipulation/insideCells/insideCells.C index 4b0845abcb..31d1473294 100644 --- a/applications/utilities/mesh/manipulation/insideCells/insideCells.C +++ b/applications/utilities/mesh/manipulation/insideCells/insideCells.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation - \\/ M anipulation | + \\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -36,6 +36,7 @@ Description #include "triSurface.H" #include "triSurfaceSearch.H" #include "cellSet.H" +#include "globalMeshData.H" using namespace Foam; @@ -51,7 +52,6 @@ int main(int argc, char *argv[]) "Surface must be closed and singly connected." ); - argList::noParallel(); argList::validArgs.append("surfaceFile"); argList::validArgs.append("cellSet"); @@ -84,7 +84,8 @@ int main(int argc, char *argv[]) } - Info<< "Selected " << insideCells.size() << " of " << mesh.nCells() + Info<< "Selected " << returnReduce(insideCells.size(), sumOp