STYLE: Minor code clean-up

This commit is contained in:
andy
2011-07-18 11:22:13 +01:00
parent 79f76ae634
commit 8dbb3a7ab1
3 changed files with 9 additions and 13 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -21,10 +21,6 @@ License
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Description
Interpolation class dealing with transfer of data between two
primitivePatches
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#include "PatchToPatchInterpolation.H" #include "PatchToPatchInterpolation.H"

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd. \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -41,7 +41,7 @@ namespace Foam
{ {
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Function matchPoints Declaration Function matchPoints Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
//- Determine correspondence between pointFields. Gets passed //- Determine correspondence between pointFields. Gets passed

View File

@ -71,7 +71,7 @@ public:
// Data types // Data types
//- volume types //- Volume types
enum volumeType enum volumeType
{ {
UNKNOWN = 0, UNKNOWN = 0,
@ -83,6 +83,7 @@ public:
static const NamedEnum<volumeType, 4> volumeTypeNames; static const NamedEnum<volumeType, 4> volumeTypeNames;
private: private:
// Private data // Private data
@ -188,16 +189,16 @@ public:
return bounds_; return bounds_;
} }
//- Names of regions. //- Names of regions
virtual const wordList& regions() const = 0; virtual const wordList& regions() const = 0;
//- Whether supports volume type below. //- Whether supports volume type below
virtual bool hasVolumeType() const = 0; 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; 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 virtual label globalSize() const
{ {
return size(); return size();
@ -350,7 +351,6 @@ public:
{ {
values.clear(); values.clear();
} }
}; };