Viskores  1.0
ParticleArrayCopy.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_ParticleArrayCopy_h
19 #define viskores_cont_ParticleArrayCopy_h
20 
21 #include <viskores/Particle.h>
24 
25 namespace viskores
26 {
27 namespace cont
28 {
29 
35 
36 template <typename ParticleType>
37 VISKORES_ALWAYS_EXPORT inline void ParticleArrayCopy(
40  bool CopyTerminatedOnly = false);
41 
42 
48 template <typename ParticleType>
49 VISKORES_ALWAYS_EXPORT inline void ParticleArrayCopy(
51  inputs,
53 
60 
61 template <typename ParticleType>
62 VISKORES_ALWAYS_EXPORT inline void ParticleArrayCopy(
69 }
70 } // namespace viskores::cont
71 
72 #ifndef viskores_cont_ParticleArrayCopy_hxx
73 #include <viskores/cont/ParticleArrayCopy.hxx>
74 #endif //viskores_cont_ParticleArrayCopy_hxx
75 
76 #endif //viskores_cont_ParticleArrayCopy_h
ArrayHandle.h
viskores::cont::ArrayHandle
Manages an array-worth of data.
Definition: ArrayHandle.h:313
viskores::cont::ParticleArrayCopy
void ParticleArrayCopy(const viskores::cont::ArrayHandle< ParticleType, viskores::cont::StorageTagBasic > &inP, viskores::cont::ArrayHandle< viskores::Vec3f, viskores::cont::StorageTagBasic > &outPos, bool CopyTerminatedOnly=false)
Copy fields in viskores::Particle to standard types.
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores_cont_export.h
Particle.h