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

« back to all changes in this revision

Viewing changes to src/USER-REAXC/fix_reax_c.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:
135
135
 
136
136
/* ---------------------------------------------------------------------- */
137
137
 
138
 
int FixReaxC::pack_comm(int n, int *list, double *buf,
139
 
                         int pbc_flag, int *pbc)
 
138
int FixReaxC::pack_forward_comm(int n, int *list, double *buf,
 
139
                                int pbc_flag, int *pbc)
140
140
{
141
141
  int i,j,m;
142
142
 
145
145
    j = list[i];
146
146
    buf[m++] = num_bonds[j];
147
147
  }
148
 
  return 1;
 
148
  return m;
149
149
}
150
150
 
151
151
/* ---------------------------------------------------------------------- */
152
152
 
153
 
void FixReaxC::unpack_comm(int n, int first, double *buf)
 
153
void FixReaxC::unpack_forward_comm(int n, int first, double *buf)
154
154
{
155
155
  int i,m,last;
156
156