Remove unused function
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user