remove newton bond off check again
This commit is contained in:
@ -1363,10 +1363,6 @@ void Neighbor::init_topology()
|
|||||||
onoff = improper_off;
|
onoff = improper_off;
|
||||||
MPI_Allreduce(&onoff,&improper_off,1,MPI_INT,MPI_MAX,world);
|
MPI_Allreduce(&onoff,&improper_off,1,MPI_INT,MPI_MAX,world);
|
||||||
|
|
||||||
// newton_bond off is not supported with atom style template
|
|
||||||
if ((atom->molecular == Atom::TEMPLATE) && (force->newton_bond == 0))
|
|
||||||
error->all(FLERR,"Must use 'newton bond on' with atom style template");
|
|
||||||
|
|
||||||
// instantiate NTopo classes
|
// instantiate NTopo classes
|
||||||
|
|
||||||
if (atom->avec->bonds_allow) {
|
if (atom->avec->bonds_allow) {
|
||||||
|
|||||||
Reference in New Issue
Block a user