Loading...
Searching...
No Matches
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.
20 void mergeAndWrite
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
31 void mergeAndWrite(surfaceWriter& writer, const faceSet& set);
32
33 //- Write vtk representation of (assembled) cellSet to surface file in
34 // postProcessing/ directory
35 void mergeAndWrite(surfaceWriter& writer, const cellSet& set);
36
37 //- Write vtk representation of (assembled) pointSet to 'set' file in
38 // postProcessing/ directory
40}
41
42
43// ************************************************************************* //
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/(vtkBaseFileName+"-edgesCentres")))
A collection of cell labels.
Definition cellSet.H:50
Base class for writing coordSet(s) and tracks with fields.
A list of face labels.
Definition faceSet.H:50
A class for handling file names.
Definition fileName.H:75
A set of point labels.
Definition pointSet.H:50
Mesh consisting of general polyhedral cells.
Definition polyMesh.H:79
Base class for surface writers.
A class for handling words, derived from Foam::string.
Definition word.H:66
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.
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Definition exprTraits.C:127
void printMeshStats(const polyMesh &mesh, const bool allTopology)