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

This commit is contained in:
sjplimp
2013-08-23 14:41:20 +00:00
parent 4047288238
commit 402d1a8605
105 changed files with 2003 additions and 954 deletions

View File

@ -83,12 +83,12 @@ texture<int4,1> pos_tex, quat_tex;
if (offset==0) { \
__global acctyp *ap1=engv+ii; \
if (eflag>0) { \
*ap1=energy; \
*ap1=energy*(acctyp)0.5; \
ap1+=astride; \
} \
if (vflag>0) { \
for (int i=0; i<6; i++) { \
*ap1=virial[i]; \
*ap1=virial[i]*(acctyp)0.5; \
ap1+=astride; \
} \
} \
@ -130,12 +130,12 @@ texture<int4,1> pos_tex, quat_tex;
if (offset==0) { \
engv+=ii; \
if (eflag>0) { \
*engv+=energy; \
*engv+=energy*(acctyp)0.5; \
engv+=inum; \
} \
if (vflag>0) { \
for (int i=0; i<6; i++) { \
*engv+=virial[i]; \
*engv+=virial[i]*(acctyp)0.5; \
engv+=inum; \
} \
} \
@ -170,12 +170,12 @@ texture<int4,1> pos_tex, quat_tex;
if (offset==0) { \
__global acctyp *ap1=engv+ii; \
if (eflag>0) { \
*ap1=energy; \
*ap1=energy*(acctyp)0.5; \
ap1+=astride; \
} \
if (vflag>0) { \
for (int i=0; i<6; i++) { \
*ap1=virial[i]; \
*ap1=virial[i]*(acctyp)0.5; \
ap1+=astride; \
} \
} \
@ -202,12 +202,12 @@ texture<int4,1> pos_tex, quat_tex;
if (offset==0) { \
engv+=ii; \
if (eflag>0) { \
*engv+=energy; \
*engv+=energy*(acctyp)0.5; \
engv+=inum; \
} \
if (vflag>0) { \
for (int i=0; i<6; i++) { \
*engv+=virial[i]; \
*engv+=virial[i]*(acctyp)0.5; \
engv+=inum; \
} \
} \