Go to the documentation of this file.
10 #ifndef vtk_m_exec_CellLocatorPartitioned_h
11 #define vtk_m_exec_CellLocatorPartitioned_h
53 Locators.Get(partitionIndex).FindCell(point, cellIndex, parametricLocal);
54 if (status != vtkm ::ErrorCode ::Success)
59 if (Ghosts.Get(partitionIndex).Get(cellIndex) == 0)
61 partitionId = partitionIndex;
63 parametric = parametricLocal;
82 #endif //vtk_m_exec_CellLocatorPartitioned_h
VTKM_CONT vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:448
vtkm::cont::ArrayHandle< vtkm::cont::CellLocatorGeneral::ExecObjType >::ReadPortalType Locators
Definition: exec/CellLocatorPartitioned.h:24
Manages an array-worth of data.
Definition: ArrayHandle.h:283
ErrorCode
Definition: ErrorCode.h:19
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
vtkm::cont::ArrayHandle< vtkm::cont::ArrayHandle< vtkm::UInt8 >::ReadPortalType >::ReadPortalType Ghosts
Definition: exec/CellLocatorPartitioned.h:26
Definition: exec/CellLocatorPartitioned.h:21
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Vec< vtkm::FloatDefault, 3 > Vec3f
Vec3f corresponds to a 3-dimensional vector of floating point values.
Definition: Types.h:1014
VTKM_EXEC vtkm::ErrorCode FindCell(const vtkm::Vec3f &point, vtkm::Id &partitionId, vtkm::Id &cellId, vtkm::Vec3f ¶metric) const
Definition: exec/CellLocatorPartitioned.h:41
VTKM_CONT CellLocatorPartitioned(const vtkm::cont::ArrayHandle< vtkm::cont::CellLocatorGeneral::ExecObjType >::ReadPortalType &locators, vtkm::cont::ArrayHandle< vtkm::cont::ArrayHandle< vtkm::UInt8 >::ReadPortalType >::ReadPortalType ghosts)
Definition: exec/CellLocatorPartitioned.h:30
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92