checkGeometry.H
Go to the documentation of this file.
1 #include "label.H"
2 #include "HashSet.H"
3 #include "labelVector.H"
4 #include "writer.H"
5 
6 namespace Foam
7 {
8  class polyMesh;
9  class wedgePolyPatch;
10  class surfaceWriter;
11 
12  label findOppositeWedge(const polyMesh&, const wedgePolyPatch&);
13 
14  //- Check wedge orientation
15  bool checkWedges
16  (
17  const polyMesh&,
18  const bool report,
19  const Vector<label>&,
21  );
22 
23  //- Check 0th vertex on coupled faces
24  bool checkCoupledPoints(const polyMesh&, const bool report, labelHashSet*);
25 
26  //- Write out the weights-sums on all the AMI patches
27  void writeAMIWeightsSums(const polyMesh&);
28 
29  //- Write out the weights-sum on the given AMI patch
31  (
32  const polyMesh&,
33  const primitivePatch&,
34  const scalarField&,
35  const fileName&
36  );
37 
39  (
40  const polyMesh& mesh,
41  const bool allGeometry,
42  const autoPtr<surfaceWriter>&,
43  const autoPtr<writer<scalar>>&
44  );
45 }
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Definition: label.H:59
HashSet< label, Hash< label > > labelHashSet
A HashSet with label keys.
Definition: HashSet.H:211
dynamicFvMesh & mesh
label checkGeometry(const polyMesh &mesh, const bool allGeometry, const autoPtr< surfaceWriter > &, const autoPtr< writer< scalar >> &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
bool checkWedges(const polyMesh &, const bool report, const Vector< label > &, labelHashSet *)
Check wedge orientation.
label findOppositeWedge(const polyMesh &, const wedgePolyPatch &)
bool checkCoupledPoints(const polyMesh &, const bool report, labelHashSet *)
Check 0th vertex on coupled faces.
PrimitivePatch< SubList< face >, const pointField & > primitivePatch
Addressing for a faceList slice.
void writeAMIWeightsSums(const polyMesh &)
Write out the weights-sums on all the AMI patches.
void writeAMIWeightsSum(const polyMesh &, const primitivePatch &, const scalarField &, const fileName &)
Write out the weights-sum on the given AMI patch.
Namespace for OpenFOAM.