checkGeometry.H
Go to the documentation of this file.
1#include "label.H"
2#include "HashSet.H"
3#include "labelVector.H"
4
5namespace Foam
6{
7 // Forward Declarations
8 class polyMesh;
9 class wedgePolyPatch;
10 class coordSetWriter;
11 class surfaceWriter;
12
14
15 //- Check wedge orientation
17 (
18 const polyMesh&,
19 const bool report,
20 const Vector<label>&,
22 );
23
24 //- Check 0th vertex on coupled faces
25 bool checkCoupledPoints(const polyMesh&, const bool report, labelHashSet*);
26
27 //- Collect AMI weights to master and write
29 (
30 const polyMesh& mesh,
31 surfaceWriter& wr,
32 const fileName& fName,
33 const scalarField& weights,
34 const faceList& localFaces,
35 const labelList& meshPoints,
36 const Map<label>& meshPointMap,
37
38 // Collect geometry
39 faceList& mergedFaces,
40 pointField& mergedPoints,
41 autoPtr<globalIndex>& globalFaces,
43 );
44
46 (
47 const polyMesh& mesh,
48 const bool allGeometry,
49 autoPtr<surfaceWriter>& surfWriter,
51 );
52}
A HashTable to objects of type <T> with a label key.
Definition: Map.H:60
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
Definition: Vector.H:65
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
A class for handling file names.
Definition: fileName.H:76
Calculates points shared by more than two processor patches or cyclic patches.
Definition: globalPoints.H:103
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:81
Base class for surface writers.
Wedge front and back plane patch.
dynamicFvMesh & mesh
Namespace for OpenFOAM.
label checkGeometry(const polyMesh &mesh, const bool allGeometry, autoPtr< surfaceWriter > &surfWriter, autoPtr< coordSetWriter > &setWriter)
bool checkCoupledPoints(const polyMesh &, const bool report, labelHashSet *)
Check 0th vertex on coupled faces.
bool checkWedges(const polyMesh &, const bool report, const Vector< label > &, labelHashSet *)
Check wedge orientation.
void collectAndWriteAMIWeights(const polyMesh &mesh, surfaceWriter &wr, const fileName &fName, const scalarField &weights, const faceList &localFaces, const labelList &meshPoints, const Map< label > &meshPointMap, faceList &mergedFaces, pointField &mergedPoints, autoPtr< globalIndex > &globalFaces, autoPtr< globalIndex > &globalPoints)
Collect AMI weights to master and write.
label findOppositeWedge(const polyMesh &, const wedgePolyPatch &)