Added changes to Atom and Device classes for allocation of extra fields and SBBITS15 and NEIGHMASK15
This commit is contained in:
@ -330,6 +330,10 @@
|
||||
#define NEIGHMASK 0x3FFFFFFF
|
||||
ucl_inline int sbmask(int j) { return j >> SBBITS & 3; };
|
||||
|
||||
#define SBBITS15 29
|
||||
#define NEIGHMASK15 0x1FFFFFFF
|
||||
ucl_inline int sbmask15(int j) { return j >> SBBITS15 & 7; };
|
||||
|
||||
// default to 32-bit smallint and other ints, 64-bit bigint:
|
||||
// same as defined in src/lmptype.h
|
||||
#if !defined(LAMMPS_SMALLSMALL) && !defined(LAMMPS_BIGBIG) && \
|
||||
|
||||
Reference in New Issue
Block a user