git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7162 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-10-20 15:42:19 +00:00
parent 30242a51bd
commit 8d409d8f2e
2 changed files with 17 additions and 0 deletions

View File

@ -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