Adding Kokkos version of PPPM

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15535 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor
2016-09-01 20:53:40 +00:00
parent 3769f9077f
commit b4785cd038
13 changed files with 5228 additions and 0 deletions

View File

@ -94,6 +94,7 @@ KSpace::KSpace(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
execution_space = Host;
datamask_read = ALL_MASK;
datamask_modify = ALL_MASK;
copymode = 0;
memory->create(gcons,7,7,"kspace:gcons");
gcons[2][0] = 15.0 / 8.0;
@ -149,6 +150,8 @@ KSpace::KSpace(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
KSpace::~KSpace()
{
if (copymode) return;
memory->destroy(eatom);
memory->destroy(vatom);
memory->destroy(gcons);