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
28faf109
Commit
28faf109
authored
8 years ago
by
sjplimp
Browse files
Options
Downloads
Patches
Plain Diff
git-svn-id:
svn://svn.icms.temple.edu/lammps-ro/trunk@15275
f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent
6bc507cd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/neigh_list.cpp
+6
-2
6 additions, 2 deletions
src/neigh_list.cpp
src/neigh_list.h
+1
-1
1 addition, 1 deletion
src/neigh_list.h
src/neigh_request.h
+15
-9
15 additions, 9 deletions
src/neigh_request.h
with
22 additions
and
12 deletions
src/neigh_list.cpp
+
6
−
2
View file @
28faf109
...
@@ -246,11 +246,15 @@ void NeighList::print_attributes()
...
@@ -246,11 +246,15 @@ void NeighList::print_attributes()
printf
(
" %d = half_from_full
\n
"
,
rq
->
half_from_full
);
printf
(
" %d = half_from_full
\n
"
,
rq
->
half_from_full
);
printf
(
"
\n
"
);
printf
(
"
\n
"
);
printf
(
" %d = occasional
\n
"
,
rq
->
occasional
);
printf
(
" %d = occasional
\n
"
,
rq
->
occasional
);
printf
(
" %d = newton
\n
"
,
rq
->
newton
);
printf
(
" %d = granonesided
\n
"
,
rq
->
granonesided
);
printf
(
" %d = dnum
\n
"
,
rq
->
dnum
);
printf
(
" %d = dnum
\n
"
,
rq
->
dnum
);
printf
(
" %d = omp
\n
"
,
rq
->
omp
);
printf
(
" %d = intel
\n
"
,
rq
->
intel
);
printf
(
" %d = ghost
\n
"
,
rq
->
ghost
);
printf
(
" %d = ghost
\n
"
,
rq
->
ghost
);
printf
(
" %d = omp
\n
"
,
rq
->
omp
);
printf
(
" %d = omp
\n
"
,
rq
->
omp
);
printf
(
" %d = intel
\n
"
,
rq
->
intel
);
printf
(
" %d = kokkos host
\n
"
,
rq
->
kokkos_host
);
printf
(
" %d = kokkos device
\n
"
,
rq
->
kokkos_device
);
printf
(
" %d = ssa
\n
"
,
rq
->
ssa
);
printf
(
" %d = copy
\n
"
,
rq
->
copy
);
printf
(
" %d = copy
\n
"
,
rq
->
copy
);
printf
(
" %d = skip
\n
"
,
rq
->
skip
);
printf
(
" %d = skip
\n
"
,
rq
->
skip
);
printf
(
" %d = otherlist
\n
"
,
rq
->
otherlist
);
printf
(
" %d = otherlist
\n
"
,
rq
->
otherlist
);
...
...
This diff is collapsed.
Click to expand it.
src/neigh_list.h
+
1
−
1
View file @
28faf109
...
@@ -55,7 +55,7 @@ class NeighList : protected Pointers {
...
@@ -55,7 +55,7 @@ class NeighList : protected Pointers {
// settings and pointers for related neighbor lists and fixes
// settings and pointers for related neighbor lists and fixes
NeighList
*
listgranhistory
;
// point at history
list
NeighList
*
listgranhistory
;
// point at
list storing shear
history
class
FixShearHistory
*
fix_history
;
// fix that stores history info
class
FixShearHistory
*
fix_history
;
// fix that stores history info
int
respamiddle
;
// 1 if this respaouter has middle list
int
respamiddle
;
// 1 if this respaouter has middle list
...
...
This diff is collapsed.
Click to expand it.
src/neigh_request.h
+
15
−
9
View file @
28faf109
...
@@ -27,7 +27,7 @@ class NeighRequest : protected Pointers {
...
@@ -27,7 +27,7 @@ class NeighRequest : protected Pointers {
int
unprocessed
;
// 1 when first requested
int
unprocessed
;
// 1 when first requested
// 0 after processed by Neighbor class
// 0 after processed by Neighbor class
// which class
i
s request
ing
the list, one flag is 1, others are 0
// which class s
tyle
request
s
the list, one flag is 1, others are 0
int
pair
;
// set by default
int
pair
;
// set by default
int
fix
;
int
fix
;
...
@@ -35,24 +35,23 @@ class NeighRequest : protected Pointers {
...
@@ -35,24 +35,23 @@ class NeighRequest : protected Pointers {
int
command
;
int
command
;
// kind of list requested, one flag is 1, others are 0
// kind of list requested, one flag is 1, others are 0
// set by requesting class
int
half
;
// 1 if half neigh list (set by default)
int
half
;
// 1 if half neigh list (set by default)
int
full
;
// 1 if full neigh list
int
full
;
// 1 if full neigh list
int
full_cluster
;
// only used by Kokkos pair styles
int
full_cluster
;
// only used by Kokkos pair styles
int
gran
;
// 1 if granular list
int
gran
;
// 1 if granular list
int
granhistory
;
// 1 if granular history list
int
granhistory
;
// 1 if history info for granular contact pairs
int
respainner
;
// 1 if a rRESPA inner list
int
respainner
;
// 1 if a rRESPA inner list
int
respamiddle
;
// 1 if a rRESPA middle list
int
respamiddle
;
// 1 if a rRESPA middle list
int
respaouter
;
// 1 if a rRESPA outer list
int
respaouter
;
// 1 if a rRESPA outer list
int
half_from_full
;
// 1 if half list computed from previous full list
int
half_from_full
;
// 1 if half list computed from previous full list
// -----------------
// optional settings
// -----------------
// 0 if needed every reneighboring during run
// 0 if needed every reneighboring during run
// 1 if occasionally needed by a fix, compute, etc
// 1 if occasionally needed by a fix, compute, etc
// set by requesting class
int
occasional
;
int
occasional
;
...
@@ -67,8 +66,11 @@ class NeighRequest : protected Pointers {
...
@@ -67,8 +66,11 @@ class NeighRequest : protected Pointers {
//int special;
//int special;
// number of auxiliary floating point values to store, 0 if none
// 1 if one-sided granular list for sphere/surf interactions (gran = 1)
// set by requesting class
int
granonesided
;
// number of auxiliary floating point values to store, 0 if none set
int
dnum
;
int
dnum
;
...
@@ -109,6 +111,10 @@ class NeighRequest : protected Pointers {
...
@@ -109,6 +111,10 @@ class NeighRequest : protected Pointers {
int
copy_original
;
int
copy_original
;
int
otherlist_original
;
int
otherlist_original
;
// pointer to FSH class, set by caller
class
FixShearHistory
*
fix_history
;
// fix that stores history info
// methods
// methods
NeighRequest
(
class
LAMMPS
*
);
NeighRequest
(
class
LAMMPS
*
);
...
...
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