checkTools.H
Go to the documentation of this file.
1#include "scalar.H"
3
4namespace Foam
5{
6 // Forward Declarations
7 class polyMesh;
8 class pointSet;
9 class faceSet;
10 class cellSet;
11 class fileName;
12 class polyMesh;
13 class coordSetWriter;
14 class surfaceWriter;
15
16 void printMeshStats(const polyMesh& mesh, const bool allTopology);
17
18 //- Generate merged surface on master and write. Needs input patch
19 // to be of mesh faces.
21 (
22 const polyMesh& mesh,
24 const word& name,
25 const indirectPrimitivePatch& setPatch,
26 const fileName& outputDir
27 );
28
29 //- Write vtk representation of (assembled) faceSet to surface file in
30 // postProcessing/ directory
32
33 //- Write vtk representation of (assembled) cellSet to surface file in
34 // postProcessing/ directory
36
37 //- Write vtk representation of (assembled) pointSet to 'set' file in
38 // postProcessing/ directory
40}
41
42
43// ************************************************************************* //
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")
A list of faces which address into the list of points.
A collection of cell labels.
Definition: cellSet.H:54
Base class for writing coordSet(s) and tracks with fields.
A list of face labels.
Definition: faceSet.H:54
A class for handling file names.
Definition: fileName.H:76
A set of point labels.
Definition: pointSet.H:54
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:81
Base class for surface writers.
A class for handling words, derived from Foam::string.
Definition: word.H:68
dynamicFvMesh & mesh
Namespace for OpenFOAM.
void mergeAndWrite(const polyMesh &mesh, surfaceWriter &writer, const word &name, const indirectPrimitivePatch &setPatch, const fileName &outputDir)
Generate merged surface on master and write. Needs input patch.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Definition: exprTraits.C:59
void printMeshStats(const polyMesh &mesh, const bool allTopology)