11 #ifndef _STLEXPLORER_H_ 12 #define _STLEXPLORER_H_ 27 #include "NamespaceHeader.H" 49 STLExplorer(const STLExplorer& a_inputExplorer);
69 bool& a_isNode0Inside,
70 bool& a_isNode1Inside);
129 const int& triangle);
134 bool& isNode1Inside);
139 bool& isNode1Inside);
143 const int& triangle);
147 const int& triangle);
178 #include "NamespaceFooter.H" KDTree * m_ptree
Definition: STLExplorer.H:86
bool m_freestlbox
Definition: STLExplorer.H:88
bool m_printdebug
Definition: STLExplorer.H:89
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
RefCountedPtr< STLBox > m_sb
Definition: STLExplorer.H:85
void operator=(const STLExplorer &a_inputReader)
Definition: STLExplorer.H:172
void GetTriMap(Vector< Vector< IntVect > > **a_trimap)
void GetVertMap(Vector< IntVect > **a_vertmap)
Vector< Vector< IntVect > > m_trimap
Definition: STLExplorer.H:99
void RecursiveKDTreeInsert(vector< pair< RealVect, pair< IntVect, bool > *> > &allNodes, const int &nstart, const int &nend, const int &depth)
STLExplorer()
Definition: STLExplorer.H:167
void GetSTLBox(RefCountedPtr< STLBox > &a_sb)
void FindCellsInTriangles()
void FillInCellLine(vector< IntVect > &cells, int &i, const int &itri, const int &idir0, const int &idir1)
void Explore(RefCountedPtr< STLBox > a_sb)
builds cellToTriangles - connectivity between box and stlmesh
void FindEdgeInOut(const CellEdge &celledge, bool &isNode0Inside, bool &isNode1Inside)
Vector< IntVect > m_vertmap
Definition: STLExplorer.H:94
Definition: STLExplorer.H:40
Definition: KDStruct.H:98
bool IsPointInTriangle(const RealVect &point, const int &triangle)
Definition: CellEdge.H:21
void GetPointInOut(const IntVect &a_point, bool &a_inout)
return whether or not a point is inside or outside the domain
RealVect FindPlaneLineIntersection(const CellEdge &celledge, const int &triangle)
bool WhichNodeIsInside(const CellEdge &celledge, const int &triangle)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
RefCountedPtr< STLMesh > m_msh
Definition: STLExplorer.H:84
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
~STLExplorer()
Destructor.
void FindCellEdgesOnBondary()
void GetCellEdgeIntersection(const CellEdge &a_celledge, RealVect &a_intersectPt, bool &a_isNode0Inside, bool &a_isNode1Inside)
void FindEdgeInOutWithKDTree(const CellEdge &celledge, bool &isNode0Inside, bool &isNode1Inside)
bool IsPointOnCellEdge(const RealVect &point, const CellEdge &celledge)
void FindCellsOnVertices()
void RemoveCellsOutsideDomain()
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).