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
f5946c73
Commit
f5946c73
authored
9 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@14418
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
7ae65d4d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/molecule.h
+12
-1
12 additions, 1 deletion
src/molecule.h
with
12 additions
and
1 deletion
src/molecule.h
+
12
−
1
View file @
f5946c73
...
...
@@ -26,11 +26,13 @@ class Molecule : protected Pointers {
int
last
;
// 1 if last molecule in set, else 0
// number of atoms,bonds,etc in molecule
// nibody,ndbody = # of integer/double fields in body
int
natoms
;
int
nbonds
,
nangles
,
ndihedrals
,
nimpropers
;
int
ntypes
;
int
nbondtypes
,
nangletypes
,
ndihedraltypes
,
nimpropertypes
;
int
nibody
,
ndbody
;
// max bond,angle,etc per atom
...
...
@@ -43,6 +45,7 @@ class Molecule : protected Pointers {
int
bondflag
,
angleflag
,
dihedralflag
,
improperflag
;
int
nspecialflag
,
specialflag
;
int
shakeflag
,
shakeflagflag
,
shakeatomflag
,
shaketypeflag
;
int
bodyflag
,
ibodyflag
,
dbodyflag
;
// 1 if attribute defined or computed, 0 if not
...
...
@@ -83,6 +86,10 @@ class Molecule : protected Pointers {
tagint
**
shake_atom
;
int
**
shake_type
;
class
AtomVecBody
*
avec_body
;
int
*
ibodyparams
;
// integer and double body params
double
*
dbodyparams
;
double
center
[
3
];
// geometric center of molecule
double
masstotal
;
// total mass of molecule
double
com
[
3
];
// center of mass of molecule
...
...
@@ -102,6 +109,9 @@ class Molecule : protected Pointers {
double
**
dxbody
;
// displacement of each atom relative to COM
// in body frame (diagonalized interia tensor)
double
*
quat_external
;
// orientation imposed by external class
// e.g. FixPour or CreateAtoms
Molecule
(
class
LAMMPS
*
,
int
,
char
**
,
int
&
);
~
Molecule
();
void
compute_center
();
...
...
@@ -117,7 +127,7 @@ class Molecule : protected Pointers {
int
toffset
,
boffset
,
aoffset
,
doffset
,
ioffset
;
int
autospecial
;
double
sizescale
;
void
read
(
int
);
void
coords
(
char
*
);
void
types
(
char
*
);
...
...
@@ -134,6 +144,7 @@ class Molecule : protected Pointers {
void
shakeflag_read
(
char
*
);
void
shakeatom_read
(
char
*
);
void
shaketype_read
(
char
*
);
void
body
(
int
,
int
,
char
*
);
void
initialize
();
void
allocate
();
...
...
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