Browse Source

Include bodybodyInteraction.cuh once

pull/1/head
Nicholas Wilt 13 years ago
parent
commit
c70cddad87
  1. 5
      nbody/bodybodyInteraction.cuh

5
nbody/bodybodyInteraction.cuh

@ -34,6 +34,9 @@ @@ -34,6 +34,9 @@
*
*/
#ifndef __CUDAHANDBOOK_BODYBODYINTERACTION_CUH__
#define __CUDAHANDBOOK_BODYBODYINTERACTION_CUH__
template <typename T>
__host__ __device__ void bodyBodyInteraction(
T *fx, T *fy, T *fz,
@ -61,3 +64,5 @@ __host__ __device__ void bodyBodyInteraction( @@ -61,3 +64,5 @@ __host__ __device__ void bodyBodyInteraction(
*fy = dy * s;
*fz = dz * s;
}
#endif

Loading…
Cancel
Save