![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <CellSystem.hpp>
Public Member Functions | |
| CellSystem () | |
| void | do_construct (VariantMap const ¶ms) override |
| Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
| auto & | get_cell_structure () const |
| void | configure (Particles::ParticleHandle &) |
| void | configure (Particles::ParticleSlice &) |
| Public Member Functions inherited from ScriptInterface::AutoParameters< CellSystem, System::Leaf > | |
| std::vector< std::string_view > | valid_parameters () const final |
| Variant | get_parameter (const std::string &name) const final |
| void | do_set_parameter (const std::string &name, const Variant &value) final |
| std::vector< std::pair< std::string, Variant > > | serialize_parameters () const final |
| Public Member Functions inherited from ScriptInterface::System::Leaf | |
| ~Leaf () override=default | |
| void | bind_system (std::shared_ptr<::System::System > const &system) |
| void | detach_system () |
| Public Member Functions inherited from ScriptInterface::ObjectHandle | |
| ObjectHandle ()=default | |
| ObjectHandle (ObjectHandle const &)=delete | |
| ObjectHandle & | operator= (ObjectHandle const &)=delete |
| virtual | ~ObjectHandle ()=default |
| std::string_view | name () const |
| Context * | context () const |
| Responsible context. | |
| void | construct (VariantMap const ¶ms) |
| Construct the handled object. | |
| VariantMap | get_parameters () const |
| Get current parameters. | |
| void | set_parameter (const std::string &name, const Variant &value) |
| Set single parameter. | |
| Variant | call_method (const std::string &name, const VariantMap ¶ms) |
| Call a method on the object. | |
| std::string | serialize () const |
Private Member Functions | |
| void | on_bind_system (::System::System &system) override |
Additional Inherited Members | |
| Static Public Member Functions inherited from ScriptInterface::ObjectHandle | |
| static ObjectRef | deserialize (const std::string &state, Context &ctx) |
| Make object from serialized state. | |
| Protected Member Functions inherited from ScriptInterface::AutoParameters< CellSystem, System::Leaf > | |
| AutoParameters ()=default | |
| ~AutoParameters () override=default | |
| bool | has_parameter (std::string const &name) const override |
| void | add_parameters (std::vector< AutoParameter > &¶ms) |
| auto const & | get_parameter_insertion_order () const |
| Protected Member Functions inherited from ScriptInterface::System::Leaf | |
| auto const & | get_system () const |
| auto & | get_system () |
| Protected Attributes inherited from ScriptInterface::System::Leaf | |
| std::weak_ptr<::System::System > | m_system |
Definition at line 45 of file CellSystem.hpp.
| ScriptInterface::CellSystem::CellSystem::CellSystem | ( | ) |
Definition at line 80 of file CellSystem.cpp.
References ScriptInterface::AutoParameters< CellSystem, System::Leaf >::add_parameters(), communicator, ScriptInterface::ObjectHandle::context(), coord_letter(), get_cell_structure(), ScriptInterface::System::Leaf::get_system(), ScriptInterface::get_value(), HYBRID, ScriptInterface::none, ScriptInterface::Context::parallel_try_catch(), Utils::product(), ScriptInterface::AutoParameter::read_only, and REGULAR.
| void ScriptInterface::CellSystem::CellSystem::configure | ( | Particles::ParticleHandle & | particle | ) |
Definition at line 350 of file CellSystem.cpp.
References ScriptInterface::Particles::ParticleHandle::attach(), and ScriptInterface::System::Leaf::m_system.
| void ScriptInterface::CellSystem::CellSystem::configure | ( | Particles::ParticleSlice & | slice | ) |
Definition at line 354 of file CellSystem.cpp.
References ScriptInterface::Particles::ParticleSlice::attach(), and ScriptInterface::System::Leaf::m_system.
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 174 of file CellSystem.cpp.
References ScriptInterface::ObjectHandle::context(), Utils::Mpi::gather_buffer(), get_cell_structure(), ScriptInterface::Context::get_comm(), get_pairs(), get_pairs_of_types(), ScriptInterface::ObjectHandle::get_parameters(), get_short_range_neighbors(), ScriptInterface::System::Leaf::get_system(), ScriptInterface::get_value(), ScriptInterface::get_value_or(), HYBRID, ScriptInterface::ObjectHandle::name(), non_bonded_loop_trace(), ScriptInterface::Context::parallel_try_catch(), and REGULAR.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 78 of file CellSystem.hpp.
|
inline |
Definition at line 85 of file CellSystem.hpp.
Referenced by CellSystem(), and do_call_method().
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 61 of file CellSystem.hpp.
References System::Leaf< Class >::bind_system(), System::System::cell_structure, ScriptInterface::AutoParameters< CellSystem, System::Leaf >::do_set_parameter(), ScriptInterface::get_value(), and ScriptInterface::System::Leaf::m_system.