mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Add make_VecFromPortalPermute
This commit is contained in:
parent
31a9cc5286
commit
cf1957ca4e
@ -126,6 +126,14 @@ struct VecTraits<vtkm::VecFromPortalPermute<IndexVecType, PortalType>>
|
||||
}
|
||||
};
|
||||
|
||||
template <typename IndexVecType, typename PortalType>
|
||||
inline VTKM_EXEC VecFromPortalPermute<IndexVecType, PortalType> make_VecFromPortalPermute(
|
||||
const IndexVecType* index,
|
||||
const PortalType& portal)
|
||||
{
|
||||
return VecFromPortalPermute<IndexVecType, PortalType>(index, portal);
|
||||
}
|
||||
|
||||
} // namespace vtkm
|
||||
|
||||
#endif //vtk_m_VecFromPortalPermute_h
|
||||
|
Loading…
Reference in New Issue
Block a user