add missing updates for symbolic constants in Atom class

This commit is contained in:
Axel Kohlmeyer
2020-09-16 22:58:12 -04:00
parent 6e9a39cf22
commit 429cc0cacf
12 changed files with 51 additions and 50 deletions

View File

@ -727,7 +727,7 @@ void Domain::image_check()
// if running verlet/split, don't check on KSpace partition since
// it has no ghost atoms and thus bond partners won't exist
if (!atom->molecular) return;
if (atom->molecular == Atom::ATOMIC) return;
if (!xperiodic && !yperiodic && (dimension == 2 || !zperiodic)) return;
if (strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld != 0) return;
@ -837,7 +837,7 @@ void Domain::box_too_small_check()
// if running verlet/split, don't check on KSpace partition since
// it has no ghost atoms and thus bond partners won't exist
if (!atom->molecular) return;
if (atom->molecular == Atom::ATOMIC) return;
if (!xperiodic && !yperiodic && (dimension == 2 || !zperiodic)) return;
if (strncmp(update->integrate_style,"verlet/split",12) == 0 &&
universe->iworld != 0) return;