add missing KOKKOS_INLINE_FUNCTION attributes

This commit is contained in:
Dan Ibanez 2017-01-25 15:49:05 -07:00
parent e992bfe510
commit 03c9c46533
3 changed files with 6 additions and 0 deletions

View File

@ -44,7 +44,9 @@ class PairLJClass2Kokkos : public PairLJClass2 {
double init_one(int, int);
struct params_lj{
KOKKOS_INLINE_FUNCTION
params_lj(){cutsq=0,lj1=0;lj2=0;lj3=0;lj4=0;offset=0;};
KOKKOS_INLINE_FUNCTION
params_lj(int i){cutsq=0,lj1=0;lj2=0;lj3=0;lj4=0;offset=0;};
F_FLOAT cutsq,lj1,lj2,lj3,lj4,offset;
};

View File

@ -44,7 +44,9 @@ class PairLJExpandKokkos : public PairLJExpand {
double init_one(int, int);
struct params_lj{
KOKKOS_INLINE_FUNCTION
params_lj(){cutsq=0,lj1=0;lj2=0;lj3=0;lj4=0;offset=0;shift=0;};
KOKKOS_INLINE_FUNCTION
params_lj(int i){cutsq=0,lj1=0;lj2=0;lj3=0;lj4=0;offset=0;shift=0;};
F_FLOAT cutsq,lj1,lj2,lj3,lj4,offset,shift;
};

View File

@ -44,7 +44,9 @@ class PairLJGromacsKokkos : public PairLJGromacs {
double init_one(int, int);
struct params_lj{
KOKKOS_INLINE_FUNCTION
params_lj(){cut_inner_sq=0;cut_inner=0;lj1=0;lj2=0;lj3=0;lj4=0;offset=0;ljsw1=0;ljsw2=0;ljsw3=0;ljsw4=0;ljsw5=0;};
KOKKOS_INLINE_FUNCTION
params_lj(int i){cut_inner_sq=0;cut_inner=0;lj1=0;lj2=0;lj3=0;lj4=0;offset=0;ljsw1=0;ljsw2=0;ljsw3=0;ljsw4=0;ljsw5=0;};
F_FLOAT cut_inner_sq,cut_inner,lj1,lj2,lj3,lj4,offset,ljsw1,ljsw2,ljsw3,ljsw4,ljsw5;
};