revert permission change and replace 'b/c' with 'because'
This commit is contained in:
6
src/fix_property_atom.cpp
Executable file → Normal file
6
src/fix_property_atom.cpp
Executable file → Normal file
@ -192,7 +192,7 @@ int FixPropertyAtom::setmask()
|
||||
void FixPropertyAtom::init()
|
||||
{
|
||||
// error if atom style has changed since fix was defined
|
||||
// don't allow this b/c user could change to style that defines molecule,q
|
||||
// don't allow this because user could change to style that defines molecule,q
|
||||
|
||||
if (strcmp(astyle,atom->atom_style) != 0)
|
||||
error->all(FLERR,"Atom style was redefined after using fix property/atom");
|
||||
@ -579,7 +579,7 @@ int FixPropertyAtom::unpack_exchange(int nlocal, double *buf)
|
||||
|
||||
int FixPropertyAtom::pack_restart(int i, double *buf)
|
||||
{
|
||||
// pack buf[0] this way b/c other fixes unpack it
|
||||
// pack buf[0] this way because other fixes unpack it
|
||||
buf[0] = nvalue+1;
|
||||
|
||||
int m = 1;
|
||||
@ -603,7 +603,7 @@ void FixPropertyAtom::unpack_restart(int nlocal, int nth)
|
||||
double **extra = atom->extra;
|
||||
|
||||
// skip to Nth set of extra values
|
||||
// unpack the Nth first values this way b/c other fixes pack them
|
||||
// unpack the Nth first values this way because other fixes pack them
|
||||
|
||||
int m = 0;
|
||||
for (int i = 0; i < nth; i++) m += static_cast<int> (extra[nlocal][m]);
|
||||
|
||||
Reference in New Issue
Block a user