|
|
|
PatchTools Class ReferenceA collection of tools for searching, sorting PrimitivePatch information. More...
Detailed DescriptionA collection of tools for searching, sorting PrimitivePatch information.The class could also be extended to include more that just static methods.
Definition at line 51 of file PatchTools.H. Member Function Documentation
Check for orientation issues. Returns true if problems were found. If a normal flips across an edge, places it in the HashSet Compute normal from 3 points, use the first as the origin minor warpage should not be a problem Definition at line 32 of file PatchToolsCheck.C. References Foam::mathematicalConstant::e, PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), edge::end(), Foam::endl(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceNormals(), forAll, Foam::Info, PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), PrimitivePatch< Face, FaceList, PointField, PointType >::nEdges(), Foam::nl, PrimitivePatch< Face, FaceList, PointField, PointType >::points(), and edge::start().
Here is the call graph for this function:
![]()
Fill faceZone with currentZone for every face reachable. from faceI without crossing edge marked in borderEdge. Note: faceZone has to be sized nFaces before calling. Definition at line 39 of file PatchToolsSearch.C. References Foam::abort(), PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::faceEdges(), Foam::FatalError, FatalErrorIn, and forAll. Referenced by PatchTools::markZones().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Size and fills faceZone with zone of face. Zone is area reachable by edge crossing without crossing borderEdge. Returns number of zones. Definition at line 123 of file PatchToolsSearch.C. References PatchTools::markZone().
Here is the call graph for this function:
![]()
Determine the mapping for a sub-patch. Only include faces for which bool-list entry is true.
Definition at line 166 of file PatchToolsSearch.C. References forAll, PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::nPoints(), and List< T >::size().
Here is the call graph for this function:
![]()
Return edge-face addressing sorted by angle around the edge. Orientation is anticlockwise looking from edge.vec(localPoints()) Definition at line 34 of file PatchToolsSortEdges.C. References Foam::mathematicalConstant::e, PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), FixedList< T, Size >::fcIndex(), Foam::findIndex(), forAll, SortableList< T >::indices(), PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::localPoints(), Foam::mag(), Foam::pseudoAngle(), List< T >::size(), SortableList< T >::sort(), edge::start(), and edge::vec().
Here is the call graph for this function:
![]()
If 2 face neighbours: label of face where ordering of edge. is consistent with righthand walk. If 1 neighbour: label of only face. If >2 neighbours: undetermined. Definition at line 32 of file PatchToolsEdgeOwner.C. References Foam::abort(), PrimitivePatch< Face, FaceList, PointField, PointType >::edgeFaces(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), Foam::FatalError, FatalErrorIn, forAll, PrimitivePatch< Face, FaceList, PointField, PointType >::localFaces(), and Foam::nl.
Here is the call graph for this function:
![]()
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||