VTK-m  2.2
ParticleArrayCopy.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_cont_ParticleArrayCopy_h
11 #define vtk_m_cont_ParticleArrayCopy_h
12 
13 #include <vtkm/Particle.h>
14 #include <vtkm/cont/ArrayHandle.h>
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 
27 
28 template <typename ParticleType>
32  bool CopyTerminatedOnly = false);
33 
34 
40 template <typename ParticleType>
44 
51 
52 template <typename ParticleType>
60 }
61 } // namespace vtkm::cont
62 
63 #ifndef vtk_m_cont_ParticleArrayCopy_hxx
64 #include <vtkm/cont/ParticleArrayCopy.hxx>
65 #endif //vtk_m_cont_ParticleArrayCopy_hxx
66 
67 #endif //vtk_m_cont_ParticleArrayCopy_h
vtkm::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:300
ArrayHandle.h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm_cont_export.h
vtkm::cont::ParticleArrayCopy
void ParticleArrayCopy(const vtkm::cont::ArrayHandle< ParticleType, vtkm::cont::StorageTagBasic > &inP, vtkm::cont::ArrayHandle< vtkm::Vec3f, vtkm::cont::StorageTagBasic > &outPos, bool CopyTerminatedOnly=false)
Copy fields in vtkm::Particle to standard types.
VTKM_ALWAYS_EXPORT
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:89
Particle.h