~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/USER-CUDA/fix_viscous_cuda.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2015-04-29 23:44:49 UTC
  • mfrom: (5.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20150429234449-mbhy9utku6hp6oq8
Tags: 0~20150313.gitfa668e1-1
Upload into unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include "respa.h"
32
32
#include "error.h"
33
33
#include "cuda_modify_flags.h"
34
 
#include "cuda.h"
 
34
#include "user_cuda.h"
35
35
 
36
36
using namespace LAMMPS_NS;
37
37
using namespace FixConst;
73
73
void FixViscousCuda::setup(int vflag)
74
74
{
75
75
   if(not cu_gamma)
76
 
   cu_gamma = new cCudaData<double, F_FLOAT, x> (gamma,atom->ntypes+1);
 
76
   cu_gamma = new cCudaData<double, F_CFLOAT, x> (gamma,atom->ntypes+1);
77
77
   Cuda_FixViscousCuda_Init(&cuda->shared_data);
78
78
   cu_gamma->upload();
79
79
 // if (strcmp(update->integrate_style,"verlet/cuda") == 0)