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

« back to all changes in this revision

Viewing changes to src/pair_coul_wolf.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:
43
43
 
44
44
PairCoulWolf::~PairCoulWolf()
45
45
{
46
 
  if (allocated) {
 
46
  if (allocated && !copymode) {
47
47
    memory->destroy(setflag);
48
48
    memory->destroy(cutsq);
49
49
  }
210
210
  if (!atom->q_flag)
211
211
    error->all(FLERR,"Pair coul/wolf requires atom attribute q");
212
212
 
213
 
  neighbor->request(this);
 
213
  neighbor->request(this,instance_me);
214
214
 
215
215
  cut_coulsq = cut_coul*cut_coul;
216
216
}