mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Code clean-up
This commit is contained in:
@ -1043,7 +1043,6 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
surfaceMeshWriter writer
|
surfaceMeshWriter writer
|
||||||
(
|
(
|
||||||
vMesh,
|
|
||||||
binary,
|
binary,
|
||||||
pp,
|
pp,
|
||||||
fz.name(),
|
fz.name(),
|
||||||
|
|||||||
@ -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 * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user