diff --git a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C index f4a0009028..1b9e7e7643 100644 --- a/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C +++ b/src/meshTools/sets/cellSources/surfaceToCell/surfaceToCell.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -37,13 +37,9 @@ License namespace Foam { - -defineTypeNameAndDebug(surfaceToCell, 0); - -addToRunTimeSelectionTable(topoSetSource, surfaceToCell, word); - -addToRunTimeSelectionTable(topoSetSource, surfaceToCell, istream); - + defineTypeNameAndDebug(surfaceToCell, 0); + addToRunTimeSelectionTable(topoSetSource, surfaceToCell, word); + addToRunTimeSelectionTable(topoSetSource, surfaceToCell, istream); } @@ -98,18 +94,15 @@ Foam::label Foam::surfaceToCell::getNearest } -// Return true if nearest surface to points on cell makes largish angle -// with nearest surface to cell centre. Returns false otherwise. Points visited -// are cached in pointToNearest bool Foam::surfaceToCell::differingPointNormals ( const triSurfaceSearch& querySurf, - const vector& span, // current search span + const vector& span, // Current search span const label cellI, - const label cellTriI, // nearest (to cell centre) surface triangle + const label cellTriI, // Nearest (to cell centre) surface triangle - Map