diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C index d29bfeca1a..d253be3517 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C @@ -1043,7 +1043,6 @@ int main(int argc, char *argv[]) surfaceMeshWriter writer ( - vMesh, binary, pp, fz.name(), diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.C index dc37b02d45..0884085804 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.C @@ -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 * * * * * * * * * * * * * // - - - // ************************************************************************* // diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.H b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.H index 66bfbdb91b..a89ba19582 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.H +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriter.H @@ -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 @@ -53,13 +53,11 @@ namespace Foam class volPointInterpolation; /*---------------------------------------------------------------------------*\ - Class surfaceMeshWriter Declaration + Class surfaceMeshWriter Declaration \*---------------------------------------------------------------------------*/ 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 tmp > getFaceField diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriterTemplates.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriterTemplates.C index f3c3db6bdc..3ae7b08be2 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriterTemplates.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/surfaceMeshWriterTemplates.C @@ -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