Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and a direction.
More...
|
| directionInfo () |
|
| directionInfo (const label index, const vector &n) |
|
label | index () const |
|
const vector & | n () const |
|
template<class TrackingData > |
bool | valid (TrackingData &td) const |
|
template<class TrackingData > |
bool | sameGeometry (const polyMesh &, const directionInfo &, const scalar, TrackingData &td) const |
|
template<class TrackingData > |
void | leaveDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
|
template<class TrackingData > |
void | enterDomain (const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td) |
|
template<class TrackingData > |
void | transform (const polyMesh &, const tensor &, TrackingData &td) |
|
template<class TrackingData > |
bool | updateCell (const polyMesh &, const label thisCelli, const label neighbourFacei, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td) |
|
template<class TrackingData > |
bool | updateFace (const polyMesh &, const label thisFacei, const label neighbourCelli, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td) |
|
template<class TrackingData > |
bool | updateFace (const polyMesh &, const label thisFacei, const directionInfo &neighbourInfo, const scalar tol, TrackingData &td) |
|
template<class TrackingData > |
bool | equal (const directionInfo &, TrackingData &td) const |
|
bool | operator== (const directionInfo &) const |
|
bool | operator!= (const directionInfo &) const |
|
Holds direction in which to split cell (in fact a local coordinate axes). Information is a label and a direction.
The direction is the normal direction to cut in. The label's meaning depends on whether the info is on a cell or on a face:
- in cell: edge that is being cut. (determines for hex how cut is)
in face: local face point that is being cut or -1.
- (-1) : cut is tangential to plane
- (>= 0): edge fp..fp+1 is cut
(has to be facepoint, not vertex since vertex not valid across processors whereas f[0] should correspond to f[0] on other side)
The rule is that if the label is set (-1 or higher) it is used (topological information only), otherwise the vector is used. This makes sure that we use topological information as much as possible and so a hex mesh is cut purely topologically. All other shapes are cut geometrically.
- Source files
-
Definition at line 79 of file directionInfo.H.