mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Add missing VTKM_EXEC_CONT declarations to functor
This commit is contained in:
parent
10ea36bb95
commit
ebb265ce03
@ -88,14 +88,14 @@ public:
|
||||
Portal2Type ThisGlobalMeshIndex;
|
||||
Portal3Type OtherGlobalMeshIndex;
|
||||
|
||||
vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
|
||||
VTKM_EXEC_CONT inline vtkm::Id GetGlobalMeshIndex(vtkm::Id idx) const
|
||||
{
|
||||
return vtkm::worklet::contourtree_augmented::IsThis(idx)
|
||||
? this->ThisGlobalMeshIndex.Get(MaskedIndex(idx))
|
||||
: this->OtherGlobalMeshIndex.Get(MaskedIndex(idx));
|
||||
}
|
||||
|
||||
vtkm::Id operator()(vtkm::Id i) const
|
||||
VTKM_EXEC_CONT vtkm::Id operator()(vtkm::Id i) const
|
||||
{
|
||||
vtkm::Id currGlobalIdx = this->GetGlobalMeshIndex(this->OverallSortOrderPortal.Get(i));
|
||||
vtkm::Id nextGlobalIdx = this->GetGlobalMeshIndex(this->OverallSortOrderPortal.Get(i + 1));
|
||||
|
Loading…
Reference in New Issue
Block a user