Go to the documentation of this file.
10 #ifndef vtk_m_cont_CellLocatorTwoLevel_h
11 #define vtk_m_cont_CellLocatorTwoLevel_h
46 template <
typename CellSetCont>
59 using LastCell =
typename ExecObjType::LastCell;
72 this->DensityL1 = val;
85 this->DensityL2 = val;
92 void PrintSummary(std::ostream& out)
const;
109 struct MakeExecObject;
115 #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:100
Groups connected points that have the same field value.
Definition: Atomic.h:19
CellLocatorTwoLevel()
Definition: cont/CellLocatorTwoLevel.h:61
vtkm::ListTransform< SupportedCellSets, CellSetContToExec > CellExecObjectList
Definition: cont/CellLocatorTwoLevel.h:54
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:107
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::FloatDefault GetDensityL2() const
Specify the desired approximate number of cells per level 2 bin.
Definition: cont/CellLocatorTwoLevel.h:89
#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:34
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
vtkm::internal::cl_uniform_bins::Grid TopLevel
Definition: cont/CellLocatorTwoLevel.h:102
vtkm::cont::ArrayHandle< vtkm::Id > CellCount
Definition: cont/CellLocatorTwoLevel.h:106
vtkm::cont::ArrayHandle< vtkm::Id > CellStartIndex
Definition: cont/CellLocatorTwoLevel.h:105
#define VTKM_CONT
Definition: ExportMacros.h:57
void SetDensityL2(vtkm::FloatDefault val)
Specify the desired approximate number of cells per level 2 bin.
Definition: cont/CellLocatorTwoLevel.h:83
vtkm::ListTransform< CellExecObjectList, vtkm::exec::CellLocatorTwoLevel > CellLocatorExecList
Definition: cont/CellLocatorTwoLevel.h:56
vtkm::FloatDefault GetDensityL1() const
Specify the desired approximate number of cells per level 1 bin.
Definition: cont/CellLocatorTwoLevel.h:76
typename CellSetCont::template ExecConnectivityType< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > CellSetContToExec
Definition: cont/CellLocatorTwoLevel.h:49
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)
Specify the desired approximate number of cells per level 1 bin.
Definition: cont/CellLocatorTwoLevel.h:70
::vtkm::cont::internal::CellSetList SupportedCellSets
Definition: cont/CellLocatorTwoLevel.h:52
vtkm::cont::ArrayHandle< vtkm::internal::cl_uniform_bins::DimVec3 > LeafDimensions
Definition: cont/CellLocatorTwoLevel.h:103
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:44
typename ExecObjType::LastCell LastCell
Definition: cont/CellLocatorTwoLevel.h:59
vtkm::ListApply< CellLocatorExecList, vtkm::exec::CellLocatorMultiplexer > ExecObjType
Definition: cont/CellLocatorTwoLevel.h:58
vtkm::cont::ArrayHandle< vtkm::Id > LeafStartIndex
Definition: cont/CellLocatorTwoLevel.h:104