Fixing Kokkos compile errors

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14873 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor
2016-04-26 16:12:44 +00:00
parent 656f8ed97a
commit e6ba3ccd33
4 changed files with 2 additions and 8 deletions

View File

@ -33,8 +33,10 @@
#include "memory.h"
#include "error.h"
#include "atom_masks.h"
#include "math_const.h"
using namespace LAMMPS_NS;
using namespace MathConst;
#define MAXLINE 1024
#define DELTA 4
@ -44,8 +46,6 @@ using namespace LAMMPS_NS;
template<class DeviceType>
PairSWKokkos<DeviceType>::PairSWKokkos(LAMMPS *lmp) : PairSW(lmp)
{
THIRD = 1.0/3.0;
respa_enable = 0;

View File

@ -46,8 +46,6 @@ using namespace MathConst;
template<class DeviceType>
PairTersoffKokkos<DeviceType>::PairTersoffKokkos(LAMMPS *lmp) : PairTersoff(lmp)
{
THIRD = 1.0/3.0;
respa_enable = 0;
atomKK = (AtomKokkos *) atom;

View File

@ -46,8 +46,6 @@ using namespace MathConst;
template<class DeviceType>
PairTersoffMODKokkos<DeviceType>::PairTersoffMODKokkos(LAMMPS *lmp) : PairTersoffMOD(lmp)
{
THIRD = 1.0/3.0;
respa_enable = 0;
atomKK = (AtomKokkos *) atom;

View File

@ -46,8 +46,6 @@ using namespace MathConst;
template<class DeviceType>
PairTersoffZBLKokkos<DeviceType>::PairTersoffZBLKokkos(LAMMPS *lmp) : PairTersoffZBL(lmp)
{
THIRD = 1.0/3.0;
respa_enable = 0;
atomKK = (AtomKokkos *) atom;