Intel package should not reset atom sort frequency if it is 0 (disabled).

This commit is contained in:
W. Michael Brown
2023-06-08 21:47:30 -07:00
parent 2e1190bfee
commit 2cb87bc9a2

View File

@ -411,7 +411,7 @@ bool FixIntel::pair_hybrid_check()
void FixIntel::pair_init_check(const bool cdmessage)
{
#ifdef INTEL_VMASK
atom->sortfreq = 1;
if (atom->sortfreq) atom->sortfreq = 1;
#endif
_nbor_pack_width = 1;