forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7162 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
30242a51bd
commit
8d409d8f2e
|
@ -81,6 +81,7 @@ struct cuda_shared_atom // relevent data from atom class
|
|||
|
||||
int update_nlocal;
|
||||
int update_nmax;
|
||||
int update_neigh;
|
||||
|
||||
dev_array xhold; // position at last neighboring
|
||||
X_FLOAT triggerneighsq; // maximum square movement before reneighboring
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* pair_manybody_const.h
|
||||
*
|
||||
* Created on: Oct 11, 2011
|
||||
* Author: chmu-tph
|
||||
*/
|
||||
|
||||
#define MANYBODY_NPAIR 3
|
||||
|
||||
__device__ __constant__ int elem2param[(MANYBODY_NPAIR+1)*(MANYBODY_NPAIR+1)*(MANYBODY_NPAIR+1)];
|
||||
__device__ __constant__ int nelements;
|
||||
__device__ __constant__ int map[MANYBODY_NPAIR+2];
|
||||
__device__ __constant__ int* _glob_numneigh_red; //number of neighbors within force cutoff (as opposed to neighbor cutoff)
|
||||
__device__ __constant__ int* _glob_neighbors_red; //indices of neighbors within force cutoff
|
||||
__device__ __constant__ int* _glob_neightype_red; //type of neighbors within force cutoff
|
||||
|
Loading…
Reference in New Issue