VTK-m  2.0
WorkletNeighborhood.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_worklet_WorkletNeighborhood_h
11 #define vtk_m_worklet_WorkletNeighborhood_h
12 
14 
16 
26 
27 #include <vtkm/exec/arg/Boundary.h>
33 
36 
37 namespace vtkm
38 {
39 namespace worklet
40 {
41 
42 class WorkletNeighborhood : public vtkm::worklet::internal::WorkletBase
43 {
44 public:
55  {
56  };
57 
60 
64 
69  VTKM_CONT
71 
78  {
82  };
83 
90  {
94  };
95 
102  {
106  };
107 
111  {
116  };
117 
130  {
134  };
135 };
136 } // namespace worklet
137 } // namespace vtkm
138 
139 #endif // vtk_m_worklet_WorkletPointNeighborhood_h
vtkm::TopologyElementTagPoint
A tag used to identify the point elements in a topology.
Definition: TopologyElementTag.h:34
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
TypeCheckTagCellSetStructured.h
TransportTagCellSetIn.h
TypeCheckTagArrayOut.h
vtkm::worklet::WorkletNeighborhood::CellSetIn
A control signature tag for input connectivity.
Definition: WorkletNeighborhood.h:110
TransportTagArrayIn.h
ControlSignatureTagBase.h
vtkm::exec::arg::FetchTagCellSetIn
Fetch tag for getting topology information.
Definition: FetchTagCellSetIn.h:29
vtkm::worklet::WorkletNeighborhood::FieldOut
A control signature tag for output point fields.
Definition: WorkletNeighborhood.h:89
vtkm::exec::arg::FetchTagArrayDirectOut
Fetch tag for setting array values with direct indexing.
Definition: FetchTagArrayDirectOut.h:29
TransportTagArrayOut.h
BoundaryTypes.h
vtkm::cont::arg::TypeCheckTagArrayOut
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayOut.h:31
vtkm::cont::arg::TransportTagArrayInOut
Transport tag for in-place arrays.
Definition: TransportTagArrayInOut.h:33
vtkm::cont::arg::TransportTagArrayOut
Transport tag for output arrays.
Definition: TransportTagArrayOut.h:32
vtkm::cont::arg::TransportTagCellSetIn
Transport tag for input arrays.
Definition: TransportTagCellSetIn.h:32
vtkm::cont::arg::TypeCheckTagArrayInOut
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayInOut.h:31
TypeCheckTagArrayInOut.h
TransportTagArrayInOut.h
vtkm::cont::arg::TypeCheckTagArrayIn
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayIn.h:31
vtkm::cont::arg::TypeCheckTagCellSetStructured
Check for a Structured CellSet-like object.
Definition: TypeCheckTagCellSetStructured.h:26
vtkm::exec::arg::FetchTagArrayNeighborhoodIn
Fetch tag for getting values of neighborhood around a point.
Definition: FetchTagArrayNeighborhoodIn.h:30
vtkm::worklet::BoundaryClamp
Clamps boundary values to the nearest valid i,j,k value.
Definition: BoundaryTypes.h:36
vtkm::worklet::WorkletNeighborhood::FieldInOut
A control signature tag for input-output (in-place) point fields.
Definition: WorkletNeighborhood.h:101
vtkm::worklet::WorkletNeighborhood::GetBoundaryCondition
VTKM_CONT BoundaryType GetBoundaryCondition() const
In addition to defining the boundary type, the worklet must produce the boundary condition.
Definition: WorkletNeighborhood.h:70
vtkm::exec::arg::FetchTagArrayDirectIn
Fetch tag for getting array values with direct indexing.
Definition: FetchTagArrayDirectIn.h:29
FetchTagArrayNeighborhoodIn.h
TypeCheckTagArrayIn.h
WorkletBase.h
ScatterIdentity.h
vtkm::worklet::WorkletNeighborhood::FieldIn
A control signature tag for input point fields.
Definition: WorkletNeighborhood.h:77
VTKM_CONT
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::cont::arg::TransportTagArrayIn
Transport tag for input arrays.
Definition: TransportTagArrayIn.h:32
FetchTagCellSetIn.h
vtkm::exec::arg::Boundary
The ExecutionSignature tag to get if executing on a boundary element.
Definition: Boundary.h:36
FetchTagArrayDirectIn.h
vtkm::worklet::WorkletNeighborhood::Boundary
The ExecutionSignature tag to query if the current iteration is inside the boundary.
Definition: WorkletNeighborhood.h:54
Boundary.h
vtkm::cont::arg::ControlSignatureTagBase
The base class for all tags used in a ControlSignature.
Definition: ControlSignatureTagBase.h:36
FetchTagArrayDirectInOut.h
FetchTagArrayDirectOut.h
vtkm::worklet::ScatterIdentity
A scatter that maps input directly to output.
Definition: ScatterIdentity.h:30
vtkm::TopologyElementTagCell
A tag used to identify the cell elements in a topology.
Definition: TopologyElementTag.h:24
vtkm::exec::arg::FetchTagArrayDirectInOut
Fetch tag for in-place modifying array values with direct indexing.
Definition: FetchTagArrayDirectInOut.h:39
vtkm::worklet::WorkletNeighborhood::FieldInNeighborhood
A control signature tag for neighborhood input values.
Definition: WorkletNeighborhood.h:129
vtkm::worklet::WorkletNeighborhood::BoundaryType
vtkm::worklet::BoundaryClamp BoundaryType
All neighborhood worklets must define their boundary type operation.
Definition: WorkletNeighborhood.h:63
vtkm::worklet::WorkletNeighborhood
Definition: WorkletNeighborhood.h:42
TopologyElementTag.h