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

« back to all changes in this revision

Viewing changes to src/GPU/pair_born_coul_wolf_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 authors: 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"
75
74
                                                      gpu_mode(GPU_FORCE)
76
75
{
77
76
  respa_enable = 0;
 
77
  reinitflag = 0;
78
78
  cpu_time = 0.0;
79
79
  GPU_EXTRA::gpu_ready(lmp->modify, lmp->error); 
80
80
}
175
175
  GPU_EXTRA::check_flag(success,error,world);
176
176
 
177
177
  if (gpu_mode == GPU_FORCE) {
178
 
    int irequest = neighbor->request(this);
 
178
    int irequest = neighbor->request(this,instance_me);
179
179
    neighbor->requests[irequest]->half = 0;
180
180
    neighbor->requests[irequest]->full = 1;
181
181
  }