In parallel the sets are reconstructed. e.g. mpirun -np 6 checkMesh -parallel -allGeometry -allTopology -writeSets vtk will create a postProcessing/ folder with the vtk files of the (reconstructed) faceSets and cellSets. Also improved analysis of disconnected regions now also checks for point connectivity with is useful for detecting if AMI regions have duplicate points. Patch contributed by Mattijs Janssens
34 lines
918 B
C++
34 lines
918 B
C++
#include "scalar.H"
|
|
#include "indirectPrimitivePatch.H"
|
|
|
|
namespace Foam
|
|
{
|
|
class polyMesh;
|
|
class surfaceWriter;
|
|
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& writer,
|
|
const word& name,
|
|
const indirectPrimitivePatch setPatch,
|
|
const fileName& outputDir
|
|
);
|
|
|
|
//- Write vtk representation of (assembled) faceSet to vtk file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const faceSet&);
|
|
|
|
//- Write vtk representation of (assembled) cellSet to vtk file in
|
|
// postProcessing/ directory
|
|
void mergeAndWrite(const surfaceWriter&, const cellSet&);
|
|
}
|