meshSearchMeshObject Class Reference

MeshObject wrapper around meshSearch(mesh). More...

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

Public Member Functions

 TypeName ("meshSearchMeshObject")
 
 meshSearchMeshObject (const polyMesh &mesh)
 Constructor given polyMesh. More...
 
virtual ~meshSearchMeshObject ()=default
 Destructor. More...
 
- Public Member Functions inherited from MeshObject< polyMesh, GeometricMeshObject, meshSearchMeshObject >
 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, meshSearchMeshObject >
static const meshSearchMeshObjectNew (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, meshSearchMeshObject >
const polyMeshmesh_
 

Detailed Description

MeshObject wrapper around meshSearch(mesh).

Source files

Definition at line 51 of file meshSearchMeshObject.H.

Constructor & Destructor Documentation

◆ meshSearchMeshObject()

meshSearchMeshObject ( const polyMesh mesh)
explicit

Constructor given polyMesh.

Definition at line 40 of file meshSearchMeshObject.C.

◆ ~meshSearchMeshObject()

virtual ~meshSearchMeshObject ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "meshSearchMeshObject"  )

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