correct pair coeff mixing diagnostic for CLASS2 pair styles
This commit is contained in:
@ -290,8 +290,13 @@ void Pair::init()
|
||||
|
||||
if (!manybody_flag && (comm->me == 0)) {
|
||||
const int num_mixed_pairs = atom->ntypes * (atom->ntypes - 1) / 2;
|
||||
utils::logmesg(lmp,"Generated {} of {} mixed pair_coeff terms from {} mixing rule\n",
|
||||
mixed_count, num_mixed_pairs, mixing_rule_names[mix_flag]);
|
||||
// CLASS2 always applies sixthpower mixing to epsilon/sigma
|
||||
if (utils::strmatch(force->pair_style,"^lj/class2"))
|
||||
utils::logmesg(lmp,"Generated {} of {} mixed pair_coeff terms from {}/{} mixing rule\n",
|
||||
mixed_count, num_mixed_pairs, "sixthpower", mixing_rule_names[mix_flag]);
|
||||
else
|
||||
utils::logmesg(lmp,"Generated {} of {} mixed pair_coeff terms from {} mixing rule\n",
|
||||
mixed_count, num_mixed_pairs, mixing_rule_names[mix_flag]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user