Skip to content

Commit 4611f9c

Browse files
committed
remove reading atomic virial
1 parent 037e4eb commit 4611f9c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main_nep/structure.cu

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,7 @@ static void read_one_structure(
421421
}
422422
if (sub_tokens[k * 3] == "force" || sub_tokens[k * 3] == "forces") {
423423
force_position = k;
424-
}
425-
if (sub_tokens[k * 3] == "avirial" || sub_tokens[k * 3] == "atomic_virial") {
426-
avirial_position = k;
427-
structure.has_atomic_virial = true;
428-
}
424+
}
429425
if (sub_tokens[k * 3] == "adipole" || sub_tokens[k * 3] == "atomic_dipole") {
430426
avirial_position = k;
431427
structure.has_atomic_virial = true;

0 commit comments

Comments
 (0)