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

« back to all changes in this revision

Viewing changes to src/delete_atoms.h

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#define LMP_DELETE_ATOMS_H
22
22
 
23
23
#include "pointers.h"
 
24
#include <map>
24
25
 
25
26
namespace LAMMPS_NS {
26
27
 
31
32
 
32
33
 private:
33
34
  int *dlist;
34
 
  int compress_flag;
 
35
  int compress_flag,mol_flag;
 
36
  std::map<int,int> *hash;
35
37
 
36
38
  void delete_group(int, char **);
37
39
  void delete_region(int, char **);
42
44
  inline int sbmask(int j) {
43
45
    return j >> SBBITS & 3;
44
46
  }
 
47
 
 
48
  // static variable for ring communication callback to access class data
 
49
  // callback functions for ring communication
 
50
 
 
51
  static DeleteAtoms *cptr;
 
52
  static void molring(int, char *);
45
53
};
46
54
 
47
55
}