Remove unused function

This commit is contained in:
Stan Moore
2024-07-23 17:42:23 -06:00
parent 8bba2d12ec
commit ce0e513d8c
2 changed files with 0 additions and 17 deletions

View File

@ -276,22 +276,6 @@ void AtomKokkos::sort_device()
if (domain->triclinic) domain->x2lamda(nlocal); if (domain->triclinic) domain->x2lamda(nlocal);
} }
/* ----------------------------------------------------------------------
reallocate memory to the pointer selected by the mask
------------------------------------------------------------------------- */
void AtomKokkos::grow(unsigned int mask)
{
if (mask & SPECIAL_MASK) {
memoryKK->destroy_kokkos(k_special, special);
sync(Device, mask);
modified(Device, mask);
memoryKK->grow_kokkos(k_special, special, nmax, maxspecial, "atom:special");
avec->grow_pointers();
sync(Host, mask);
}
}
/* ---------------------------------------------------------------------- /* ----------------------------------------------------------------------
add a custom variable with name of type flag = 0/1 for int/double add a custom variable with name of type flag = 0/1 for int/double
assumes name does not already exist assumes name does not already exist

View File

@ -165,7 +165,6 @@ class AtomKokkos : public Atom {
void modified(const ExecutionSpace space, unsigned int mask); void modified(const ExecutionSpace space, unsigned int mask);
void sync_overlapping_device(const ExecutionSpace space, unsigned int mask); void sync_overlapping_device(const ExecutionSpace space, unsigned int mask);
void sort() override; void sort() override;
virtual void grow(unsigned int mask);
int add_custom(const char *, int, int, int border = 0) override; int add_custom(const char *, int, int, int border = 0) override;
void remove_custom(int, int, int) override; void remove_custom(int, int, int) override;
void deallocate_topology() override; void deallocate_topology() override;