Go to the documentation of this file.
10 #ifndef vtk_m_exec_FieldNeighborhood_h
11 #define vtk_m_exec_FieldNeighborhood_h
35 template <
typename FieldPortalType>
45 using ValueType =
typename FieldPortalType::ValueType;
82 FieldNeighborhood(
const vtkm::internal::ArrayPortalUniformPointCoordinates& portal,
116 vtkm::internal::ArrayPortalUniformPointCoordinates
Portal;
121 #endif //vtk_m_exec_FieldNeighborhood_h
VTKM_EXEC ValueType Get(const vtkm::Id3 &ijk) const
Definition: FieldNeighborhood.h:60
Provides a neighborhood's placement with respect to the mesh's boundary.
Definition: BoundaryState.h:31
VTKM_EXEC vtkm::Id3 NeighborIndexToFullIndex(const vtkm::IdComponent3 &neighbor) const
Definition: BoundaryState.h:184
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC vtkm::Id NeighborIndexToFlatIndexClamp(const vtkm::IdComponent3 &neighbor) const
Definition: BoundaryState.h:227
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
FieldPortalType Portal
Definition: FieldNeighborhood.h:72
VTKM_EXEC vtkm::Id NeighborIndexToFlatIndex(const vtkm::IdComponent3 &neighbor) const
Definition: BoundaryState.h:247
VTKM_EXEC ValueType GetUnchecked(vtkm::IdComponent i, vtkm::IdComponent j, vtkm::IdComponent k) const
Definition: FieldNeighborhood.h:54
VTKM_EXEC FieldNeighborhood(const FieldPortalType &portal, const vtkm::exec::BoundaryState &boundary)
Definition: FieldNeighborhood.h:39
VTKM_EXEC ValueType Get(vtkm::IdComponent i, vtkm::IdComponent j, vtkm::IdComponent k) const
Definition: FieldNeighborhood.h:48
typename FieldPortalType::ValueType ValueType
Definition: FieldNeighborhood.h:45
VTKM_EXEC ValueType GetUnchecked(const vtkm::Id3 &ijk) const
Definition: FieldNeighborhood.h:66
vtkm::exec::BoundaryState const *const Boundary
Definition: FieldNeighborhood.h:71
VTKM_EXEC vtkm::Id3 NeighborIndexToFullIndexClamp(const vtkm::IdComponent3 &neighbor) const
Definition: BoundaryState.h:164
Retrieves field values from a neighborhood.
Definition: FieldNeighborhood.h:36