Fix for hybrid pair style with certain combinations of USER-INTEL styles.

Specifically, fixes issue where memory was not zeroed correctly with a hybrid
pair style including an intel variant and a non-intel variant combined with
intel variant(s) of non-pair styles.
This commit is contained in:
Michael Brown
2021-02-19 05:59:25 -08:00
parent 421eb5df0e
commit a40db8ddf1

View File

@ -318,8 +318,7 @@ void FixIntel::init()
_zero_master = 0; _zero_master = 0;
if (_pair_hybrid_flag && _hybrid_nonpair) if (_pair_hybrid_flag && _hybrid_nonpair)
if (_pair_hybrid_flag > 1 || force->newton_pair == 0) _pair_hybrid_zero = 1;
_pair_hybrid_zero = 1;
_hybrid_nonpair = 0; _hybrid_nonpair = 0;
_pair_intel_count = 0; _pair_intel_count = 0;