Go to the documentation of this file.
10 #ifndef vtk_m_cont_CellLocatorTwoLevel_h
11 #define vtk_m_cont_CellLocatorTwoLevel_h
44 :
public vtkm::cont::internal::CellLocatorBase<CellLocatorTwoLevel>
46 using Superclass = vtkm::cont::internal::CellLocatorBase<CellLocatorTwoLevel>;
48 template <
typename CellSetCont>
61 using LastCell =
typename ExecObjType::LastCell;
73 this->DensityL1 = val;
82 this->DensityL2 = val;
87 void PrintSummary(std::ostream& out)
const;
99 vtkm::internal::cl_uniform_bins::Grid
TopLevel;
106 struct MakeExecObject;
112 #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:283
vtkm::FloatDefault DensityL2
Definition: cont/CellLocatorTwoLevel.h:97
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::cont::internal::CellLocatorBase< CellLocatorTwoLevel > Superclass
Definition: cont/CellLocatorTwoLevel.h:46
CellLocatorTwoLevel()
Definition: cont/CellLocatorTwoLevel.h:63
vtkm::ListTransform< SupportedCellSets, CellSetContToExec > CellExecObjectList
Definition: cont/CellLocatorTwoLevel.h:56
typename detail::ListApplyImpl< List, Target >::type ListApply
Applies the list of types to a template.
Definition: List.h:132
vtkm::cont::ArrayHandle< vtkm::Id > CellIds
Definition: cont/CellLocatorTwoLevel.h:104
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
vtkm::FloatDefault GetDensityL2() const
Definition: cont/CellLocatorTwoLevel.h:85
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:592
vtkm::internal::cl_uniform_bins::Grid TopLevel
Definition: cont/CellLocatorTwoLevel.h:99
vtkm::cont::ArrayHandle< vtkm::Id > CellCount
Definition: cont/CellLocatorTwoLevel.h:103
vtkm::cont::ArrayHandle< vtkm::Id > CellStartIndex
Definition: cont/CellLocatorTwoLevel.h:102
#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:80
vtkm::ListTransform< CellExecObjectList, vtkm::exec::CellLocatorTwoLevel > CellLocatorExecList
Definition: cont/CellLocatorTwoLevel.h:58
vtkm::FloatDefault GetDensityL1() const
Definition: cont/CellLocatorTwoLevel.h:76
typename CellSetCont::template ExecConnectivityType< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > CellSetContToExec
Definition: cont/CellLocatorTwoLevel.h:51
Definition: DeviceAdapterTag.h:52
vtkm::Float32 FloatDefault
The floating point type to use when no other precision is specified.
Definition: Types.h:198
void SetDensityL1(vtkm::FloatDefault val)
Get/Set the desired approximate number of cells per level 1 bin.
Definition: cont/CellLocatorTwoLevel.h:71
vtkm::cont::ArrayHandle< vtkm::internal::cl_uniform_bins::DimVec3 > LeafDimensions
Definition: cont/CellLocatorTwoLevel.h:100
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:61
VTKM_DEFAULT_CELL_SET_LIST SupportedCellSets
Definition: cont/CellLocatorTwoLevel.h:54
vtkm::ListApply< CellLocatorExecList, vtkm::exec::CellLocatorMultiplexer > ExecObjType
Definition: cont/CellLocatorTwoLevel.h:60
friend Superclass
Definition: cont/CellLocatorTwoLevel.h:94
vtkm::cont::ArrayHandle< vtkm::Id > LeafStartIndex
Definition: cont/CellLocatorTwoLevel.h:101