consistently compare atom->molecular against enumerator constants
This commit is contained in:
@ -432,7 +432,7 @@ void Info::command(int narg, char **arg)
|
||||
fmt::print(out,"Units = {}\n", update->unit_style);
|
||||
fmt::print(out,"Atom style = {}\n", atom->atom_style);
|
||||
fmt::print(out,"Atom map = {}\n", mapstyles[atom->map_style]);
|
||||
if (atom->molecular > 0) {
|
||||
if (atom->molecular != Atom::ATOMIC) {
|
||||
const char *msg;
|
||||
msg = (atom->molecular == Atom::TEMPLATE) ? "template" : "standard";
|
||||
fmt::print(out,"Molecule type = {}\n",msg);
|
||||
@ -447,7 +447,7 @@ void Info::command(int narg, char **arg)
|
||||
fmt::print(out," {}", hybrid->keywords[i]);
|
||||
fputc('\n',out);
|
||||
}
|
||||
if (atom->molecular > 0) {
|
||||
if (atom->molecular != Atom::ATOMIC) {
|
||||
const char *msg;
|
||||
msg = force->bond_style ? force->bond_style : "none";
|
||||
fmt::print(out,"Bonds = {:12}, types = {:8}, style = {}\n",
|
||||
|
||||
Reference in New Issue
Block a user