Go to the documentation of this file.
11 #ifndef vtk_m_worklet_gradient_CellGradient_h
12 #define vtk_m_worklet_gradient_CellGradient_h
37 template <
typename CellTagType,
38 typename PointCoordVecType,
39 typename FieldInVecType,
40 typename GradientOutType>
43 const PointCoordVecType& wCoords,
44 const FieldInVecType& field,
45 GradientOutType& outputGradient)
const
48 vtkm::exec::ParametricCoordinatesCenter(pointCount, shape, center);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
IncidentElementCount PointCount
Definition: WorkletMapTopology.h:267
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
Definition: CellGradient.h:27
void(CellSetIn, FieldInPoint pointCoordinates, FieldInPoint inputField, GradientOutputs outputFields) ControlSignature
Definition: CellGradient.h:32
VTKM_EXEC void operator()(CellTagType shape, vtkm::IdComponent pointCount, const PointCoordVecType &wCoords, const FieldInVecType &field, GradientOutType &outputGradient) const
Definition: CellGradient.h:41
Base class for worklets that map from Points to Cells.
Definition: WorkletMapTopology.h:255
VTKM_EXEC vtkm::ErrorCode CellDerivative(const FieldVecType &field, const WorldCoordType &wCoords, const vtkm::Vec< ParametricCoordType, 3 > &pcoords, CellShapeTag shape, vtkm::Vec< typename FieldVecType::ComponentType, 3 > &result)
Definition: CellDerivative.h:69
FieldInIncident FieldInPoint
Definition: WorkletMapTopology.h:259
void(CellShape, PointCount, _2, _3, _4) ExecutionSignature
Definition: CellGradient.h:34
_1 InputDomain
Definition: CellGradient.h:35
Definition: GradientOutput.h:305