![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Namespaces | |
| namespace | traits |
Classes | |
| class | ParticleHandle |
| class | ParticleModifier |
| Thin wrapper to read and write particle attributes in batches. More... | |
| class | ParticleList |
| class | ParticleSlice |
| class | Polymer |
Functions | |
| void | initialize (Utils::Factory< ObjectHandle > *om) |
| static void | sanity_checks_rotation (VariantMap const ¶ms) |
| static uint8_t | bitfield_from_flag (Utils::Vector3i const &flag) |
| static auto | quat2vector (Utils::Quaternion< double > const &q) |
| static auto | get_quaternion_safe (std::string const &name, Variant const &value) |
| static auto | get_gamma_safe (Variant const &value) |
| auto | error_msg (std::string const &name, std::string const &reason) |
| auto | get_real_particle (boost::mpi::communicator const &comm, int p_id, ::CellStructure &cell_structure) |
| void | particle_checks (int p_id, Utils::Vector3d const &pos) |
| void | local_add_exclusion (int pid1, int pid2, ::CellStructure &cell_structure) |
| Locally add an exclusion to a particle. | |
| void | local_remove_exclusion (int pid1, int pid2, ::CellStructure &cell_structure) |
| Locally remove an exclusion to a particle. | |
| void | particle_exclusion_sanity_checks (int pid1, int pid2, ::CellStructure &cell_structure, auto const &comm) |
| static void | auto_exclusions (boost::mpi::communicator const &comm, int const n_bonds_max) |
Use the bond topology to automatically add exclusions between particles that are up to n_bonds_max bonds apart in a chain. | |
| static void | set_particles_bonds (std::vector< int > const &pids, std::vector< std::vector< int > > const &all_bonds_ids, std::vector< std::vector< std::vector< int > > > const &all_bonds_partner_ids, ::CellStructure &cell_structure, ::System::System &system) |
| static void | set_particles_exclusions (std::vector< int > const &pids, std::vector< std::vector< int > > const &exclusion_lists, boost::mpi::communicator const &comm, ::CellStructure &cell_structure, ::System::System &system) |
| static void | set_particles_positions (std::vector< int > const &pids, std::vector< Utils::Vector3d > const &positions) |
| static void | set_particles_types (std::vector< int > const &pids, std::vector< int > const &types, CellStructure &cell_structure, ::System::System &system) |
| static void | set_particles_charges (std::vector< int > const &pids, std::vector< double > const &charges, CellStructure &cell_structure, ::System::System &system) |
| template<class Container> | |
| void | set_from_vector_like (std::vector< int > const &pids, std::string const ¶m_name, Container const &values, Context *context, std::shared_ptr< CellSystem::CellSystem > cell_structure, std::shared_ptr< Interactions::BondedInteractions > bonded_ias) |
| template<typename T> | |
| auto | get_particles_properties (std::vector< int > const &pids, std::function< T(Particle const &)> const &getter, Context *context, CellStructure const &cell_structure) |
Variables | |
| static std::array< std::array< std::string_view, 3 >, 4 > constexpr | contradicting_arguments_quat |
|
static |
Use the bond topology to automatically add exclusions between particles that are up to n_bonds_max bonds apart in a chain.
Definition at line 58 of file ParticleList.cpp.
References add_exclusion(), Utils::Mpi::gather_buffer(), and System::get_system().
Referenced by ScriptInterface::Particles::ParticleList::do_call_method().
|
static |
Definition at line 103 of file ParticleHandle.cpp.
Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle().
|
inline |
Definition at line 47 of file ParticleHandle.hpp.
Referenced by ScriptInterface::Particles::ParticleHandle::do_construct(), get_quaternion_safe(), ScriptInterface::Particles::ParticleHandle::ParticleHandle(), and set_particles_types().
|
static |
Definition at line 130 of file ParticleHandle.cpp.
References Utils::Vector< double, N >::broadcast(), and ScriptInterface::get_value().
Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle().
|
inline |
Definition at line 81 of file ParticleSlice.hpp.
References Utils::Mpi::gather_buffer(), ScriptInterface::Context::get_comm(), CellStructure::get_local_particle(), get_particles_properties(), and ScriptInterface::Context::is_head_node().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method(), and get_particles_properties().
|
static |
Definition at line 120 of file ParticleHandle.cpp.
References error_msg(), and ScriptInterface::get_value().
Referenced by ScriptInterface::Particles::ParticleHandle::ParticleHandle().
|
inline |
Definition at line 53 of file ParticleHandle.hpp.
References CellStructure::get_local_particle().
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and particle_exclusion_sanity_checks().
| void ScriptInterface::Particles::initialize | ( | Utils::Factory< ObjectHandle > * | om | ) |
Definition at line 30 of file particle_data/initialize.cpp.
References Utils::Factory< Base >::register_new().
Referenced by ScriptInterface::initialize().
|
inline |
Locally add an exclusion to a particle.
| pid1 | the identity of the first exclusion partner |
| pid2 | the identity of the second exclusion partner |
| cell_structure | the cell structure |
Definition at line 90 of file ParticleHandle.hpp.
References add_exclusion(), and CellStructure::get_local_particle().
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and set_particles_exclusions().
|
inline |
Locally remove an exclusion to a particle.
| pid1 | the identity of the first exclusion partner |
| pid2 | the identity of the second exclusion partner |
| cell_structure | the cell structure |
Definition at line 106 of file ParticleHandle.hpp.
References delete_exclusion(), and CellStructure::get_local_particle().
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and set_particles_exclusions().
|
inline |
Definition at line 71 of file ParticleHandle.hpp.
Referenced by ScriptInterface::Particles::ParticleHandle::do_construct(), ScriptInterface::Particles::ParticleHandle::ParticleHandle(), and set_particles_positions().
|
inline |
Definition at line 116 of file ParticleHandle.hpp.
References get_real_particle().
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and set_particles_exclusions().
|
static |
Definition at line 116 of file ParticleHandle.cpp.
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and ScriptInterface::Particles::ParticleHandle::ParticleHandle().
|
static |
Definition at line 85 of file ParticleHandle.cpp.
References contradicting_arguments_quat.
Referenced by ScriptInterface::Particles::ParticleHandle::do_call_method(), and ScriptInterface::Particles::ParticleHandle::do_construct().
| void ScriptInterface::Particles::set_from_vector_like | ( | std::vector< int > const & | pids, |
| std::string const & | param_name, | ||
| Container const & | values, | ||
| Context * | context, | ||
| std::shared_ptr< CellSystem::CellSystem > | cell_structure, | ||
| std::shared_ptr< Interactions::BondedInteractions > | bonded_ias ) |
Definition at line 58 of file ParticleSlice.hpp.
References ScriptInterface::Context::make_shared().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
static |
Definition at line 49 of file ParticleSlice.cpp.
References add_bond(), CellStructure::get_local_particle(), and System::System::on_particle_change().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
static |
Definition at line 134 of file ParticleSlice.cpp.
References CellStructure::get_local_particle(), and System::System::on_particle_charge_change().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
static |
Definition at line 75 of file ParticleSlice.cpp.
References CellStructure::get_local_particle(), local_add_exclusion(), local_remove_exclusion(), System::System::on_particle_change(), and particle_exclusion_sanity_checks().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
static |
Definition at line 105 of file ParticleSlice.cpp.
References particle_checks(), and set_particle_pos().
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
static |
Definition at line 115 of file ParticleSlice.cpp.
References error_msg(), CellStructure::get_local_particle(), InteractionsNonBonded::make_particle_type_exist(), and System::System::nonbonded_ias.
Referenced by ScriptInterface::Particles::ParticleSlice::do_call_method().
|
staticconstexpr |
Definition at line 73 of file ParticleHandle.cpp.
Referenced by sanity_checks_rotation().