tut_point_to_cell update
This commit is contained in:
parent
eb3802ba2c
commit
cb829e83ce
@ -28,7 +28,8 @@ struct ConvertPointFieldToCells : vtkm::worklet::WorkletVisitCellsWithPoints
|
|||||||
using InputDomain = _1;
|
using InputDomain = _1;
|
||||||
|
|
||||||
template <typename InPointFieldVecType, typename OutCellFieldType>
|
template <typename InPointFieldVecType, typename OutCellFieldType>
|
||||||
void operator()(const InPointFieldVecType& inPointFieldVec, OutCellFieldType& outCellField) const
|
VTKM_EXEC void operator()(const InPointFieldVecType& inPointFieldVec,
|
||||||
|
OutCellFieldType& outCellField) const
|
||||||
{
|
{
|
||||||
vtkm::IdComponent numPoints = inPointFieldVec.GetNumberOfComponents();
|
vtkm::IdComponent numPoints = inPointFieldVec.GetNumberOfComponents();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user