![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <LocalBondState.hpp>
Public Types | |
| using | execution_space = Kokkos::DefaultHostExecutionSpace |
| using | PairBondlistType |
| using | PairBondIDType |
| using | AngleBondlistType |
| using | AngleBondIDType |
| using | DihedralBondlistType |
| using | DihedralBondIDType |
Public Member Functions | |
| void | reset_counts () |
| void | set_counts (int p, int a, int d) |
| void | allocate () |
| Allocate or reallocate all Kokkos Views to current counts. | |
| void | clear () |
| Deallocates Views. | |
| void | reset () |
| Reset counts + collision vectors. | |
| void | clear_new_bonds () |
| void | add_new_bond (int bond_id, std::vector< int > const &particle_ids, Kokkos::View< int *, execution_space > const &id_to_index) |
| void | rebuild () |
Public Attributes | |
| int | pair_count = 0 |
| int | angle_count = 0 |
| int | dihedral_count = 0 |
| PairBondlistType | pair_list |
| PairBondIDType | pair_ids |
| AngleBondlistType | angle_list |
| AngleBondIDType | angle_ids |
| DihedralBondlistType | dihedral_list |
| DihedralBondIDType | dihedral_ids |
| std::vector< int > | new_pair_list |
| std::vector< int > | new_pair_ids |
| std::vector< int > | new_angle_list |
| std::vector< int > | new_angle_ids |
| std::vector< int > | new_dihedral_list |
| std::vector< int > | new_dihedral_ids |
Definition at line 28 of file LocalBondState.hpp.
Definition at line 36 of file LocalBondState.hpp.
Definition at line 34 of file LocalBondState.hpp.
Definition at line 40 of file LocalBondState.hpp.
Definition at line 38 of file LocalBondState.hpp.
| using LocalBondState::execution_space = Kokkos::DefaultHostExecutionSpace |
Definition at line 29 of file LocalBondState.hpp.
Definition at line 32 of file LocalBondState.hpp.
Definition at line 30 of file LocalBondState.hpp.
| void LocalBondState::add_new_bond | ( | int | bond_id, |
| std::vector< int > const & | particle_ids, | ||
| Kokkos::View< int *, execution_space > const & | id_to_index ) |
Definition at line 98 of file LocalBondState.cpp.
References angle_count, dihedral_count, new_angle_ids, new_angle_list, new_dihedral_ids, new_dihedral_list, new_pair_ids, new_pair_list, and pair_count.
| void LocalBondState::allocate | ( | ) |
Allocate or reallocate all Kokkos Views to current counts.
Definition at line 24 of file LocalBondState.cpp.
References angle_count, angle_ids, angle_list, dihedral_count, dihedral_ids, dihedral_list, pair_count, pair_ids, and pair_list.
| void LocalBondState::clear | ( | ) |
Deallocates Views.
Definition at line 67 of file LocalBondState.cpp.
References angle_ids, angle_list, clear_new_bonds(), dihedral_ids, dihedral_list, pair_ids, pair_list, and reset_counts().
| void LocalBondState::clear_new_bonds | ( | ) |
Definition at line 89 of file LocalBondState.cpp.
References new_angle_ids, new_angle_list, new_dihedral_ids, new_dihedral_list, new_pair_ids, and new_pair_list.
| void LocalBondState::rebuild | ( | ) |
Definition at line 189 of file LocalBondState.cpp.
References angle_count, angle_ids, angle_list, clear_new_bonds(), dihedral_count, dihedral_ids, dihedral_list, new_angle_ids, new_angle_list, new_dihedral_ids, new_dihedral_list, new_pair_ids, new_pair_list, pair_count, pair_ids, and pair_list.
| void LocalBondState::reset | ( | ) |
Reset counts + collision vectors.
Definition at line 81 of file LocalBondState.cpp.
References clear_new_bonds(), and reset_counts().
|
inline |
Definition at line 62 of file LocalBondState.hpp.
References angle_count, dihedral_count, and pair_count.
|
inline |
Definition at line 68 of file LocalBondState.hpp.
References angle_count, dihedral_count, and pair_count.
| int LocalBondState::angle_count = 0 |
Definition at line 45 of file LocalBondState.hpp.
Referenced by add_new_bond(), allocate(), rebuild(), reset_counts(), and set_counts().
| AngleBondIDType LocalBondState::angle_ids |
Definition at line 52 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().
| AngleBondlistType LocalBondState::angle_list |
Definition at line 51 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().
| int LocalBondState::dihedral_count = 0 |
Definition at line 46 of file LocalBondState.hpp.
Referenced by add_new_bond(), allocate(), rebuild(), reset_counts(), and set_counts().
| DihedralBondIDType LocalBondState::dihedral_ids |
Definition at line 54 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().
| DihedralBondlistType LocalBondState::dihedral_list |
Definition at line 53 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().
| std::vector<int> LocalBondState::new_angle_ids |
Definition at line 58 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| std::vector<int> LocalBondState::new_angle_list |
Definition at line 58 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| std::vector<int> LocalBondState::new_dihedral_ids |
Definition at line 59 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| std::vector<int> LocalBondState::new_dihedral_list |
Definition at line 59 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| std::vector<int> LocalBondState::new_pair_ids |
Definition at line 57 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| std::vector<int> LocalBondState::new_pair_list |
Definition at line 57 of file LocalBondState.hpp.
Referenced by add_new_bond(), clear_new_bonds(), and rebuild().
| int LocalBondState::pair_count = 0 |
Definition at line 44 of file LocalBondState.hpp.
Referenced by add_new_bond(), allocate(), rebuild(), reset_counts(), and set_counts().
| PairBondIDType LocalBondState::pair_ids |
Definition at line 50 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().
| PairBondlistType LocalBondState::pair_list |
Definition at line 49 of file LocalBondState.hpp.
Referenced by allocate(), clear(), and rebuild().