Skip to content
Snippets Groups Projects
Commit afaaf442 authored by jrgissing's avatar jrgissing
Browse files

bond/react doc tweaks 2

parent cf3aee90
No related branches found
No related tags found
No related merge requests found
......@@ -318,7 +318,7 @@ unwanted by-products. Therefore, bond/react provides the option to
delete a user-specified set of atoms. These pre-reaction atoms are
identified in the map file. A deleted atom must still be included in
the post-reaction molecule template, in which it cannot be bonded to
an undeleted atom. In addition to deleting unwanted reaction
an atom that is not deleted. In addition to deleting unwanted reaction
by-products, this feature can be used to remove specific topologies,
such as small rings, that may be otherwise indistinguishable.
......
......@@ -507,6 +507,7 @@ deepskyblue
defgrad
deformable
del
deleteIDs
Dellago
delocalization
delocalized
......
......@@ -1653,13 +1653,13 @@ void FixBondReact::find_landlocked_atoms(int myrxn)
}
}
// additionally, if a deleted atom is bonded to a undeleted atom, bad
// additionally, if a deleted atom is bonded to an atom that is not deleted, bad
for (int i = 0; i < onemol->natoms; i++) {
if (delete_atoms[i][myrxn] == 1) {
int ii = reverse_equiv[i][1][myrxn] - 1;
for (int j = 0; j < twomol_nxspecial[ii][0]; j++) {
if (delete_atoms[equivalences[twomol_xspecial[ii][j]-1][1][myrxn]-1][myrxn] == 0) {
error->one(FLERR,"A deleted atom cannot be bonded to an undeleted atom");
error->one(FLERR,"A deleted atom cannot remain bonded to an atom that is not deleted");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment