revert permission change and replace 'b/c' with 'because'
This commit is contained in:
4
src/USER-MISC/fix_ti_spring.cpp
Executable file → Normal file
4
src/USER-MISC/fix_ti_spring.cpp
Executable file → Normal file
@ -315,7 +315,7 @@ int FixTISpring::unpack_exchange(int nlocal, double *buf)
|
||||
|
||||
int FixTISpring::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] = 4;
|
||||
buf[1] = xoriginal[i][0];
|
||||
buf[2] = xoriginal[i][1];
|
||||
@ -332,7 +332,7 @@ void FixTISpring::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