Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_data_set_mesh_execution_object_mesh_3d_h
54 #define vtk_m_worklet_contourtree_augmented_data_set_mesh_execution_object_mesh_3d_h
62 namespace contourtree_augmented
64 namespace data_set_mesh
113 localToGlobalIdRelabeler)
const
119 if (((pos[1] == this->
MeshSize[1] - 1) &&
121 localToGlobalIdRelabeler.
GlobalSize[1] - 1)) ||
122 ((pos[0] == this->MeshSize[0] - 1) &&
124 localToGlobalIdRelabeler.
GlobalSize[0] - 1)) ||
125 ((pos[2] == this->MeshSize[2] - 1) &&
133 return localToGlobalIdRelabeler(meshIndex);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
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 th...
Definition: MeshStructure3D.h:111
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC vtkm::Id3 VertexPos(vtkm::Id v) const
Definition: MeshStructure3D.h:91
VTKM_EXEC_CONT MeshStructure3D(vtkm::Id3 meshSize)
Definition: MeshStructure3D.h:78
VTKM_EXEC_CONT MeshStructure3D()
Definition: MeshStructure3D.h:72
vtkm::Id3 MeshSize
Definition: MeshStructure3D.h:137
A utility class that converts Ids from local to global given a mesh.
Definition: IdRelabeler.h:79
VTKM_EXEC vtkm::Id VertexId(vtkm::Id3 pos) const
Definition: MeshStructure3D.h:102
Definition: MeshStructure3D.h:68
vtkm::Id3 LocalBlockOrigin
Local block origin.
Definition: IdRelabeler.h:114
vtkm::Id3 GlobalSize
Global mesh size.
Definition: IdRelabeler.h:118
VTKM_EXEC_CONT vtkm::Id GetNumberOfVertices() const
Definition: MeshStructure3D.h:85
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73