VTK-m
2.0
|
Class representing a 2D dataset mesh with freudenthal triangulation connectivity for contour tree computation. More...
#include <DataSetMeshTriangulation2DFreudenthal.h>
Public Member Functions | |
void | SetPrepareForExecutionBehavior (bool getMax) |
MeshStructureFreudenthal2D | PrepareForExecution (vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const |
Prepare mesh for use in VTKm worklets. More... | |
DataSetMeshTriangulation2DFreudenthal (vtkm::Id2 meshSize) | |
Constructor. More... | |
MeshBoundary2DExec | GetMeshBoundaryExecutionObject () const |
Helper function to create a boundary excution object for the mesh. More... | |
void | GetBoundaryVertices (IdArrayType &boundaryVertexArray, IdArrayType &boundarySortIndexArray, MeshBoundary2DExec *meshBoundaryExecObj=NULL) const |
Get boundary vertices. More... | |
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. More... | |
Public Member Functions inherited from vtkm::worklet::contourtree_augmented::DataSetMesh | |
DataSetMesh () | |
DataSetMesh (vtkm::Id3 meshSize) | |
virtual | ~DataSetMesh () |
vtkm::Id | GetNumberOfVertices () const |
template<typename T , typename StorageType > | |
void | SortData (const vtkm::cont::ArrayHandle< T, StorageType > &values) |
vtkm::cont::ArrayHandleTransform< vtkm::cont::ArrayHandlePermutation< IdArrayType, IdArrayType >, mesh_dem::IdRelabeler > | GetGlobalIdsFromSortIndices (const IdArrayType &sortIds, const mesh_dem::IdRelabeler *localToGlobalIdRelabeler) const |
Routine to return the global IDs for a set of vertices We here return a fancy array handle to convert values on-the-fly without requiring additional memory. More... | |
template<typename MeshIdArrayType > | |
vtkm::cont::ArrayHandleTransform< MeshIdArrayType, mesh_dem::IdRelabeler > | GetGlobalIdsFromMeshIndices (const MeshIdArrayType &meshIds, const mesh_dem::IdRelabeler *localToGlobalIdRelabeler) const |
Routine to return the global IDs for a set of vertices We here return a fancy array handle to convert values on-the-fly without requiring additional memory SortIdArrayType must be an array if Ids. More... | |
void | DebugPrint (const char *message, const char *fileName, long lineNum) |
Public Attributes | |
m2d_freudenthal::EdgeBoundaryDetectionMasksType | EdgeBoundaryDetectionMasks |
Constants and case tables. More... | |
Public Attributes inherited from vtkm::worklet::contourtree_augmented::DataSetMesh | |
vtkm::Id3 | MeshSize |
vtkm::Id | NumVertices |
vtkm::Id | NumLogSteps |
IdArrayType | SortOrder |
IdArrayType | SortIndices |
Static Public Attributes | |
static constexpr int | MAX_OUTDEGREE = 3 |
Private Attributes | |
bool | UseGetMax |
Additional Inherited Members | |
Protected Member Functions inherited from vtkm::worklet::contourtree_augmented::DataSetMesh | |
template<typename MeshTypeObj > | |
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 by this mesh object (used in distributd parallel computation). More... | |
virtual void | DebugPrintExtends () |
template<typename T , typename StorageType > | |
void | DebugPrintValues (const vtkm::cont::ArrayHandle< T, StorageType > &values) |
Class representing a 2D dataset mesh with freudenthal triangulation connectivity for contour tree computation.
|
inline |
Constructor.
meshSize | vtkm::Id2 object describing the number of vertices in x and y |
|
inline |
Get boundary vertices.
[out] | boundaryVertexArray | Array of boundary vertices |
[out] | boundarySortIndexArray | Array of sort index of boundary vertices |
[in] | meshBoundaryExecObj | Optional mesh boundary object inluced for consistency with ContourTreeMesh. if omitted, GetMeshBoundaryExecutionObject() will be used. |
|
inline |
Helper function to create a boundary excution object for the mesh.
The MeshBoundary2DExec object implements functions for using in worklets in VTKm's execution environment related the boundary of the mesh.
|
inline |
Get of global indices of the vertices owned by this mesh.
Implemented via DataSetMesh.GetOwnedVerticesByGlobalIdImpl
|
inline |
Prepare mesh for use in VTKm worklets.
This function creates a MeshStructureFreudenthal2D ExecutionObject that implements relevant mesh functions on the device.
|
inline |
m2d_freudenthal::EdgeBoundaryDetectionMasksType vtkm::worklet::contourtree_augmented::DataSetMeshTriangulation2DFreudenthal::EdgeBoundaryDetectionMasks |
Constants and case tables.
|
staticconstexpr |
|
private |