diff --git a/src/meshTools/sets/cellSources/regionToCell/regionToCell.C b/src/meshTools/sets/cellSources/regionToCell/regionToCell.C index 96c3077cde..686cb8ade5 100644 --- a/src/meshTools/sets/cellSources/regionToCell/regionToCell.C +++ b/src/meshTools/sets/cellSources/regionToCell/regionToCell.C @@ -3,7 +3,7 @@ \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation - \\/ M anipulation | + \\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -47,7 +47,7 @@ addToRunTimeSelectionTable(topoSetSource, regionToCell, istream); Foam::topoSetSource::addToUsageTable Foam::regionToCell::usage_ ( regionToCell::typeName, - "\n Usage: regionToCell subCellSet (pt0 .. ptn)\n\n" + "\n Usage: regionToCell subCellSet (pt0 .. ptn) nErode\n\n" " Select all cells in the connected region containing" " points (pt0..ptn).\n" ); @@ -433,7 +433,7 @@ Foam::regionToCell::regionToCell topoSetSource(mesh), setName_(checkIs(is)), insidePoints_(checkIs(is)), - nErode_(0) + nErode_(readLabel(checkIs(is))) {} diff --git a/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.H b/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.H index a64138b481..e0059f85dc 100644 --- a/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.H +++ b/src/meshTools/sets/pointSources/surfaceToPoint/surfaceToPoint.H @@ -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) 2015 OpenCFD Ltd. ------------------------------------------------------------------------------- License This file is part of OpenFOAM. @@ -65,16 +65,16 @@ class surfaceToPoint static addToUsageTable usage_; //- Name of surface file - fileName surfName_; + const fileName surfName_; //- If > 0 : include points with distance to surface less than nearDist. - scalar nearDist_; + const scalar nearDist_; //- Include all points on opposite sign of normal on nearest surface. - bool includeInside_; + const bool includeInside_; //- Include all points on this sign of normal on nearest surface. - bool includeOutside_; + const bool includeOutside_; // Private Member Functions