|
VTKM_EXEC | BoundaryState (const vtkm::Id3 &ijk, const vtkm::Id3 &pdims) |
|
VTKM_EXEC bool | IsRadiusInBoundary (vtkm::IdComponent radius) const |
| Returns true if a neighborhood of the given radius is contained within the bounds of the cell set. More...
|
|
VTKM_EXEC bool | IsNeighborInBoundary (const vtkm::IdComponent3 &neighbor) const |
| Returns true if the neighbor at the specified offset vector is contained within the bounds of the cell set. More...
|
|
VTKM_EXEC vtkm::IdComponent3 | MinNeighborIndices (vtkm::IdComponent radius) const |
| Returns the minimum neighborhood indices that are within the bounds of the data. More...
|
|
VTKM_EXEC vtkm::IdComponent3 | MaxNeighborIndices (vtkm::IdComponent radius) const |
| Returns the minimum neighborhood indices that are within the bounds of the data. More...
|
|
|
VTKM_EXEC bool | IsRadiusInXBoundary (vtkm::IdComponent radius) const |
|
VTKM_EXEC bool | IsRadiusInYBoundary (vtkm::IdComponent radius) const |
|
VTKM_EXEC bool | IsRadiusInZBoundary (vtkm::IdComponent radius) const |
|
|
VTKM_EXEC bool | IsNeighborInXBoundary (vtkm::IdComponent offset) const |
|
VTKM_EXEC bool | IsNeighborInYBoundary (vtkm::IdComponent offset) const |
|
VTKM_EXEC bool | IsNeighborInZBoundary (vtkm::IdComponent offset) const |
|
|
VTKM_EXEC vtkm::Id3 | NeighborIndexToFullIndexClamp (const vtkm::IdComponent3 &neighbor) const |
|
VTKM_EXEC vtkm::Id3 | NeighborIndexToFullIndexClamp (vtkm::IdComponent neighborI, vtkm::IdComponent neighborJ, vtkm::IdComponent neighborK) const |
|
|
VTKM_EXEC vtkm::Id3 | NeighborIndexToFullIndex (const vtkm::IdComponent3 &neighbor) const |
|
VTKM_EXEC vtkm::Id3 | NeighborIndexToFullIndex (vtkm::IdComponent neighborI, vtkm::IdComponent neighborJ, vtkm::IdComponent neighborK) const |
|
|
VTKM_EXEC vtkm::IdComponent3 | ClampNeighborIndex (const vtkm::IdComponent3 &neighbor) const |
|
VTKM_EXEC vtkm::IdComponent3 | ClampNeighborIndex (vtkm::IdComponent neighborI, vtkm::IdComponent neighborJ, vtkm::IdComponent neighborK) const |
|
|
VTKM_EXEC vtkm::Id | NeighborIndexToFlatIndexClamp (const vtkm::IdComponent3 &neighbor) const |
|
VTKM_EXEC vtkm::Id | NeighborIndexToFlatIndexClamp (vtkm::IdComponent neighborI, vtkm::IdComponent neighborJ, vtkm::IdComponent neighborK) const |
|
|
VTKM_EXEC vtkm::Id | NeighborIndexToFlatIndex (const vtkm::IdComponent3 &neighbor) const |
|
VTKM_EXEC vtkm::Id | NeighborIndexToFlatIndex (vtkm::IdComponent neighborI, vtkm::IdComponent neighborJ, vtkm::IdComponent neighborK) const |
|
Provides a neighborhood's placement with respect to the mesh's boundary.
BoundaryState
provides functionality for WorkletPointNeighborhood
algorithms and Fetch's to determine if they are operating on a point near the boundary. It allows you to query about overlaps of the neighborhood and the mesh boundary. It also helps convert local neighborhood ids to the corresponding location in the mesh.
This class is typically constructed using the Boundary
tag in an ExecutionSignature
. There is little reason to construct this in user code.
Returns true if a neighborhood of the given radius is contained within the bounds of the cell set.
Returns false if the neighborhood extends outside of the boundary of the data.
The radius defines the size of the neighborhood in terms of how far away it extends from the center. So if there is a radius of 1, the neighborhood extends 1 unit away from the center in each direction and is 3x3x3. If there is a radius of 2, the neighborhood extends 2 units for a size of 5x5x5.
Returns true if a neighborhood of the given radius is contained within the bounds of the cell set in the X, Y, or Z direction. Returns false if the neighborhood extends outside of the boundary of the data in the X, Y, or Z direction.
The radius defines the size of the neighborhood in terms of how far away it extends from the center. So if there is a radius of 1, the neighborhood extends 1 unit away from the center in each direction and is 3x3x3. If there is a radius of 2, the neighborhood extends 2 units for a size of 5x5x5.
Returns true if a neighborhood of the given radius is contained within the bounds of the cell set in the X, Y, or Z direction. Returns false if the neighborhood extends outside of the boundary of the data in the X, Y, or Z direction.
The radius defines the size of the neighborhood in terms of how far away it extends from the center. So if there is a radius of 1, the neighborhood extends 1 unit away from the center in each direction and is 3x3x3. If there is a radius of 2, the neighborhood extends 2 units for a size of 5x5x5.
Returns true if a neighborhood of the given radius is contained within the bounds of the cell set in the X, Y, or Z direction. Returns false if the neighborhood extends outside of the boundary of the data in the X, Y, or Z direction.
The radius defines the size of the neighborhood in terms of how far away it extends from the center. So if there is a radius of 1, the neighborhood extends 1 unit away from the center in each direction and is 3x3x3. If there is a radius of 2, the neighborhood extends 2 units for a size of 5x5x5.