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

« back to all changes in this revision

Viewing changes to src/group.h

  • 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:
1
 
/* ----------------------------------------------------------------------
 
1
/* -*- c++ -*- ----------------------------------------------------------
2
2
   LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
3
3
   http://lammps.sandia.gov, Sandia National Laboratories
4
4
   Steve Plimpton, sjplimp@sandia.gov
16
16
 
17
17
#include "stdio.h"
18
18
#include "pointers.h"
 
19
#include <map>
19
20
 
20
21
namespace LAMMPS_NS {
21
22
 
63
64
 
64
65
 private:
65
66
  int me;
 
67
  std::map<tagint,int> *hash;
66
68
 
67
69
  int find_unused();
 
70
  void add_molecules(int, int);
 
71
 
 
72
  // static variable for ring communication callback to access class data
 
73
  // callback functions for ring communication
 
74
 
 
75
  static Group *cptr;
 
76
  static void molring(int, char *);
 
77
  int molbit;
68
78
};
69
79
 
70
80
}