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::span< const boost::string_ref > | 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 | |
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 |
boost::string_ref | name () const |
Context * | context () const |
Responsible context. | |
void | construct (VariantMap const ¶ms) |
Construct the handled object. | |
VariantMap | get_parameters () const |
Get current parameters. | |
auto | get_valid_parameters () const |
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 (std::vector< AutoParameter > &¶ms) | |
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 78 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(), HYBRID, Communicator::node_grid, ScriptInterface::none, ScriptInterface::Context::parallel_try_catch(), Utils::product(), ScriptInterface::AutoParameter::read_only, REGULAR, and Communicator::set_node_grid().
void ScriptInterface::CellSystem::CellSystem::configure | ( | Particles::ParticleHandle & | particle | ) |
Definition at line 322 of file CellSystem.cpp.
References ScriptInterface::Particles::ParticleHandle::attach().
void ScriptInterface::CellSystem::CellSystem::configure | ( | Particles::ParticleSlice & | slice | ) |
Definition at line 326 of file CellSystem.cpp.
References ScriptInterface::Particles::ParticleSlice::attach().
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 168 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(), ScriptInterface::System::Leaf::get_system(), HYBRID, ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), params, and REGULAR.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 78 of file CellSystem.hpp.
References params.
|
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::System::cell_structure, ScriptInterface::AutoParameters< CellSystem, System::Leaf >::do_set_parameter(), ScriptInterface::System::Leaf::m_system, and params.