Static class which contains some routines for fetching VoFs using various algorithms. Very useful in combination with least squares.
More...
|
| static Vector< VolIndex > | getVofsInRadius (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const Connectivity a_connectivity, const bool a_addStartVof) |
| | Fetch vofs in a specified radius and with a specified connectivitiy between them.
|
| |
| static Vector< VolIndex > | getVofsInRadius (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const DenseIntVectSet &a_validCells, const Connectivity a_connectivity, const bool a_addStartVof) |
| | Fetch vofs in a specified radius and with a specified connectivitiy between them.
|
| |
| static Vector< VolIndex > | getVofsInQuadrant (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const RealVect &a_normal, const int a_radius, const Connectivity a_connectivity, const bool a_addStartVof) |
| | Fetch vofs in a quadrant, using a specified radius and with a specified connectivitiy between them.
|
| |
| static Vector< VolIndex > | getVofsInSemiCircle (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const RealVect &a_normal, const int a_radius, const Real a_deltaThresh, const Connectivity a_connectivity, const Location::Cell a_vofLocation, const Location::Cell a_cellLocation, const bool a_addStartVof) |
| | Get all vofs lying in a semi-circle (sphere in 3D) from the indicated position in the starting vof.
|
| |
| static void | excludeCells (Vector< VolIndex > &a_vofs, const Box &a_excludeBox) |
| | Modifies a_vofs so it doesn't include cells in a_excludeIVS.
|
| |
| static void | excludeCells (Vector< VolIndex > &a_vofs, const IntVectSet &a_excludeIVS) |
| | Modifies a_vofs so it doesn't include cells in a_excludeIVS.
|
| |
| static void | includeCells (Vector< VolIndex > &a_vofs, const Box &a_includeBox) |
| | Modifies a_vofs so it only includes cells in a box.
|
| |
| static void | includeCells (Vector< VolIndex > &a_vofs, const IntVectSet &a_includeIVS) |
| | Modifies a_vofs so it only includes cells in a box.
|
| |
| static void | includeCells (Vector< VolIndex > &a_vofs, const DenseIntVectSet &a_includeIVS) |
| | Modifies a_vofs so it only includes cells in a box.
|
| |
| static void | onlyUnique (Vector< VolIndex > &a_vofs) |
| | Discard duplicates.
|
| |
|
| static bool | isQuadrantWellDefined (const RealVect a_normal) |
| | Check if a quadrant is well-defined for a direction in space.
|
| |
| static std::pair< int, Side::LoHiSide > | getCardinalDirection (const RealVect a_normal) |
| | Returns the coordinate direction.
|
| |
| static Vector< VolIndex > | getVofsInMonotonePath (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const bool a_addStartVof) |
| | Get all VoFs that can be found with a monotone path with specified radius.
|
| |
| static Vector< VolIndex > | getConnectedVofsInRadius (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const bool a_addStartVof) |
| | Get all connected Vofs in radius which can be reached without crossing a covered face or reaching into a domain boundary.
|
| |
| static Vector< VolIndex > | getAllVofsInRadius (const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const bool a_addStartVof) |
| | Get all Vofs in a radius from a starting Vof.
|
| |
| static Vector< VolIndex > | connectedVofsOnly (const VolIndex &a_startVof, const Vector< VolIndex > &a_allVofs, const EBISBox &a_ebisbox) |
| | Get all Vofs that are connected to a specific starting Vof. The connection does not have to be direct.
|
| |
| static Box | getQuadrant (const RealVect &a_normal, const VolIndex &a_vof, const EBISBox &a_ebisbox, const Real a_radius) |
| | Get quadrant defined by direction in space.
|
| |
| static Box | getSymmetricQuadrant (const std::pair< int, Side::LoHiSide > &a_cardinal, const VolIndex &a_vof, const EBISBox &a_ebisbox, const Real a_radius) |
| | Get "symmetric" quadrant defined by direction in space.
|
| |
| static void | getVofsInMonotonePath (Vector< VolIndex > &a_vofList, const VolIndex &a_startVof, const EBISBox &a_ebisbox, const int a_radius, const IntVect &a_timesMoved, const IntVect &a_pathSign) |
| | Get all Vofs in a monotone path. Does not move more than a_radius in any direction.
|
| |
| static void | getVofsInMonotonePath (std::set< VolIndex > &a_vofList, const VolIndex &a_startVof, const EBISBox &a_ebisbox, const Box &a_validBox, const int &a_radius, const IntVect &a_timesMoved, const IntVect &a_pathSign) |
| | Get all Vofs in a monotone path. Does not move more than a_radius in any direction.
|
| |
Static class which contains some routines for fetching VoFs using various algorithms. Very useful in combination with least squares.