silence compiler warnings
This commit is contained in:
@ -95,8 +95,11 @@ void FixMomentum::init()
|
||||
|
||||
void FixMomentum::end_of_step()
|
||||
{
|
||||
double **x = atom->x;
|
||||
double **v = atom->v;
|
||||
int *mask = atom->mask;
|
||||
imageint *image = atom->image;
|
||||
|
||||
const int nlocal = atom->nlocal;
|
||||
double ekin_old,ekin_new;
|
||||
ekin_old = ekin_new = 0.0;
|
||||
@ -157,12 +160,6 @@ void FixMomentum::end_of_step()
|
||||
// vnew_i = v_i - w x r_i
|
||||
// must use unwrapped coords to compute r_i correctly
|
||||
|
||||
double **x = atom->x;
|
||||
double **v = atom->v;
|
||||
int *mask = atom->mask;
|
||||
imageint *image = atom->image;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
double dx,dy,dz;
|
||||
double unwrap[3];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user