Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_data_set_mesh_triangulation_2d_freudenthal_h
54 #define vtk_m_worklet_contourtree_augmented_data_set_mesh_triangulation_2d_freudenthal_h
69 namespace contourtree_augmented
123 m2d_freudenthal::EdgeBoundaryDetectionMasks,
124 m2d_freudenthal::N_INCIDENT_EDGES,
140 m2d_freudenthal::N_INCIDENT_EDGES,
166 invoke(computeMeshBoundary2dWorklet,
170 : *meshBoundaryExecObj,
172 boundarySortIndexArray
VTKM_CONT vtkm::cont::ArrayHandleBasic< T > make_ArrayHandle(const T *array, vtkm::Id numberOfValues, vtkm::CopyFlag copy)
A convenience function for creating an ArrayHandle from a standard C array.
Definition: ArrayHandleBasic.h:217
Groups connected points that have the same field value.
Definition: Atomic.h:19
IdArrayType SortOrder
Definition: DataSetMesh.h:107
typename vtkm::cont::ArrayHandle< vtkm::Int8 > EdgeBoundaryDetectionMasksType
Definition: filter/scalar_topology/worklet/contourtree_augmented/meshtypes/freudenthal_2D/Types.h:68
Class representing a 2D dataset mesh with freudenthal triangulation connectivity for contour tree com...
Definition: DataSetMeshTriangulation2DFreudenthal.h:73
IdArrayType SortIndices
Definition: DataSetMesh.h:111
void GetBoundaryVertices(IdArrayType &boundaryVertexArray, IdArrayType &boundarySortIndexArray, MeshBoundary2DExec *meshBoundaryExecObj=NULL) const
Get boundary vertices.
Definition: DataSetMeshTriangulation2DFreudenthal.h:155
static constexpr int MAX_OUTDEGREE
Definition: DataSetMeshTriangulation2DFreudenthal.h:80
void GetOwnedVerticesByGlobalIdImpl(const MeshTypeObj *mesh, const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler &localToGlobalIdRelabeler, IdArrayType &ownedVertices) const
Compute a list of the global Iss of all vertices that logically belong to the data block represented ...
Definition: DataSetMesh.h:216
m2d_freudenthal::EdgeBoundaryDetectionMasksType EdgeBoundaryDetectionMasks
Constants and case tables.
Definition: DataSetMeshTriangulation2DFreudenthal.h:79
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
void SetPrepareForExecutionBehavior(bool getMax)
Definition: DataSetMeshTriangulation2DFreudenthal.h:129
Definition: ComputeMeshBoundary2D.h:69
Allows launching any worklet without a dispatcher.
Definition: Invoker.h:41
Definition: MeshBoundary2D.h:167
MeshBoundary2DExec GetMeshBoundaryExecutionObject() const
Helper function to create a boundary excution object for the mesh.
Definition: DataSetMeshTriangulation2DFreudenthal.h:149
bool UseGetMax
Definition: DataSetMeshTriangulation2DFreudenthal.h:115
vtkm::Id3 MeshSize
Definition: DataSetMesh.h:103
Definition: MeshStructureFreudenthal2D.h:72
DataSetMeshTriangulation2DFreudenthal(vtkm::Id2 meshSize)
Constructor.
Definition: DataSetMeshTriangulation2DFreudenthal.h:119
A utility class that converts Ids from local to global given a mesh.
Definition: IdRelabeler.h:79
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
void GetOwnedVerticesByGlobalId(const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler &localToGlobalIdRelabeler, IdArrayType &ownedVertices) const
Get of global indices of the vertices owned by this mesh.
Definition: DataSetMeshTriangulation2DFreudenthal.h:177
MeshStructureFreudenthal2D PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Prepare mesh for use in VTKm worklets.
Definition: DataSetMeshTriangulation2DFreudenthal.h:135
Definition: DataSetMesh.h:97
An implicit array handle containing the its own indices.
Definition: ArrayHandleIndex.h:54