![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <nonbonded_interaction_data.hpp>
Inheritance diagram for InteractionsNonBonded:
Collaboration diagram for InteractionsNonBonded:Public Member Functions | |
| InteractionsNonBonded () | |
| void | make_particle_type_exist (int type) |
| Make sure the interaction parameter list is large enough to cover interactions for this particle type. | |
| auto | get_ia_param_key (int i, int j) const |
| auto & | get_ia_param (int i, int j) |
| Get interaction parameters between particle types i and j. | |
| auto const & | get_ia_param (int i, int j) const |
| auto | get_ia_param_ref_counted (int i, int j) const |
| void | set_ia_param (int i, int j, std::shared_ptr< IA_parameters > const &ia) |
| auto | get_max_seen_particle_type () const |
| void | recalc_maximal_cutoffs () |
| Recalculate cutoff of each interaction struct. | |
| double | maximal_cutoff () const |
| Get maximal cutoff. | |
| void | on_non_bonded_ia_change () const |
| Notify system that non-bonded interactions changed. | |
| void | dpd_init (double kT, double time_step) |
Public Member Functions inherited from System::Leaf< InteractionsNonBonded > | |
| void | bind_system (std::shared_ptr< System > const &system) |
| void | detach_system (std::shared_ptr< System > const &system) |
Additional Inherited Members | |
Protected Member Functions inherited from System::Leaf< InteractionsNonBonded > | |
| auto & | get_system () |
| auto & | get_system () const |
Protected Attributes inherited from System::Leaf< InteractionsNonBonded > | |
| std::weak_ptr< System > | m_system |
Definition at line 391 of file nonbonded_interaction_data.hpp.
|
inline |
Definition at line 412 of file nonbonded_interaction_data.hpp.
References make_particle_type_exist().
| void InteractionsNonBonded::dpd_init | ( | double | kT, |
| double | time_step | ||
| ) |
Definition at line 61 of file dpd.cpp.
References get_ia_param(), and get_max_seen_particle_type().
|
inline |
Get interaction parameters between particle types i and j.
This is symmetric, e.g. it holds that get_ia_param(i, j) and get_ia_param(j, i) point to the same data.
| i | First type, must exist |
| j | Second type, must exist |
Definition at line 451 of file nonbonded_interaction_data.hpp.
References get_ia_param_key().
Referenced by dpd_init(), EnergyKernel::operator()(), ForcesKernel::operator()(), and PressureKernel::operator()().
|
inline |
Definition at line 455 of file nonbonded_interaction_data.hpp.
References get_ia_param_key().
|
inline |
Definition at line 431 of file nonbonded_interaction_data.hpp.
References Utils::lower_triangular().
Referenced by get_ia_param(), get_ia_param(), get_ia_param_ref_counted(), and set_ia_param().
|
inline |
Definition at line 459 of file nonbonded_interaction_data.hpp.
References get_ia_param_key().
|
inline |
Definition at line 467 of file nonbonded_interaction_data.hpp.
Referenced by dpd_init().
|
inline |
Make sure the interaction parameter list is large enough to cover interactions for this particle type.
New interactions are initialized with values such that no physical interaction occurs.
Definition at line 423 of file nonbonded_interaction_data.hpp.
Referenced by InteractionsNonBonded().
| double InteractionsNonBonded::maximal_cutoff | ( | ) | const |
Get maximal cutoff.
Definition at line 153 of file nonbonded_interaction_data.cpp.
References inactive_cutoff.
| void InteractionsNonBonded::on_non_bonded_ia_change | ( | ) | const |
Notify system that non-bonded interactions changed.
Definition at line 161 of file nonbonded_interaction_data.cpp.
References System::Leaf< InteractionsNonBonded >::get_system().
| void InteractionsNonBonded::recalc_maximal_cutoffs | ( | ) |
Recalculate cutoff of each interaction struct.
Definition at line 144 of file nonbonded_interaction_data.cpp.
References System::Leaf< InteractionsNonBonded >::get_system(), and recalc_maximal_cutoff().
|
inline |
Definition at line 463 of file nonbonded_interaction_data.hpp.
References get_ia_param_key().