https://mooseframework.inl.gov
Namespaces | Functions
TraceRayTools.C File Reference

Go to the source code of this file.

Namespaces

 TraceRayTools
 

Functions

bool TraceRayTools::lineLineIntersect2D (const Point &start, const Point &direction, const Real length, const Point &v0, const Point &v1, Point &intersection_point, Real &intersection_distance, SegmentVertices &segment_vertex #ifdef DEBUG_RAY_INTERSECTIONS, const bool debug #endif)
 
void TraceRayTools::findPointNeighbors (const Elem *const elem, const Point &point, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &neighbor_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &untested_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &next_untested_set, std::vector< const Elem *> active_neighbor_children, std::vector< NeighborInfo > &info)
 
void TraceRayTools::findNodeNeighbors (const Elem *const elem, const Node *const node, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &neighbor_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &untested_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &next_untested_set, std::vector< const Elem *> active_neighbor_children, std::vector< NeighborInfo > &info)
 
void TraceRayTools::findEdgeNeighbors (const Elem *const elem, const Node *const node1, const Node *const node2, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &neighbor_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &untested_set, MooseUtils::StaticallyAllocatedSet< const Elem *, MAX_POINT_NEIGHBORS > &next_untested_set, std::vector< const Elem *> active_neighbor_children, std::vector< NeighborInfo > &info)
 
const ElemTraceRayTools::childContainingPointOnSide (const Elem *elem, const Point &point, const unsigned short side)
 
const ElemTraceRayTools::getActiveNeighbor (const Elem *elem, const unsigned short side, const Point &point)
 
bool TraceRayTools::intersectTriangle (const Point &start, const Point &direction, const Elem *const elem, const unsigned short v0, const unsigned short v1, const unsigned short v2, Real &intersection_distance, ElemExtrema &intersected_extrema, const Real hmax #ifdef DEBUG_RAY_INTERSECTIONS, const bool debug #endif)
 
bool TraceRayTools::intersectQuad (const Point &start, const Point &direction, const Elem *const elem, const unsigned short v00, const unsigned short v10, const unsigned short v11, const unsigned short v01, Real &intersection_distance, ElemExtrema &intersected_extrema, const Real hmax #ifdef DEBUG_RAY_INTERSECTIONS, const bool debug #endif)
 
bool TraceRayTools::isTraceableElem (const Elem *elem)
 
bool TraceRayTools::isAdaptivityTraceableElem (const Elem *elem)
 
unsigned short TraceRayTools::atVertex (const Elem *elem, const Point &point)
 
template<typename T >
bool TraceRayTools::withinEdgeTempl (const Elem *elem, const Point &point, ElemExtrema &extrema, const Real tolerance)
 
bool TraceRayTools::withinEdge (const Elem *elem, const Point &point, ElemExtrema &extrema, const Real tolerance)
 
unsigned short TraceRayTools::atVertexOnSide (const Elem *elem, const Point &point, const unsigned short side)
 
template<typename T >
std::enable_if<!std::is_base_of< Edge, T >::value, unsigned short >::type TraceRayTools::atVertexOnSideTempl (const Elem *elem, const Point &point, const unsigned short side)
 
template<typename T >
std::enable_if< std::is_base_of< Edge, T >::value, unsigned short >::type TraceRayTools::atVertexOnSideTempl (const Elem *elem, const Point &point, const unsigned short side)
 
bool TraceRayTools::withinEdgeOnSide (const Elem *const elem, const Point &point, const unsigned short side, ElemExtrema &extrema)
 
template<typename T >
std::enable_if< std::is_base_of< Cell, T >::value, bool >::type TraceRayTools::withinEdgeOnSideTempl (const Elem *const elem, const Point &point, const unsigned short side, ElemExtrema &extrema)
 
bool TraceRayTools::withinExtremaOnSide (const Elem *const elem, const Point &point, const unsigned short side, const unsigned int dim, ElemExtrema &extrema)
 
bool TraceRayTools::isWithinSegment (const Point &segment1, const Point &segment2, const Point &point, const Real tolerance)
 
bool TraceRayTools::isWithinSegment (const Point &segment1, const Point &segment2, const Real segment_length, const Point &point, const Real tolerance)
 
bool TraceRayTools::onBoundingBoxBoundary (const BoundingBox &bbox, const Point &point, const unsigned int dim, const Real tolerance)