Go to the documentation of this file.
10 #ifndef vtk_m_cont_CellLocatorTwoLevel_h
11 #define vtk_m_cont_CellLocatorTwoLevel_h
45 template <
typename CellSetCont>
58 using LastCell =
typename ExecObjType::LastCell;
70 this->DensityL1 = val;
79 this->DensityL2 = val;
84 void PrintSummary(std::ostream& out)
const;
94 vtkm::internal::cl_uniform_bins::Grid
TopLevel;
101 struct MakeExecObject;
107 #endif // vtk_m_cont_CellLocatorTwoLevel_h
A tag used to identify the point elements in a topology.
Definition: TopologyElementTag.h:34
Manages an array-worth of data.
Definition: ArrayHandle.h:300
vtkm::FloatDefault DensityL2
Definition: cont/CellLocatorTwoLevel.h:92
Groups connected points that have the same field value.
Definition: Atomic.h:19
CellLocatorTwoLevel()
Definition: cont/CellLocatorTwoLevel.h:60
vtkm::ListTransform< SupportedCellSets, CellSetContToExec > CellExecObjectList
Definition: cont/CellLocatorTwoLevel.h:53
typename detail::ListApplyImpl< List, Target >::type ListApply
Applies the list of types to a template.
Definition: List.h:138
vtkm::cont::ArrayHandle< vtkm::Id > CellIds
Definition: cont/CellLocatorTwoLevel.h:99
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::FloatDefault GetDensityL2() const
Definition: cont/CellLocatorTwoLevel.h:82
#define VTKM_DEFAULT_CELL_SET_LIST
Definition: DefaultTypes.h:77
typename detail::ListTransformImpl< List, Transform >::type ListTransform
Constructs a list containing all types in a source list applied to a transform template.
Definition: List.h:598
Base class for all CellLocator classes.
Definition: CellLocatorBase.h:35
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
vtkm::internal::cl_uniform_bins::Grid TopLevel
Definition: cont/CellLocatorTwoLevel.h:94
vtkm::cont::ArrayHandle< vtkm::Id > CellCount
Definition: cont/CellLocatorTwoLevel.h:98
vtkm::cont::ArrayHandle< vtkm::Id > CellStartIndex
Definition: cont/CellLocatorTwoLevel.h:97
#define VTKM_CONT
Definition: ExportMacros.h:57
void SetDensityL2(vtkm::FloatDefault val)
Get/Set the desired approximate number of cells per level 1 bin.
Definition: cont/CellLocatorTwoLevel.h:77
vtkm::ListTransform< CellExecObjectList, vtkm::exec::CellLocatorTwoLevel > CellLocatorExecList
Definition: cont/CellLocatorTwoLevel.h:55
vtkm::FloatDefault GetDensityL1() const
Definition: cont/CellLocatorTwoLevel.h:73
typename CellSetCont::template ExecConnectivityType< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > CellSetContToExec
Definition: cont/CellLocatorTwoLevel.h:48
An object used to specify a device.
Definition: DeviceAdapterTag.h:58
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:236
void SetDensityL1(vtkm::FloatDefault val)
Get/Set the desired approximate number of cells per level 1 bin.
Definition: cont/CellLocatorTwoLevel.h:68
::vtkm::cont::internal::CellSetList SupportedCellSets
Definition: cont/CellLocatorTwoLevel.h:51
vtkm::cont::ArrayHandle< vtkm::internal::cl_uniform_bins::DimVec3 > LeafDimensions
Definition: cont/CellLocatorTwoLevel.h:95
A tag used to identify the cell elements in a topology.
Definition: TopologyElementTag.h:24
A locator that uses 2 nested levels of grids.
Definition: cont/CellLocatorTwoLevel.h:43
typename ExecObjType::LastCell LastCell
Definition: cont/CellLocatorTwoLevel.h:58
vtkm::ListApply< CellLocatorExecList, vtkm::exec::CellLocatorMultiplexer > ExecObjType
Definition: cont/CellLocatorTwoLevel.h:57
vtkm::cont::ArrayHandle< vtkm::Id > LeafStartIndex
Definition: cont/CellLocatorTwoLevel.h:96