You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as otherwise VerletList will take the positions from 0 to position.size() which in my case it should not do as I'm using this during insertion and not everything in the position array is populated.
The text was updated successfully, but these errors were encountered:
This was a purposeful choice because of the common use case for only storing neighbors for local (MPI) particles (0, num_local), but including ghosted particles (num_local, position.size()) in that list. We can certainly add an overload which separates neighbor_list_{begin,end} and candidate_neighbor_{begin,end}
@lebuller if you have a minute, can you add these constructor/build overloads? I may be able to get to it today/tomorrow otherwise
streeve
changed the title
LinkedList constructor in VerletList fails to pass begin and end
Missing overloads for partial range candidate neighbors in VerletList
Dec 13, 2023
Cabana/core/src/Cabana_VerletList.hpp
Line 287 in 973e7d0
Should be
linked_cell_list = LinkedCellList<memory_space>( position, begin, end, grid_delta,
as otherwise
VerletList
will take the positions from0
toposition.size()
which in my case it should not do as I'm using this during insertion and not everything in theposition
array is populated.The text was updated successfully, but these errors were encountered: