ENH: Code clean-up

This commit is contained in:
andy
2013-05-03 17:57:43 +01:00
parent 85be5674ee
commit 92dcc69fa8
4 changed files with 4 additions and 30 deletions

View File

@ -1043,7 +1043,6 @@ int main(int argc, char *argv[])
surfaceMeshWriter writer surfaceMeshWriter writer
( (
vMesh,
binary, binary,
pp, pp,
fz.name(), fz.name(),

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) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -30,14 +30,12 @@ License
Foam::surfaceMeshWriter::surfaceMeshWriter Foam::surfaceMeshWriter::surfaceMeshWriter
( (
const vtkMesh& vMesh,
const bool binary, const bool binary,
const indirectPrimitivePatch& pp, const indirectPrimitivePatch& pp,
const word& name, const word& name,
const fileName& fName const fileName& fName
) )
: :
vMesh_(vMesh),
binary_(binary), binary_(binary),
pp_(pp), pp_(pp),
fName_(fName), fName_(fName),
@ -78,8 +76,4 @@ Foam::surfaceMeshWriter::surfaceMeshWriter
} }
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
// ************************************************************************* // // ************************************************************************* //

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) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -53,13 +53,11 @@ namespace Foam
class volPointInterpolation; class volPointInterpolation;
/*---------------------------------------------------------------------------*\ /*---------------------------------------------------------------------------*\
Class surfaceMeshWriter Declaration Class surfaceMeshWriter Declaration
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
class surfaceMeshWriter class surfaceMeshWriter
{ {
const vtkMesh& vMesh_;
const bool binary_; const bool binary_;
const indirectPrimitivePatch& pp_; const indirectPrimitivePatch& pp_;
@ -68,9 +66,6 @@ class surfaceMeshWriter
std::ofstream os_; std::ofstream os_;
// label nPoints_;
//
// label nFaces_;
public: public:
@ -79,7 +74,6 @@ public:
//- Construct from components //- Construct from components
surfaceMeshWriter surfaceMeshWriter
( (
const vtkMesh&,
const bool binary, const bool binary,
const indirectPrimitivePatch& pp, const indirectPrimitivePatch& pp,
const word& name, const word& name,
@ -94,19 +88,6 @@ public:
return os_; return os_;
} }
// label nPoints() const
// {
// return nPoints_;
// }
//
// label nFaces() const
// {
// return nFaces_;
// }
//
// //- Write cellIDs
// void writePatchIDs();
//- Extract face data //- Extract face data
template<class Type> template<class Type>
tmp<Field<Type> > getFaceField tmp<Field<Type> > getFaceField

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) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License