remove dead code

This commit is contained in:
Axel Kohlmeyer
2021-03-19 11:33:32 -04:00
parent ca102e4920
commit 154b8cb401
7 changed files with 4 additions and 18 deletions

View File

@ -308,7 +308,6 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
// init_forces
block.clear();
auto f = lmp->atom->f;
auto tag = lmp->atom->tag;
for (int i = 1; i <= natoms; ++i) {
const int j = lmp->atom->map(i);
block += fmt::format("{:3} {:23.16e} {:23.16e} {:23.16e}\n", i, f[j][0], f[j][1], f[j][2]);
@ -329,7 +328,6 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
block.clear();
f = lmp->atom->f;
tag = lmp->atom->tag;
for (int i = 1; i <= natoms; ++i) {
const int j = lmp->atom->map(i);
block += fmt::format("{:3} {:23.16e} {:23.16e} {:23.16e}\n", i, f[j][0], f[j][1], f[j][2]);