mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: Minor code clean-up
This commit is contained in:
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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();
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user