From 8dbb3a7ab17aaf4327c665de0976e7dfa72a6ac3 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 18 Jul 2011 11:22:13 +0100 Subject: [PATCH] STYLE: Minor code clean-up --- .../PatchToPatchInterpolation.C | 6 +----- src/OpenFOAM/meshes/meshTools/matchPoints.H | 4 ++-- src/meshTools/searchableSurface/searchableSurface.H | 12 ++++++------ 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.C b/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.C index fd6ca0ebb7..95a98ffcb1 100644 --- a/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.C +++ b/src/OpenFOAM/interpolations/patchToPatchInterpolation/PatchToPatchInterpolation.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -21,10 +21,6 @@ License You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see . -Description - Interpolation class dealing with transfer of data between two - primitivePatches - \*---------------------------------------------------------------------------*/ #include "PatchToPatchInterpolation.H" diff --git a/src/OpenFOAM/meshes/meshTools/matchPoints.H b/src/OpenFOAM/meshes/meshTools/matchPoints.H index 30650c6475..63a489ad30 100644 --- a/src/OpenFOAM/meshes/meshTools/matchPoints.H +++ b/src/OpenFOAM/meshes/meshTools/matchPoints.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -41,7 +41,7 @@ namespace Foam { /*---------------------------------------------------------------------------*\ - Function matchPoints Declaration + Function matchPoints Declaration \*---------------------------------------------------------------------------*/ //- Determine correspondence between pointFields. Gets passed diff --git a/src/meshTools/searchableSurface/searchableSurface.H b/src/meshTools/searchableSurface/searchableSurface.H index c1026b1dce..c242f5d3f2 100644 --- a/src/meshTools/searchableSurface/searchableSurface.H +++ b/src/meshTools/searchableSurface/searchableSurface.H @@ -71,7 +71,7 @@ public: // Data types - //- volume types + //- Volume types enum volumeType { UNKNOWN = 0, @@ -83,6 +83,7 @@ public: static const NamedEnum volumeTypeNames; + private: // Private data @@ -188,16 +189,16 @@ public: return bounds_; } - //- Names of regions. + //- Names of regions virtual const wordList& regions() const = 0; - //- Whether supports volume type below. + //- Whether supports volume type below virtual bool hasVolumeType() const = 0; - //- Range of local indices that can be returned. + //- Range of local indices that can be returned virtual label size() const = 0; - //- Range of global indices that can be returned. + //- Range of global indices that can be returned virtual label globalSize() const { return size(); @@ -350,7 +351,6 @@ public: { values.clear(); } - };