![]() |
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 |
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 85 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::const_iterator = container_type::const_iterator |
Definition at line 94 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::iterator = container_type::iterator |
Definition at line 93 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::key_type = container_type::key_type |
Definition at line 90 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::mapped_type = container_type::mapped_type |
Definition at line 91 of file bonded_interaction_data.hpp.
| using BondedInteractionsMap::value_type = container_type::value_type |
Definition at line 92 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 130 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 99 of file bonded_interaction_data.hpp.
Referenced by maximal_cutoff().
|
inline |
Definition at line 101 of file bonded_interaction_data.hpp.
Definition at line 131 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 132 of file bonded_interaction_data.hpp.
|
inline |
Definition at line 100 of file bonded_interaction_data.hpp.
Referenced by maximal_cutoff().
|
inline |
Definition at line 102 of file bonded_interaction_data.hpp.
Definition at line 120 of file bonded_interaction_data.hpp.
References deactivate_bond(), on_ia_change(), and stream.
|
inline |
Definition at line 148 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 143 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 138 of file bonded_interaction_data.hpp.
References stream.
|
inline |
Definition at line 134 of file bonded_interaction_data.hpp.
Referenced by Mpiio::dump_info().
Definition at line 135 of file bonded_interaction_data.hpp.
References at(), and contains().
|
inline |
Definition at line 104 of file bonded_interaction_data.hpp.
References activate_bond(), deactivate_bond(), on_ia_change(), and stream.
|
inline |
Definition at line 113 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 200 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 181 of file bonded_interaction_data.hpp.
References Particle::bonds(), and stream.
|
inline |
Definition at line 133 of file bonded_interaction_data.hpp.
Referenced by Mpiio::dump_info().