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
\\ / 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 <http://www.gnu.org/licenses/>.
Description
Interpolation class dealing with transfer of data between two
primitivePatches
\*---------------------------------------------------------------------------*/
#include "PatchToPatchInterpolation.H"

View File

@ -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

View File

@ -71,7 +71,7 @@ public:
// Data types
//- volume types
//- Volume types
enum volumeType
{
UNKNOWN = 0,
@ -83,6 +83,7 @@ public:
static const NamedEnum<volumeType, 4> 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();
}
};