diff --git a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C
index b462bc0ef..5c10fd65f 100644
--- a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C
+++ b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/FLMAToSurface.C
@@ -1,25 +1,25 @@
/*---------------------------------------------------------------------------*\
========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 3.2
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
+ \\ / F ield | cfMesh: A library for mesh generation
+ \\ / O peration |
+ \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
+ \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
-------------------------------------------------------------------------------
License
- This file is part of foam-extend.
+ This file is part of cfMesh.
- foam-extend is free software: you can redistribute it and/or modify it
+ cfMesh is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
+ Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ cfMesh is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
+ along with cfMesh. If not, see .
Description
Reads the AVL's surface mesh
@@ -27,8 +27,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "argList.H"
-#include "objectRegistry.H"
-#include "foamTime.H"
#include "triSurf.H"
#include "triSurfModifier.H"
#include "triFaceList.H"
diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C
index a4a617c3e..8c27c9042 100644
--- a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C
+++ b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/FMSToSurface.C
@@ -1,25 +1,25 @@
/*---------------------------------------------------------------------------*\
========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 3.2
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
+ \\ / F ield | cfMesh: A library for mesh generation
+ \\ / O peration |
+ \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
+ \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
-------------------------------------------------------------------------------
License
- This file is part of foam-extend.
+ This file is part of cfMesh.
- foam-extend is free software: you can redistribute it and/or modify it
+ cfMesh is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
+ Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ cfMesh is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
+ along with cfMesh. If not, see .
Description
Creates surface patches from surface subsets
@@ -27,8 +27,6 @@ Description
\*---------------------------------------------------------------------------*/
#include "argList.H"
-#include "objectRegistry.H"
-#include "foamTime.H"
#include "triSurf.H"
#include "triSurfaceCopyParts.H"
#include "demandDrivenData.H"
diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C
index 02f74e65a..f37b39e32 100644
--- a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C
+++ b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/FMSToVTK.C
@@ -1,25 +1,25 @@
/*---------------------------------------------------------------------------*\
========= |
- \\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 3.2
- \\ / A nd | Web: http://www.foam-extend.org
- \\/ M anipulation | For copyright notice see file Copyright
+ \\ / F ield | cfMesh: A library for mesh generation
+ \\ / O peration |
+ \\ / A nd | Author: Franjo Juretic (franjo.juretic@c-fields.com)
+ \\/ M anipulation | Copyright (C) Creative Fields, Ltd.
-------------------------------------------------------------------------------
License
- This file is part of foam-extend.
+ This file is part of cfMesh.
- foam-extend is free software: you can redistribute it and/or modify it
+ cfMesh is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
- Free Software Foundation, either version 3 of the License, or (at your
+ Free Software Foundation; either version 3 of the License, or (at your
option) any later version.
- foam-extend is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ cfMesh is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
You should have received a copy of the GNU General Public License
- along with foam-extend. If not, see .
+ along with cfMesh. If not, see .
Description
cfMesh utility to convert a surface file to VTK multiblock dataset
@@ -45,29 +45,29 @@ using namespace Foam;
void writePointsToVTK
(
const fileName& fn,
- const string& title,
+ const string& /*title*/,
const UList& points
)
{
xmlTag xmlRoot("VTKFile");
xmlRoot.addAttribute("type", "PolyData");
-
+
xmlTag& xmlPolyData = xmlRoot.addChild("PolyData");
-
+
xmlTag& xmlPiece = xmlPolyData.addChild("Piece");
xmlPiece.addAttribute("NumberOfPoints", points.size());
-
+
xmlTag& xmlPoints = xmlPiece.addChild("Points");
-
+
xmlTag& xmlPointData = xmlPoints.addChild("DataArray");
xmlPointData.addAttribute("type", "Float32");
xmlPointData.addAttribute("NumberOfComponents", 3);
xmlPointData.addAttribute("format", "ascii");
xmlPointData << points;
-
+
OFstream os(fn);
os << xmlRoot << endl;
-
+
Info << "Created " << fn << endl;
}
@@ -78,17 +78,17 @@ void writePointsToVTK
const fileName& fn,
const string& title,
const UList& points,
- unallocLabelList& addr
+ UList