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
|
||||
(
|
||||
vMesh,
|
||||
binary,
|
||||
pp,
|
||||
fz.name(),
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -30,14 +30,12 @@ License
|
||||
|
||||
Foam::surfaceMeshWriter::surfaceMeshWriter
|
||||
(
|
||||
const vtkMesh& vMesh,
|
||||
const bool binary,
|
||||
const indirectPrimitivePatch& pp,
|
||||
const word& name,
|
||||
const fileName& fName
|
||||
)
|
||||
:
|
||||
vMesh_(vMesh),
|
||||
binary_(binary),
|
||||
pp_(pp),
|
||||
fName_(fName),
|
||||
@ -78,8 +76,4 @@ Foam::surfaceMeshWriter::surfaceMeshWriter
|
||||
}
|
||||
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -58,8 +58,6 @@ class volPointInterpolation;
|
||||
|
||||
class surfaceMeshWriter
|
||||
{
|
||||
const vtkMesh& vMesh_;
|
||||
|
||||
const bool binary_;
|
||||
|
||||
const indirectPrimitivePatch& pp_;
|
||||
@ -68,9 +66,6 @@ class surfaceMeshWriter
|
||||
|
||||
std::ofstream os_;
|
||||
|
||||
// label nPoints_;
|
||||
//
|
||||
// label nFaces_;
|
||||
|
||||
public:
|
||||
|
||||
@ -79,7 +74,6 @@ public:
|
||||
//- Construct from components
|
||||
surfaceMeshWriter
|
||||
(
|
||||
const vtkMesh&,
|
||||
const bool binary,
|
||||
const indirectPrimitivePatch& pp,
|
||||
const word& name,
|
||||
@ -94,19 +88,6 @@ public:
|
||||
return os_;
|
||||
}
|
||||
|
||||
// label nPoints() const
|
||||
// {
|
||||
// return nPoints_;
|
||||
// }
|
||||
//
|
||||
// label nFaces() const
|
||||
// {
|
||||
// return nFaces_;
|
||||
// }
|
||||
//
|
||||
// //- Write cellIDs
|
||||
// void writePatchIDs();
|
||||
|
||||
//- Extract face data
|
||||
template<class Type>
|
||||
tmp<Field<Type> > getFaceField
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
Reference in New Issue
Block a user