Skip to content
Snippets Groups Projects
Unverified Commit 7e234497 authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #953 from jrgissing/bond/react-update

Bond/react update
parents 277b43b2 3750e0a4
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -48,6 +48,7 @@ class FixBondReact : public Fix { ...@@ -48,6 +48,7 @@ class FixBondReact : public Fix {
private: private:
int me,nprocs; int me,nprocs;
int newton_bond;
int nreacts; int nreacts;
int *nevery; int *nevery;
FILE *fp; FILE *fp;
...@@ -71,7 +72,6 @@ class FixBondReact : public Fix { ...@@ -71,7 +72,6 @@ class FixBondReact : public Fix {
int maxcreate; int maxcreate;
int allncreate; int allncreate;
tagint ***created; tagint ***created;
int *local_ncreate;
class Molecule *onemol; // pre-reacted molecule template class Molecule *onemol; // pre-reacted molecule template
class Molecule *twomol; // post-reacted molecule template class Molecule *twomol; // post-reacted molecule template
...@@ -112,6 +112,9 @@ class FixBondReact : public Fix { ...@@ -112,6 +112,9 @@ class FixBondReact : public Fix {
int ***reverse_equiv; // re-ordered equivalences int ***reverse_equiv; // re-ordered equivalences
int **landlocked_atoms; // all atoms at least three bonds away from edge atoms int **landlocked_atoms; // all atoms at least three bonds away from edge atoms
int **nxspecial,**onemol_nxspecial,**twomol_nxspecial; // full number of 1-4 neighbors
tagint **xspecial,**onemol_xspecial,**twomol_xspecial; // full 1-4 neighbor list
int pion,neigh,trace; // important indices for various loops. required for restore points int pion,neigh,trace; // important indices for various loops. required for restore points
int lcl_inst; // reaction instance int lcl_inst; // reaction instance
tagint **glove; // 1st colmn: pre-reacted template, 2nd colmn: global IDs tagint **glove; // 1st colmn: pre-reacted template, 2nd colmn: global IDs
...@@ -144,6 +147,7 @@ class FixBondReact : public Fix { ...@@ -144,6 +147,7 @@ class FixBondReact : public Fix {
void far_partner(); void far_partner();
void close_partner(); void close_partner();
void get_molxspecials();
void find_landlocked_atoms(int); void find_landlocked_atoms(int);
void glove_ghostcheck(); void glove_ghostcheck();
void ghost_glovecast(); void ghost_glovecast();
...@@ -152,7 +156,7 @@ class FixBondReact : public Fix { ...@@ -152,7 +156,7 @@ class FixBondReact : public Fix {
void limit_bond(int); void limit_bond(int);
void dedup_mega_gloves(int); //dedup global mega_glove void dedup_mega_gloves(int); //dedup global mega_glove
// DEBUG (currently obsolete) // DEBUG
void print_bb(); void print_bb();
......
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