Go to the documentation of this file.
18 #ifndef viskores_exec_FieldNeighborhood_h
19 #define viskores_exec_FieldNeighborhood_h
41 template <
typename FieldPortalType>
51 using ValueType =
typename FieldPortalType::ValueType;
118 FieldNeighborhood(
const viskores::internal::ArrayPortalUniformPointCoordinates& portal,
154 viskores::internal::ArrayPortalUniformPointCoordinates
Portal;
159 #endif //viskores_exec_FieldNeighborhood_h
viskores::Id3 NeighborIndexToFullIndexClamp(const viskores::IdComponent3 &neighbor) const
Takes a local neighborhood index (in the ranges of -neighborhood size to neighborhood size) and retur...
Definition: BoundaryState.h:193
Provides a neighborhood's placement with respect to the mesh's boundary.
Definition: BoundaryState.h:39
viskores::exec::BoundaryState const *const Boundary
The viskores::exec::BoundaryState used to find field values from local indices.
Definition: FieldNeighborhood.h:105
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
ValueType GetUnchecked(const viskores::Id3 &ijk) const
Retrieve a field value relative to the visited element without bounds checking.
Definition: FieldNeighborhood.h:99
ValueType GetUnchecked(viskores::IdComponent i, viskores::IdComponent j, viskores::IdComponent k) const
Retrieve a field value relative to the visited element without bounds checking.
Definition: FieldNeighborhood.h:83
Groups connected points that have the same field value.
Definition: Atomic.h:27
Retrieves field values from a neighborhood.
Definition: FieldNeighborhood.h:42
ValueType Get(const viskores::Id3 &ijk) const
Retrieve a field value relative to the visited element.
Definition: FieldNeighborhood.h:92
viskores::Id NeighborIndexToFlatIndexClamp(const viskores::IdComponent3 &neighbor) const
Takes a local neighborhood index (in the ranges of -neighborhood size to neighborhood size) and retur...
Definition: BoundaryState.h:256
ValueType Get(viskores::IdComponent i, viskores::IdComponent j, viskores::IdComponent k) const
Retrieve a field value relative to the visited element.
Definition: FieldNeighborhood.h:69
viskores::Id3 NeighborIndexToFullIndex(const viskores::IdComponent3 &neighbor) const
Takes a local neighborhood index (in the ranges of -neighborhood size to neighborhood size) and retur...
Definition: BoundaryState.h:214
typename FieldPortalType::ValueType ValueType
Definition: FieldNeighborhood.h:51
viskores::Id NeighborIndexToFlatIndex(const viskores::IdComponent3 &neighbor) const
Takes a local neighborhood index (in the ranges of -neighborhood size to neighborhood size) and retur...
Definition: BoundaryState.h:276
FieldPortalType Portal
The array portal containing field values.
Definition: FieldNeighborhood.h:108
FieldNeighborhood(const FieldPortalType &portal, const viskores::exec::BoundaryState &boundary)
Definition: FieldNeighborhood.h:45
#define VISKORES_EXEC
Definition: ExportMacros.h:59