Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
7e234497
Unverified
Commit
7e234497
authored
6 years ago
by
Steve Plimpton
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
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
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/USER-MISC/fix_bond_react.cpp
+212
-138
212 additions, 138 deletions
src/USER-MISC/fix_bond_react.cpp
src/USER-MISC/fix_bond_react.h
+6
-2
6 additions, 2 deletions
src/USER-MISC/fix_bond_react.h
with
218 additions
and
140 deletions
src/USER-MISC/fix_bond_react.cpp
+
212
−
138
View file @
7e234497
This diff is collapsed.
Click to expand it.
src/USER-MISC/fix_bond_react.h
+
6
−
2
View file @
7e234497
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment