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

Bit flags used in ghost arrays to identify what type a cell is. More...

#include <CellClassification.h>

Public Types

enum  : vtkm::UInt8 {
  Normal = 0, Ghost = 1 << 0, Invalid = 1 << 1, Unused0 = 1 << 2,
  Blanked = 1 << 3, Unused3 = 1 << 4, Unused4 = 1 << 5, Unused5 = 1 << 6
}
 

Public Member Functions

constexpr VTKM_EXEC CellClassification (vtkm::UInt8 flags=vtkm::UInt8{ Normal })
 
constexpr VTKM_EXEC operator vtkm::UInt8 () const
 

Private Attributes

vtkm::UInt8 Flags
 

Detailed Description

Bit flags used in ghost arrays to identify what type a cell is.

CellClassification contains several bit flags that determine whether a cell is normal or if it should be treated as duplicated or removed in some way. The flags can be (and should be) treated as vtkm::UInt8 and or-ed together.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : vtkm::UInt8
Enumerator
Normal 
Ghost 
Invalid 
Unused0 
Blanked 
Unused3 
Unused4 
Unused5 

Constructor & Destructor Documentation

◆ CellClassification()

constexpr VTKM_EXEC vtkm::CellClassification::CellClassification ( vtkm::UInt8  flags = vtkm::UInt8Normal })
inlineconstexpr

Member Function Documentation

◆ operator vtkm::UInt8()

constexpr VTKM_EXEC vtkm::CellClassification::operator vtkm::UInt8 ( ) const
inlineconstexpr

Member Data Documentation

◆ Flags

vtkm::UInt8 vtkm::CellClassification::Flags
private

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