Disable trim from OPENMP and INTEL packages
This commit is contained in:
@ -1383,8 +1383,12 @@ void Neighbor::morph_halffull()
|
||||
if (jrq->occasional) continue;
|
||||
if (!jrq->full) continue;
|
||||
|
||||
// trim a list with longer cutoff
|
||||
// trim a list with longer cutoff (not yet supported by OPENMP or INTEL)
|
||||
|
||||
if (irq->omp || irq->intel) {
|
||||
if (irq->cut != jrq->cut) continue;
|
||||
if (irq->cutoff != jrq->cutoff) continue;
|
||||
} else {
|
||||
if (irq->cut) icut = irq->cutoff;
|
||||
else icut = cutneighmax;
|
||||
|
||||
@ -1393,6 +1397,7 @@ void Neighbor::morph_halffull()
|
||||
|
||||
if (icut > jcut) continue;
|
||||
else if (icut != jcut) trim_flag = 1;
|
||||
}
|
||||
|
||||
// these flags must be same,
|
||||
// else 2 lists do not store same pairs
|
||||
@ -1461,8 +1466,12 @@ void Neighbor::morph_copy_trim()
|
||||
|
||||
if (jrq->copy && jrq->copylist == i) continue;
|
||||
|
||||
// trim a list with longer cutoff
|
||||
// trim a list with longer cutoff (not yet supported by OPENMP or INTEL)
|
||||
|
||||
if (irq->omp || irq->intel) {
|
||||
if (irq->cut != jrq->cut) continue;
|
||||
if (irq->cutoff != jrq->cutoff) continue;
|
||||
} else {
|
||||
if (irq->cut) icut = irq->cutoff;
|
||||
else icut = cutneighmax;
|
||||
|
||||
@ -1471,6 +1480,7 @@ void Neighbor::morph_copy_trim()
|
||||
|
||||
if (icut > jcut) continue;
|
||||
else if (icut != jcut) trim_flag = 1;
|
||||
}
|
||||
|
||||
// other list (jrq) to copy from must be perpetual
|
||||
// list that becomes a copy list (irq) can be perpetual or occasional
|
||||
|
||||
Reference in New Issue
Block a user