checkTools.H
Go to the documentation of this file.
1 #include "scalar.H"
3 #include "writer.H"
4 
5 namespace Foam
6 {
7  class polyMesh;
8  class pointSet;
9  class faceSet;
10  class cellSet;
11  class fileName;
12  class polyMesh;
13  class surfaceWriter;
14 
15  void printMeshStats(const polyMesh& mesh, const bool allTopology);
16 
17  //- Generate merged surface on master and write. Needs input patch
18  // to be of mesh faces.
19  void mergeAndWrite
20  (
21  const polyMesh& mesh,
22  surfaceWriter& writer,
23  const word& name,
24  const indirectPrimitivePatch& setPatch,
25  const fileName& outputDir
26  );
27 
28  //- Write vtk representation of (assembled) faceSet to surface file in
29  // postProcessing/ directory
30  void mergeAndWrite(surfaceWriter& writer, const faceSet& set);
31 
32  //- Write vtk representation of (assembled) cellSet to surface file in
33  // postProcessing/ directory
34  void mergeAndWrite(surfaceWriter& writer, const cellSet& set);
35 
36  //- Write vtk representation of (assembled) pointSet to 'set' file in
37  // postProcessing/ directory
38  void mergeAndWrite(const writer<scalar>& writer, const pointSet& set);
39 }
40 
41 
42 // ************************************************************************* //
Foam::BitOps::set
void set(List< bool > &bools, const labelRange &range)
Definition: BitOps.C:30
indirectPrimitivePatch.H
scalar.H
mesh
dynamicFvMesh & mesh
Definition: createDynamicFvMesh.H:6
Foam
Definition: atmBoundaryLayer.C:26
Foam::indirectPrimitivePatch
PrimitivePatch< IndirectList< face >, const pointField & > indirectPrimitivePatch
A PrimitivePatch with an IndirectList for the faces, const reference for the point field.
Definition: indirectPrimitivePatch.H:43
Foam::printMeshStats
void printMeshStats(const polyMesh &mesh, const bool allTopology)
Foam::mergeAndWrite
void mergeAndWrite(const polyMesh &mesh, surfaceWriter &writer, const word &name, const indirectPrimitivePatch &setPatch, const fileName &outputDir)
Foam::name
word name(const expressions::valueTypeCode typeCode)
Definition: exprTraits.C:52
writer.H
writer
vtk::internalMeshWriter writer(topoMesh, topoCells, vtk::formatType::INLINE_ASCII, runTime.path()/"blockTopology")