Go to the documentation of this file.
18 #ifndef viskores_exec_ConnectivityExplicit_h
19 #define viskores_exec_ConnectivityExplicit_h
36 template <
typename ShapesPortalType,
typename ConnectivityPortalType,
typename OffsetsPortalType>
45 const ConnectivityPortalType& connPortal,
46 const OffsetsPortalType& offsetsPortal)
115 #endif // viskores_exec_ConnectivityExplicit_h
viskores::Id SchedulingRangeType
Definition: ConnectivityExplicit.h:40
viskores::CellShapeTagGeneric CellShapeTag
The tag representing the cell shape of the visited elements.
Definition: ConnectivityExplicit.h:65
OffsetsPortalType Offsets
Definition: ConnectivityExplicit.h:109
ConnectivityPortalType Connectivity
Definition: ConnectivityExplicit.h:108
A short variable-length array from a window in an ArrayPortal.
Definition: VecFromPortal.h:37
A class holding information about topology connections.
Definition: ConnectivityExplicit.h:37
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
A special cell shape tag that holds a cell shape that is not known at compile time.
Definition: CellShape.h:178
viskores::IdComponent GetNumberOfIndices(viskores::Id index) const
Given the index of a visited element, returns the number of incident elements touching it.
Definition: ConnectivityExplicit.h:80
ConnectivityExplicit(const ShapesPortalType &shapesPortal, const ConnectivityPortalType &connPortal, const OffsetsPortalType &offsetsPortal)
Definition: ConnectivityExplicit.h:44
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
ConnectivityExplicit()
Definition: ConnectivityExplicit.h:42
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::VecFromPortal< ConnectivityPortalType > IndicesType
Type of variable that lists of incident indices will be put into.
Definition: ConnectivityExplicit.h:87
IndicesType GetIndices(viskores::Id index) const
Provides the indices of all elements incident to the visit element of the provided index.
Definition: ConnectivityExplicit.h:97
SchedulingRangeType GetNumberOfElements() const
Provides the number of elements in the topology.
Definition: ConnectivityExplicit.h:59
CellShapeTag GetCellShape(viskores::Id index) const
Returns a tagfor the cell shape associated with the element at the given index.
Definition: ConnectivityExplicit.h:72
#define VISKORES_EXEC
Definition: ExportMacros.h:59
ShapesPortalType Shapes
Definition: ConnectivityExplicit.h:107