24#include <Kokkos_Core.hpp>
49#ifdef ESPRESSO_COLLISION_DETECTION
76#ifdef ESPRESSO_COLLISION_DETECTION
78 void add_new_bond(
int bond_id, std::vector<int>
const &particle_ids,
79 Kokkos::View<int *>
const &id_to_index);
Kokkos::View< int *[4], Kokkos::LayoutRight > DihedralBondlistType
std::vector< int > new_angle_ids
void allocate()
Allocate or reallocate all Kokkos Views to current counts.
Kokkos::View< int *[2], Kokkos::LayoutRight > PairBondlistType
AngleBondIDType angle_ids
std::vector< int > new_dihedral_list
Kokkos::View< int *, Kokkos::LayoutRight > DihedralBondIDType
DihedralBondlistType dihedral_list
AngleBondlistType angle_list
std::vector< int > new_pair_list
void reset()
Reset counts + collision vectors.
Kokkos::View< int *[3], Kokkos::LayoutRight > AngleBondlistType
Kokkos::View< int *, Kokkos::LayoutRight > PairBondIDType
std::vector< int > new_angle_list
void clear()
Deallocates Views.
Kokkos::View< int *, Kokkos::LayoutRight > AngleBondIDType
void add_new_bond(int bond_id, std::vector< int > const &particle_ids, Kokkos::View< int * > const &id_to_index)
std::vector< int > new_dihedral_ids
void set_counts(int p, int a, int d)
std::vector< int > new_pair_ids
DihedralBondIDType dihedral_ids
PairBondlistType pair_list