VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D Class Reference

#include <MeshStructureFreudenthal2D.h>

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

Public Types

using SortIndicesPortalType = IdArrayType::ReadPortalType
 
using EdgeBoundaryDetectionMasksPortalType = m2d_freudenthal::EdgeBoundaryDetectionMasksType::ReadPortalType
 

Public Member Functions

VTKM_EXEC_CONT MeshStructureFreudenthal2D ()
 
 MeshStructureFreudenthal2D (vtkm::Id2 meshSize, vtkm::Int32 nincident_edges, bool getmax, const IdArrayType &sortIndices, const IdArrayType &SortOrder, const m2d_freudenthal::EdgeBoundaryDetectionMasksType &EdgeBoundaryDetectionMasksIn, vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token)
 
VTKM_EXEC vtkm::Id GetMaxNumberOfNeighbours () const
 
VTKM_EXEC vtkm::Id GetNeighbourIndex (vtkm::Id sortIndex, vtkm::Id edgeNo) const
 
VTKM_EXEC vtkm::Id GetExtremalNeighbour (vtkm::Id sortIndex) const
 
VTKM_EXEC vtkm::Pair< vtkm::Id, vtkm::IdGetNeighbourComponentsMaskAndDegree (vtkm::Id sortIndex, bool getMaxComponents) const
 
- Public Member Functions inherited from vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D
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...
 

Private Attributes

SortIndicesPortalType SortIndicesPortal
 
SortIndicesPortalType SortOrderPortal
 
EdgeBoundaryDetectionMasksPortalType EdgeBoundaryDetectionMasksPortal
 
bool GetMax
 
vtkm::Id NumIncidentEdges
 

Additional Inherited Members

- Public Attributes inherited from vtkm::worklet::contourtree_augmented::data_set_mesh::MeshStructure2D
vtkm::Id2 MeshSize
 

Member Typedef Documentation

◆ EdgeBoundaryDetectionMasksPortalType

using vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::EdgeBoundaryDetectionMasksPortalType = m2d_freudenthal::EdgeBoundaryDetectionMasksType::ReadPortalType

◆ SortIndicesPortalType

Constructor & Destructor Documentation

◆ MeshStructureFreudenthal2D() [1/2]

VTKM_EXEC_CONT vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::MeshStructureFreudenthal2D ( )
inline

◆ MeshStructureFreudenthal2D() [2/2]

vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::MeshStructureFreudenthal2D ( vtkm::Id2  meshSize,
vtkm::Int32  nincident_edges,
bool  getmax,
const IdArrayType sortIndices,
const IdArrayType SortOrder,
const m2d_freudenthal::EdgeBoundaryDetectionMasksType EdgeBoundaryDetectionMasksIn,
vtkm::cont::DeviceAdapterId  device,
vtkm::cont::Token token 
)
inline

Member Function Documentation

◆ GetExtremalNeighbour()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::GetExtremalNeighbour ( vtkm::Id  sortIndex) const
inline

◆ GetMaxNumberOfNeighbours()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::GetMaxNumberOfNeighbours ( ) const
inline

◆ GetNeighbourComponentsMaskAndDegree()

VTKM_EXEC vtkm::Pair<vtkm::Id, vtkm::Id> vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::GetNeighbourComponentsMaskAndDegree ( vtkm::Id  sortIndex,
bool  getMaxComponents 
) const
inline

◆ GetNeighbourIndex()

VTKM_EXEC vtkm::Id vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::GetNeighbourIndex ( vtkm::Id  sortIndex,
vtkm::Id  edgeNo 
) const
inline

Member Data Documentation

◆ EdgeBoundaryDetectionMasksPortal

EdgeBoundaryDetectionMasksPortalType vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::EdgeBoundaryDetectionMasksPortal
private

◆ GetMax

bool vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::GetMax
private

◆ NumIncidentEdges

vtkm::Id vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::NumIncidentEdges
private

◆ SortIndicesPortal

SortIndicesPortalType vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::SortIndicesPortal
private

◆ SortOrderPortal

SortIndicesPortalType vtkm::worklet::contourtree_augmented::MeshStructureFreudenthal2D::SortOrderPortal
private

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