Functions | |
| bool | checkWatertightnessFromRawElems (const std::vector< const Elem *> &bd_elements) |
| std::vector< const Function * > | buildDistanceFunctions (const std::vector< FunctionName > &function_names, const FunctionInterface &function_provider) |
| Build a list of distance functions based on names specified in input. More... | |
| RealVectorValue | distanceVectorFromFunction (const Function *func, const libMesh::Point &pt, Real t) |
| Compute the distance vector induced by a distance function. More... | |
| RealVectorValue | trueNormalFromFunction (const Function *func, const libMesh::Point &pt, Real t) |
| Compute the true boundary surface normal using a distance function. More... | |
| RealVectorValue | closestDistanceVector (const std::vector< const Function *> &funcs, const libMesh::Point &pt, Real t) |
| Scan all distance functions and return the closest distance vector. More... | |
| RealVectorValue | closestTrueNormalVector (const std::vector< const Function *> &funcs, const libMesh::Point &pt, Real t) |
| Scan all distance functions and return the corresponding normal vector. More... | |
| std::vector< const Function * > SBMUtils::buildDistanceFunctions | ( | const std::vector< FunctionName > & | function_names, |
| const FunctionInterface & | function_provider | ||
| ) |
Build a list of distance functions based on names specified in input.
Definition at line 33 of file SBMUtils.C.
Referenced by ShortestDistanceToSurface::ShortestDistanceToSurface().
| bool SBMUtils::checkWatertightnessFromRawElems | ( | const std::vector< const Elem *> & | bd_elements | ) |
Definition at line 22 of file SBMUtils.C.
Referenced by SBMSurfaceMeshBuilder::checkWatertightness(), and TEST().
| RealVectorValue SBMUtils::closestDistanceVector | ( | const std::vector< const Function *> & | funcs, |
| const libMesh::Point & | pt, | ||
| Real | t | ||
| ) |
Scan all distance functions and return the closest distance vector.
Definition at line 95 of file SBMUtils.C.
Referenced by ShortestDistanceToSurface::distanceVector().
| RealVectorValue SBMUtils::closestTrueNormalVector | ( | const std::vector< const Function *> & | funcs, |
| const libMesh::Point & | pt, | ||
| Real | t | ||
| ) |
Scan all distance functions and return the corresponding normal vector.
Definition at line 117 of file SBMUtils.C.
Referenced by ShortestDistanceToSurface::trueNormal().
| RealVectorValue SBMUtils::distanceVectorFromFunction | ( | const Function * | func, |
| const libMesh::Point & | pt, | ||
| Real | t | ||
| ) |
Compute the distance vector induced by a distance function.
The provided function must represent a distance to the true boundary: either a signed distance function (ParsedFunction) or an unsigned distance function provided by UnsignedDistanceToSurfaceMesh.
Definition at line 56 of file SBMUtils.C.
Referenced by closestDistanceVector(), closestTrueNormalVector(), ShortestDistanceToSurface::distanceVectorByFunc(), ShortestDistanceToSurface::distanceVectorByIndex(), and trueNormalFromFunction().
| RealVectorValue SBMUtils::trueNormalFromFunction | ( | const Function * | func, |
| const libMesh::Point & | pt, | ||
| Real | t | ||
| ) |
Compute the true boundary surface normal using a distance function.
The query point is first projected onto the true boundary, and the surface normal of the boundary is then evaluated at the projected (closest) point.
Definition at line 75 of file SBMUtils.C.
Referenced by closestTrueNormalVector(), ShortestDistanceToSurface::trueNormalByFunc(), and ShortestDistanceToSurface::trueNormalByIndex().
1.8.14