![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
container for bonded interactions. More...
#include <bonded_interaction_data.hpp>
Inheritance diagram for BondedInteractionsMap:
Collaboration diagram for BondedInteractionsMap:Public Types | |
| using | key_type = container_type::key_type |
| using | mapped_type = container_type::mapped_type |
| using | value_type = container_type::value_type |
| using | iterator = container_type::iterator |
| using | const_iterator = container_type::const_iterator |
Public Attributes | |
| std::vector< Utils::Vector9d > | rigid_bond_virial |
| Per-bond-type RATTLE constraint virial. | |
Additional Inherited Members | |
Protected Member Functions inherited from System::Leaf< BondedInteractionsMap > | |
| auto & | get_system () |
| auto & | get_system () const |
Protected Attributes inherited from System::Leaf< BondedInteractionsMap > | |
| std::weak_ptr< System > | m_system |
container for bonded interactions.
Definition at line 89 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::const_iterator = container_type::const_iterator |
Definition at line 98 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::iterator = container_type::iterator |
Definition at line 97 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::key_type = container_type::key_type |
Definition at line 94 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::mapped_type = container_type::mapped_type |
Definition at line 95 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::value_type = container_type::value_type |
Definition at line 96 of file bonded_interaction_data.hpp.
|
default |
|
virtualdefault |
|
virtual |
Definition at line 71 of file bonded_interaction_data.cpp.
References System::Leaf< BondedInteractionsMap >::get_system(), and stream.
|
inline |
Definition at line 134 of file bonded_interaction_data.hpp.
References stream.
Referenced by add_oif_global_forces(), calc_oif_mesh(), compute_correction_vector(), Mpiio::dump_info(), get_zero_based_type(), and vol_cons_parameters().
|
inline |
Definition at line 103 of file bonded_interaction_data.hpp.
Referenced by maximal_cutoff().
|
inline |
Definition at line 105 of file bonded_interaction_data.hpp.
Definition at line 135 of file bonded_interaction_data.hpp.
References stream.
Referenced by Mpiio::dump_info(), and get_zero_based_type().
|
virtual |
Definition at line 87 of file bonded_interaction_data.cpp.
References stream.
|
inline |
Definition at line 136 of file bonded_interaction_data.hpp.
Referenced by create_kokkos_bonds_kernel_data().
|
inline |
Definition at line 104 of file bonded_interaction_data.hpp.
Referenced by maximal_cutoff().
|
inline |
Definition at line 106 of file bonded_interaction_data.hpp.
Definition at line 124 of file bonded_interaction_data.hpp.
References deactivate_bond(), on_ia_change(), and stream.
|
inline |
Definition at line 166 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 150 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 144 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 139 of file bonded_interaction_data.hpp.
Referenced by correct_position_shake(), and Mpiio::dump_info().
Definition at line 140 of file bonded_interaction_data.hpp.
References at(), and contains().
|
inline |
Definition at line 108 of file bonded_interaction_data.hpp.
References activate_bond(), deactivate_bond(), on_ia_change(), and stream.
|
inline |
Definition at line 117 of file bonded_interaction_data.hpp.
References activate_bond(), on_ia_change(), and stream.
| double BondedInteractionsMap::maximal_cutoff | ( | ) | const |
Calculate the maximal cutoff of bonded interactions, required to determine the cell size for communication.
Bond angle and dihedral potentials do not contain a cutoff intrinsically. The cutoff for these potentials depends on the bond length potentials (it is assumed that particles participating in a bond angle or dihedral potential are bound to each other by some bond length potential). For bond angle potentials nothing has to be done. For dihedral potentials the cutoff is set to twice the maximal cutoff because the particle in which the bond is stored is only bonded to the first two partners, one of which has an additional bond to the third partner.
Definition at line 32 of file bonded_interaction_data.cpp.
References begin(), bonded_inactive_cutoff, end(), and stream.
Referenced by create_cabana_neighbor_kernel().
| void BondedInteractionsMap::on_ia_change | ( | ) |
Definition at line 50 of file bonded_interaction_data.cpp.
References System::Leaf< BondedInteractionsMap >::m_system, and stream.
|
inline |
Checks both particles for a specific bond, even on ghost particles.
| p1 | particle on which the bond may be stored |
| p2 | particle on which the bond may be stored |
| BondType | Bond type to check for. |
Definition at line 218 of file bonded_interaction_data.hpp.
References stream.
Referenced by thole_pair_energy(), and thole_pair_force().
|
inline |
Checks both particles for a specific bond, even on ghost particles.
| p | particle to check for the bond |
| p_partner | possible bond partner |
| BondType | Bond type to check for. Must be of one of the types in Bonded_IA_Parameters. |
Definition at line 199 of file bonded_interaction_data.hpp.
References Particle::bonds(), and stream.
|
inline |
Definition at line 137 of file bonded_interaction_data.hpp.
Referenced by Mpiio::dump_info().
| std::vector<Utils::Vector9d> BondedInteractionsMap::rigid_bond_virial |
Per-bond-type RATTLE constraint virial.
Accumulated bond-by-bond inside correct_position_shake() (indexed by bond id, same convention as Observable_stat::bonded_contribution()), where the pairwise correction/mass/bond-vector are all unambiguous, regardless of how many rigid bonds a particle participates in. Reset at the start of every SHAKE call; consumed by System::System::calculate_pressure().
Definition at line 164 of file bonded_interaction_data.hpp.
Referenced by correct_position_shake().