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;
98 vtkm::internal::cl_uniform_bins::Grid
TopLevel;
105 struct MakeExecObject;
111 #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:96
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:138
vtkm::cont::ArrayHandle< vtkm::Id > CellIds
Definition: cont/CellLocatorTwoLevel.h:103
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
#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
#define VTKM_CONT_EXPORT
Definition: vtkm_cont_export.h:44
vtkm::internal::cl_uniform_bins::Grid TopLevel
Definition: cont/CellLocatorTwoLevel.h:98
vtkm::cont::ArrayHandle< vtkm::Id > CellCount
Definition: cont/CellLocatorTwoLevel.h:102
vtkm::cont::ArrayHandle< vtkm::Id > CellStartIndex
Definition: cont/CellLocatorTwoLevel.h:101
#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
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:71
::vtkm::cont::internal::CellSetList SupportedCellSets
Definition: cont/CellLocatorTwoLevel.h:54
vtkm::cont::ArrayHandle< vtkm::internal::cl_uniform_bins::DimVec3 > LeafDimensions
Definition: cont/CellLocatorTwoLevel.h:99
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::ListApply< CellLocatorExecList, vtkm::exec::CellLocatorMultiplexer > ExecObjType
Definition: cont/CellLocatorTwoLevel.h:60
friend Superclass
Definition: cont/CellLocatorTwoLevel.h:93
vtkm::cont::ArrayHandle< vtkm::Id > LeafStartIndex
Definition: cont/CellLocatorTwoLevel.h:100