GIT: relocate coordSet from fileFormats to meshTools

- meshTools is the first layer in which coordSet is actually needed

STYLE: rename writer implementations in advance of upcoming changes (#2347)

- simplifies tracing of code changes (git blame)
This commit is contained in:
Mark Olesen
2022-01-30 17:40:08 +01:00
parent 0511aebd86
commit 06ade9515e
184 changed files with 55 additions and 53 deletions

View File

@ -71,18 +71,5 @@ vtk/write/foamVtkLineWriter.C
vtk/write/foamVtkPolyWriter.C vtk/write/foamVtkPolyWriter.C
vtk/write/foamVtkSurfaceWriter.C vtk/write/foamVtkSurfaceWriter.C
coordSet/coordSet.C
setWriters = sampledSetWriters
$(setWriters)/writers.C
$(setWriters)/csv/csvSetWriterRunTime.C
$(setWriters)/ensight/ensightSetWriterRunTime.C
$(setWriters)/gltf/gltfSetWriterRunTime.C
$(setWriters)/gnuplot/gnuplotSetWriterRunTime.C
$(setWriters)/nastran/nastranSetWriterRunTime.C
$(setWriters)/raw/rawSetWriterRunTime.C
$(setWriters)/vtk/vtkSetWriterRunTime.C
$(setWriters)/xmgrace/xmgraceSetWriterRunTime.C
LIB = $(FOAM_LIBBIN)/libfileFormats LIB = $(FOAM_LIBBIN)/libfileFormats

View File

@ -132,7 +132,22 @@ searchableSurfaces/searchableSurfaceWithGaps/searchableSurfaceWithGaps.C
searchableSurfaces/subTriSurfaceMesh/subTriSurfaceMesh.C searchableSurfaces/subTriSurfaceMesh/subTriSurfaceMesh.C
searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C searchableSurfaces/triSurfaceMesh/triSurfaceMesh.C
topoSets = sets/topoSets coordSet/coordSet.C
setWriters = coordSet/writers
$(setWriters)/common/writers.C
$(setWriters)/csv/csvSetWriterRunTime.C
$(setWriters)/ensight/ensightSetWriterRunTime.C
$(setWriters)/gltf/gltfSetWriterRunTime.C
$(setWriters)/gnuplot/gnuplotSetWriterRunTime.C
$(setWriters)/nastran/nastranSetWriterRunTime.C
$(setWriters)/raw/rawSetWriterRunTime.C
$(setWriters)/vtk/vtkSetWriterRunTime.C
$(setWriters)/xmgrace/xmgraceSetWriterRunTime.C
topoSets = topoSet/topoSets
$(topoSets)/cellBitSet.C $(topoSets)/cellBitSet.C
$(topoSets)/cellSet.C $(topoSets)/cellSet.C
$(topoSets)/cellZoneSet.C $(topoSets)/cellZoneSet.C
@ -147,9 +162,9 @@ $(topoSets)/topoBoolSet.C
$(topoSets)/topoBitSet.C $(topoSets)/topoBitSet.C
$(topoSets)/topoSet.C $(topoSets)/topoSet.C
sets/topoSetSource/topoSetSource.C topoSet/topoSetSource/topoSetSource.C
cellSources = sets/cellSources cellSources = topoSet/cellSources
$(cellSources)/topoSetCellSource/topoSetCellSource.C $(cellSources)/topoSetCellSource/topoSetCellSource.C
$(cellSources)/boundaryToCell/boundaryToCell.C $(cellSources)/boundaryToCell/boundaryToCell.C
$(cellSources)/boxToCell/boxToCell.C $(cellSources)/boxToCell/boxToCell.C
@ -174,7 +189,7 @@ $(cellSources)/surfaceToCell/surfaceToCell.C
$(cellSources)/targetVolumeToCell/targetVolumeToCell.C $(cellSources)/targetVolumeToCell/targetVolumeToCell.C
$(cellSources)/zoneToCell/zoneToCell.C $(cellSources)/zoneToCell/zoneToCell.C
faceSources = sets/faceSources faceSources = topoSet/faceSources
$(faceSources)/topoSetFaceSource/topoSetFaceSource.C $(faceSources)/topoSetFaceSource/topoSetFaceSource.C
$(faceSources)/boundaryToFace/boundaryToFace.C $(faceSources)/boundaryToFace/boundaryToFace.C
$(faceSources)/boxToFace/boxToFace.C $(faceSources)/boxToFace/boxToFace.C
@ -191,7 +206,7 @@ $(faceSources)/searchableSurfaceToFace/searchableSurfaceToFace.C
$(faceSources)/sphereToFace/sphereToFace.C $(faceSources)/sphereToFace/sphereToFace.C
$(faceSources)/zoneToFace/zoneToFace.C $(faceSources)/zoneToFace/zoneToFace.C
pointSources = sets/pointSources pointSources = topoSet/pointSources
$(pointSources)/topoSetPointSource/topoSetPointSource.C $(pointSources)/topoSetPointSource/topoSetPointSource.C
$(pointSources)/boxToPoint/boxToPoint.C $(pointSources)/boxToPoint/boxToPoint.C
$(pointSources)/cellToPoint/cellToPoint.C $(pointSources)/cellToPoint/cellToPoint.C
@ -205,7 +220,7 @@ $(pointSources)/sphereToPoint/sphereToPoint.C
$(pointSources)/surfaceToPoint/surfaceToPoint.C $(pointSources)/surfaceToPoint/surfaceToPoint.C
$(pointSources)/zoneToPoint/zoneToPoint.C $(pointSources)/zoneToPoint/zoneToPoint.C
faceZoneSources = sets/faceZoneSources faceZoneSources = topoSet/faceZoneSources
$(faceZoneSources)/topoSetFaceZoneSource/topoSetFaceZoneSource.C $(faceZoneSources)/topoSetFaceZoneSource/topoSetFaceZoneSource.C
$(faceZoneSources)/faceZoneToFaceZone/faceZoneToFaceZone.C $(faceZoneSources)/faceZoneToFaceZone/faceZoneToFaceZone.C
$(faceZoneSources)/setsToFaceZone/setsToFaceZone.C $(faceZoneSources)/setsToFaceZone/setsToFaceZone.C
@ -214,11 +229,11 @@ $(faceZoneSources)/setAndNormalToFaceZone/setAndNormalToFaceZone.C
$(faceZoneSources)/searchableSurfaceToFaceZone/searchableSurfaceToFaceZone.C $(faceZoneSources)/searchableSurfaceToFaceZone/searchableSurfaceToFaceZone.C
$(faceZoneSources)/planeToFaceZone/planeToFaceZone.C $(faceZoneSources)/planeToFaceZone/planeToFaceZone.C
cellZoneSources = sets/cellZoneSources cellZoneSources = topoSet/cellZoneSources
$(cellZoneSources)/topoSetCellZoneSource/topoSetCellZoneSource.C $(cellZoneSources)/topoSetCellZoneSource/topoSetCellZoneSource.C
$(cellZoneSources)/setToCellZone/setToCellZone.C $(cellZoneSources)/setToCellZone/setToCellZone.C
pointZoneSources = sets/pointZoneSources pointZoneSources = topoSet/pointZoneSources
$(pointZoneSources)/topoSetPointZoneSource/topoSetPointZoneSource.C $(pointZoneSources)/topoSetPointZoneSource/topoSetPointZoneSource.C
$(pointZoneSources)/setToPointZone/setToPointZone.C $(pointZoneSources)/setToPointZone/setToPointZone.C

View File

@ -31,12 +31,12 @@ Description
Write set in csv format Write set in csv format
SourceFiles SourceFiles
csvSetWriter.C csvCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef csvSetWriter_H #ifndef Foam_coordSetWriters_csvWriter_H
#define csvSetWriter_H #define Foam_coordSetWriters_csvWriter_H
#include "writer.H" #include "writer.H"
@ -121,7 +121,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "csvSetWriter.C" #include "csvCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,12 +30,12 @@ Class
Description Description
SourceFiles SourceFiles
ensightSetWriter.C ensightCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef ensightSetWriter_H #ifndef Foam_coordSetWriters_ensightWriter_H
#define ensightSetWriter_H #define Foam_coordSetWriters_ensightWriter_H
#include "writer.H" #include "writer.H"
@ -108,7 +108,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "ensightSetWriter.C" #include "ensightCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -122,12 +122,12 @@ Note
https://www.khronos.org/registry/glTF/ https://www.khronos.org/registry/glTF/
SourceFiles SourceFiles
gltfSetWriter.C gltfCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef writers_gltfSetWriter_H #ifndef Foam_coordSetWriters_gltfWriter_H
#define writers_gltfSetWriter_H #define Foam_coordSetWriters_gltfWriter_H
#include "writer.H" #include "writer.H"
#include "colourTable.H" #include "colourTable.H"
@ -302,7 +302,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "gltfSetWriter.C" #include "gltfCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,12 +30,12 @@ Class
Description Description
SourceFiles SourceFiles
gnuplotSetWriter.C gnuplotCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef gnuplotSetWriter_H #ifndef Foam_coordSetWriters_gnuplotWriter_H
#define gnuplotSetWriter_H #define Foam_coordSetWriters_gnuplotWriter_H
#include "writer.H" #include "writer.H"
@ -107,7 +107,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "gnuplotSetWriter.C" #include "gnuplotCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -32,12 +32,12 @@ Description
Does not do field data. Does not do field data.
SourceFiles SourceFiles
nastranSetWriter.C nastranCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef nastranSetWriter_H #ifndef Foam_coordSetWriters_nastranWriter_H
#define nastranSetWriter_H #define Foam_coordSetWriters_nastranWriter_H
#include "writer.H" #include "writer.H"
#include "NASCore.H" #include "NASCore.H"
@ -124,7 +124,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "nastranSetWriter.C" #include "nastranCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,12 +30,12 @@ Class
Description Description
SourceFiles SourceFiles
rawSetWriter.C rawCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef rawSetWriter_H #ifndef Foam_coordSetWriters_rawWriter_H
#define rawSetWriter_H #define Foam_coordSetWriters_rawWriter_H
#include "writer.H" #include "writer.H"
@ -107,7 +107,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "rawSetWriter.C" #include "rawCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -33,12 +33,12 @@ Note
The output order of symmTensor is incorrect. The output order of symmTensor is incorrect.
SourceFiles SourceFiles
vtkSetWriter.C vtkCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef vtkSetWriter_H #ifndef Foam_coordSetWriters_vtkWriter_H
#define vtkSetWriter_H #define Foam_coordSetWriters_vtkWriter_H
#include "writer.H" #include "writer.H"
@ -110,7 +110,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "vtkSetWriter.C" #include "vtkCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -30,12 +30,12 @@ Class
Description Description
SourceFiles SourceFiles
xmgraceSetWriter.C xmgraceCoordSetWriter.C
\*---------------------------------------------------------------------------*/ \*---------------------------------------------------------------------------*/
#ifndef xmgraceSetWriter_H #ifndef Foam_coordSetWriters_xmgraceWriter_H
#define xmgraceSetWriter_H #define Foam_coordSetWriters_xmgraceWriter_H
#include "writer.H" #include "writer.H"
@ -107,7 +107,7 @@ public:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository #ifdef NoRepository
#include "xmgraceSetWriter.C" #include "xmgraceCoordSetWriter.C"
#endif #endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Some files were not shown because too many files have changed in this diff Show More