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

« back to all changes in this revision

Viewing changes to src/GPU/pair_lj_cut_coul_debye_gpu.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:
15
15
   Contributing author: Trung Dac Nguyen (ORNL)
16
16
------------------------------------------------------------------------- */
17
17
 
18
 
#include "lmptype.h"
19
18
#include "math.h"
20
19
#include "stdio.h"
21
20
#include "stdlib.h"
72
71
  PairLJCutCoulDebye(lmp), gpu_mode(GPU_FORCE)
73
72
{
74
73
  respa_enable = 0;
 
74
  reinitflag = 0;
75
75
  cpu_time = 0.0;
76
76
  GPU_EXTRA::gpu_ready(lmp->modify, lmp->error); 
77
77
}
167
167
  GPU_EXTRA::check_flag(success,error,world);
168
168
 
169
169
  if (gpu_mode == GPU_FORCE) {
170
 
    int irequest = neighbor->request(this);
 
170
    int irequest = neighbor->request(this,instance_me);
171
171
    neighbor->requests[irequest]->half = 0;
172
172
    neighbor->requests[irequest]->full = 1;
173
173
  }