mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-06 10:29:00 +00:00
3eb91af961
Replace code such as `myArray.GetPortalControl().Get(0)` with `vtkm::cont::ArrayGetValue(0, myArray)`, which will just retrieve the single value without transferring the entire contents of `myArray` to the host. This should prevent memory thrashing. Also did some general style clean-ups and fixed loops that called `GetPortalControl` in the loop body. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ComputeBinIndices.h | ||
ComputeBinRange.h | ||
ComputeBins.h | ||
ComputeNeighborBins.h | ||
ComputePotential.h | ||
ComputePotentialBin.h | ||
ComputePotentialMxN.h | ||
ComputePotentialNeighbors.h | ||
ComputePotentialNxN.h | ||
ComputePotentialOnCandidates.h | ||
CosmoTools.h | ||
CosmoToolsCenterFinder.h | ||
CosmoToolsHaloFinder.h | ||
EqualsMinimumPotential.h | ||
GraftParticles.h | ||
IsStar.h | ||
MarkActiveNeighbors.h | ||
PointerJump.h | ||
SetCandidateParticles.h | ||
TagTypes.h | ||
ValidHalo.h |