The writer class has been renamed setWriter in order to clarify its usage. The coordSet and setWriter classes have been moved into the sampling library, as this fits their usage.
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#include "scalar.H"
|
|
#include "indirectPrimitivePatch.H"
|
|
#include "setWriter.H"
|
|
|
|
namespace Foam
|
|
{
|
|
class polyMesh;
|
|
class surfaceWriter;
|
|
class pointSet;
|
|
class faceSet;
|
|
class cellSet;
|
|
class fileName;
|
|
class polyMesh;
|
|
|
|
void printMeshStats(const polyMesh& mesh, const bool allTopology);
|
|
|
|
//- Generate merged surface on master and write. Needs input patch
|
|
// to be of mesh faces.
|
|
void mergeAndWrite
|
|
(
|
|
const polyMesh& mesh,
|
|
const surfaceWriter& setWriter,
|
|
const word& name,
|
|
const indirectPrimitivePatch setPatch,
|
|
const fileName& outputDir
|
|
);
|
|
|
|
//- Write vtk representation of (assembled) faceSet to surface file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const faceSet&);
|
|
|
|
//- Write vtk representation of (assembled) cellSet to surface file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const cellSet&);
|
|
|
|
//- Write vtk representation of (assembled) pointSet to 'set' file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const setWriter<scalar>&, const pointSet&);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|