vtk-m/vtkm
Kenneth Moreland a1e8d029c5 Get the 3D index from a BoundaryState in WorkletPointNeighborhood
There are occasions when you need a worklet to opeate on 2D or 3D
indices. Most worklets operate on 1D indices, which requires recomputing
the 3D index in each worklet instance. A workaround is to use a worklet
that does a 3D scheduling and pull the working index from that.

The problem was that there was no easy way to get this 3D index. To
provide this option, a feature was added to the `BoundaryState` class
that can be provided by `WorkletPointNeighborhood`.

Thus, to get a 3D index in a worklet, use the
`WorkletPointNeighborhood`, add `Boundary` as an argument to the
`ExecutionSignature`, and then call `GetCenterIndex` on the
`BoundaryState` object passed to the worklet operator.
2023-06-19 10:29:18 -06:00
..
cont Speed up compilation of ArrayRangeCompute.cxx 2023-06-19 08:37:15 -06:00
exec Get the 3D index from a BoundaryState in WorkletPointNeighborhood 2023-06-19 10:29:18 -06:00
filter Allow ComputeMoments to operate on any scalar field 2023-06-05 08:44:03 -04:00
internal Rename structured connectivity index conversion methods 2023-06-02 15:31:24 -04:00
interop Add module mechanism 2022-10-26 12:51:05 -06:00
io Handle any Vec size in VTKDataSetReader 2023-05-22 06:19:11 -06:00
random Add module mechanism 2022-10-26 12:51:05 -06:00
rendering try to surpress warning for window 2023-06-14 10:04:43 -06:00
source Change auto seed behavior in PerlinNoise source 2022-12-06 12:21:04 -07:00
testing Implement VecTraits class for all types 2023-03-16 12:59:38 -06:00
thirdparty Merge branch 'upstream-diy' into add-gpu-to-gpu-conn 2023-05-30 12:12:48 -04:00
worklet Get the 3D index from a BoundaryState in WorkletPointNeighborhood 2023-06-19 10:29:18 -06:00
.gitattributes
Assert.h
Atomic.h CI: updates kokkos version 2021-09-20 18:23:16 -04:00
BinaryOperators.h
BinaryPredicates.h
Bitset.h
Bounds.h Add a new unstructured cell locator 2022-11-22 09:51:40 -05:00
CellClassification.h Remove deprecated features from VTK-m 2022-11-17 07:12:31 -06:00
CellShape.h
CellTraits.h
CMakeLists.txt Remove deprecated features from VTK-m 2022-11-17 07:12:31 -06:00
Deprecated.h
ErrorCode.h
Flags.h
Geometry.h
Geometry.hxx
Hash.h
ImplicitFunction.h Remove deprecated features from VTK-m 2022-11-17 07:12:31 -06:00
List.h Remove deprecated features from VTK-m 2022-11-17 07:12:31 -06:00
LowerBound.h
Math.h Fix unresolved external symbol __popcnt on win-arm64 2022-11-27 19:51:17 -05:00
Math.h.in Fix unresolved external symbol __popcnt on win-arm64 2022-11-27 19:46:13 -05:00
Matrix.h Break LUP factorization when invalid matrix found 2021-07-12 10:29:46 -06:00
NewtonsMethod.h
Pair.h
Particle.h Revert "Add fields to particles." 2023-03-23 12:38:09 -04:00
Range.h Add implementation of VecTraits for Range and Bounds 2022-01-25 10:55:35 -07:00
RangeId2.h
RangeId3.h
RangeId.h
StaticAssert.h
Swap.h Fix compile issues when using cuda 12 2023-02-06 12:26:55 -05:00
TopologyElementTag.h
Transform3D.h
Tuple.h
Tuple.h.in
TypeList.h
Types.h Fix dot product type promotion 2023-02-08 07:04:07 -07:00
TypeTraits.h Implement VecTraits class for all types 2023-03-16 12:59:38 -06:00
UnaryPredicates.h
UpperBound.h
VecAxisAlignedPointCoordinates.h
VecFlat.h Implement VecTraits class for all types 2023-03-16 12:59:38 -06:00
VecFromPortal.h Implement VecTraits class for all types 2023-03-16 12:59:38 -06:00
VecFromPortalPermute.h
VectorAnalysis.h Avoid floating point exception in Orthonormalize 2021-07-12 10:29:46 -06:00
VecTraits.h Implement VecTraits class for all types 2023-03-16 12:59:38 -06:00
VecVariable.h
Version.h.in
vtkm.module Add module mechanism 2022-10-26 12:51:05 -06:00