Change final displace atom to reset atom to save on memory and computation

This commit is contained in:
Sievers
2020-02-27 11:31:33 -07:00
parent 236535f61b
commit 35f4a62566
2 changed files with 10 additions and 7 deletions

View File

@ -49,11 +49,14 @@ private:
double **numdiff_forces; // finite diff forces
double **temp_f; // original forces
double position;
double image;
double update_energy(int vflag);
void force_clear(double **forces);
void create_groupmap();
void displace_atom(int local_idx, int direction, int magnitude);
void reset_atom_position(int local_idx, int direction, double position);
void reset_atom_position(int local_idx, int direction);
void calculate_forces(int vflag);
};