meshSearchFACE_CENTRE_TRISMeshObject Class Reference

MeshObject wrapper around meshSearch(mesh, polyMesh::FACE_CENTRE_TRIS). More...

Inheritance diagram for meshSearchFACE_CENTRE_TRISMeshObject:
[legend]
Collaboration diagram for meshSearchFACE_CENTRE_TRISMeshObject:
[legend]

Public Member Functions

 TypeName ("meshSearchFACE_CENTRE_TRISMeshObject")
 
 meshSearchFACE_CENTRE_TRISMeshObject (const polyMesh &mesh)
 Constructor given polyMesh. More...
 
virtual ~meshSearchFACE_CENTRE_TRISMeshObject ()=default
 Destructor. More...
 
- Public Member Functions inherited from MeshObject< polyMesh, GeometricMeshObject, meshSearchFACE_CENTRE_TRISMeshObject >
 MeshObject (const polyMesh &mesh)
 Construct on Mesh type. More...
 
virtual ~MeshObject ()=default
 Destructor. More...
 
const polyMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 
- Public Member Functions inherited from meshSearch
 ClassName ("meshSearch")
 Declare type-name (with debug switch) More...
 
 meshSearch (const polyMesh &mesh, const polyMesh::cellDecomposition=polyMesh::CELL_TETS)
 Construct from components. More...
 
 meshSearch (const polyMesh &mesh, const treeBoundBox &bb, const polyMesh::cellDecomposition=polyMesh::CELL_TETS)
 Construct with a custom bounding box. More...
 
 ~meshSearch ()
 Destructor. More...
 
const polyMeshmesh () const
 
polyMesh::cellDecomposition decompMode () const
 
const indexedOctree< treeDataFace > & boundaryTree () const
 Demand-driven reference to octree holding all boundary faces. More...
 
const indexedOctree< treeDataFace > & nonCoupledBoundaryTree () const
 
const indexedOctree< treeDataCell > & cellTree () const
 Demand-driven reference to octree holding all cells. More...
 
label findNearestCell (const point &location, const label seedCelli=-1, const bool useTreeSearch=true) const
 Find nearest cell in terms of cell centre. More...
 
label findNearestFace (const point &location, const label seedFacei=-1, const bool useTreeSearch=true) const
 
label findCell (const point &location, const label seedCelli=-1, const bool useTreeSearch=true) const
 Find cell containing location. More...
 
label findNearestBoundaryFace (const point &location, const label seedFacei=-1, const bool useTreeSearch=true) const
 Find nearest boundary face. More...
 
pointIndexHit intersection (const point &pStart, const point &pEnd) const
 Find first intersection of boundary in segment [pStart, pEnd]. More...
 
List< pointIndexHitintersections (const point &pStart, const point &pEnd) const
 Find all intersections of boundary within segment pStart .. pEnd. More...
 
bool isInside (const point &) const
 Determine inside/outside status. More...
 
void clearOut ()
 Delete all storage. More...
 
void correct ()
 Correct for mesh geom/topo changes. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from MeshObject< polyMesh, GeometricMeshObject, meshSearchFACE_CENTRE_TRISMeshObject >
static const meshSearchFACE_CENTRE_TRISMeshObjectNew (const polyMesh &mesh, Args &&... args)
 Get existing or create a new MeshObject. More...
 
static bool Delete (const polyMesh &mesh)
 Static destructor. More...
 
- Static Public Attributes inherited from meshSearch
static scalar tol_ = 1e-3
 Tolerance on linear dimensions. More...
 
- Protected Attributes inherited from MeshObject< polyMesh, GeometricMeshObject, meshSearchFACE_CENTRE_TRISMeshObject >
const polyMeshmesh_
 

Detailed Description

MeshObject wrapper around meshSearch(mesh, polyMesh::FACE_CENTRE_TRIS).

Source files

Definition at line 51 of file meshSearchFACE_CENTRE_TRISMeshObject.H.

Constructor & Destructor Documentation

◆ meshSearchFACE_CENTRE_TRISMeshObject()

meshSearchFACE_CENTRE_TRISMeshObject ( const polyMesh mesh)
explicit

Constructor given polyMesh.

Definition at line 40 of file meshSearchFACE_CENTRE_TRISMeshObject.C.

◆ ~meshSearchFACE_CENTRE_TRISMeshObject()

virtual ~meshSearchFACE_CENTRE_TRISMeshObject ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "meshSearchFACE_CENTRE_TRISMeshObject"  )

The documentation for this class was generated from the following files: