forked from lijiext/lammps
remove unused variable
This commit is contained in:
parent
90acace136
commit
4cfc920d65
|
@ -267,7 +267,6 @@ void generate_yaml_file(const char *outfile, const TestConfig &config)
|
||||||
// run_pos
|
// run_pos
|
||||||
block.clear();
|
block.clear();
|
||||||
auto x = lmp->atom->x;
|
auto x = lmp->atom->x;
|
||||||
auto tag = lmp->atom->tag;
|
|
||||||
for (int i = 1; i <= natoms; ++i) {
|
for (int i = 1; i <= natoms; ++i) {
|
||||||
const int j = lmp->atom->map(i);
|
const int j = lmp->atom->map(i);
|
||||||
block += fmt::format("{:3} {:23.16e} {:23.16e} {:23.16e}\n", i, x[j][0], x[j][1], x[j][2]);
|
block += fmt::format("{:3} {:23.16e} {:23.16e} {:23.16e}\n", i, x[j][0], x[j][1], x[j][2]);
|
||||||
|
|
Loading…
Reference in New Issue