Changes necessary for runtime testing of Kokkos styles

This commit is contained in:
Stan Moore 2016-12-19 13:31:09 -07:00
parent 21bb603b93
commit 3f1f51c1c7
2 changed files with 2 additions and 5 deletions

View File

@ -363,11 +363,11 @@ void FixRX::post_constructor()
newarg2[nspecies+3] = (char *) "ghost";
newarg2[nspecies+4] = (char *) "yes";
modify->add_fix(nspecies+5,newarg);
modify->add_fix(nspecies+5,newarg,1);
fix_species = (FixPropertyAtom *) modify->fix[modify->nfix-1];
restartFlag = modify->fix[modify->nfix-1]->restart_reset;
modify->add_fix(nspecies+5,newarg2);
modify->add_fix(nspecies+5,newarg2,1);
fix_species_old = (FixPropertyAtom *) modify->fix[modify->nfix-1];
if(nspecies==0) error->all(FLERR,"There are no rx species specified.");

View File

@ -39,9 +39,6 @@ PairHybrid::PairHybrid(LAMMPS *lmp) : Pair(lmp),
outerflag = 0;
respaflag = 0;
if (lmp->kokkos)
error->all(FLERR,"Cannot yet use pair hybrid with Kokkos");
}
/* ---------------------------------------------------------------------- */