VTK-m  2.0
Public Member Functions | Public Attributes | List of all members
vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D Class Reference

#include <MeshStructure2D.h>

Inheritance diagram for vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D:
vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D

Public Member Functions

VTKM_EXEC_CONT MeshStructure2D ()
 
VTKM_EXEC_CONT MeshStructure2D (vtkm::Id2 meshSize)
 
VTKM_EXEC_CONT vtkm::Id GetNumberOfVertices () const
 Get the number of mesh vertices. More...
 
VTKM_EXEC vtkm::Id2 VertexPos (vtkm::Id v) const
 Get the (x,y) position of the vertex based on its index. More...
 
VTKM_EXEC vtkm::Id VertexId (vtkm::Id2 pos) const
 vertex ID - row * ncols + col More...
 
VTKM_EXEC_CONT vtkm::Id GetVertexOwned (const vtkm::Id &meshIndex, const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler &localToGlobalIdRelabeler) const
 determine if the vertex is owned by this mesh block or not The function returns NO_SUCH_ELEMENT if the vertex is not owned by the block and otherwise it returns global id of the vertex as determined via the IdRelabeler More...
 

Public Attributes

vtkm::Id2 MeshSize
 

Constructor & Destructor Documentation

◆ MeshStructure2D() [1/2]

VTKM_EXEC_CONT vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::MeshStructure2D ( )
inline

◆ MeshStructure2D() [2/2]

VTKM_EXEC_CONT vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::MeshStructure2D ( vtkm::Id2  meshSize)
inline

Member Function Documentation

◆ GetNumberOfVertices()

VTKM_EXEC_CONT vtkm::Id vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::GetNumberOfVertices ( ) const
inline

Get the number of mesh vertices.

◆ GetVertexOwned()

VTKM_EXEC_CONT vtkm::Id vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::GetVertexOwned ( const vtkm::Id meshIndex,
const vtkm::worklet::contourtree_augmented::mesh_dem::IdRelabeler localToGlobalIdRelabeler 
) const
inline

determine if the vertex is owned by this mesh block or not The function returns NO_SUCH_ELEMENT if the vertex is not owned by the block and otherwise it returns global id of the vertex as determined via the IdRelabeler

◆ VertexId()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::VertexId ( vtkm::Id2  pos) const
inline

vertex ID - row * ncols + col

◆ VertexPos()

VTKM_EXEC vtkm::Id2 vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::VertexPos ( vtkm::Id  v) const
inline

Get the (x,y) position of the vertex based on its index.

Member Data Documentation

◆ MeshSize

vtkm::Id2 vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D::MeshSize

The documentation for this class was generated from the following file: