ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Script interface wrapper for the system class. More...
#include <System.hpp>
Classes | |
struct | Leaves |
Container for leaves of the system class. More... | |
Private Member Functions | |
std::string | get_internal_state () const override |
Serialize particles. | |
void | set_internal_state (std::string const &state) 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< System > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Script interface wrapper for the system class.
See System class design for more details.
Definition at line 38 of file script_interface/system/System.hpp.
ScriptInterface::System::System::System | ( | ) |
Definition at line 129 of file script_interface/system/System.cpp.
References ScriptInterface::AutoParameters< System >::add_parameters(), and ScriptInterface::get_value().
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 380 of file script_interface/system/System.cpp.
References Utils::Vector< T, N >::broadcast(), coord(), System::get_system(), ScriptInterface::get_value(), init_type_map(), ScriptInterface::make_unordered_map_of_variants(), propagation_flags_map(), ScriptInterface::System::rescale_particles(), System::reset_system(), ScriptInterface::System::rotate_system(), and ScriptInterface::System::system_created.
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 223 of file script_interface/system/System.cpp.
References System::System::create(), ScriptInterface::get_value(), NSQUARE, params, REGULAR, System::set_system(), and ScriptInterface::System::system_created.
|
overrideprivatevirtual |
Serialize particles.
Particles need to be serialized here to reduce overhead, and also to guarantee particles get instantiated after the cell structure was instantiated (since they store a weak pointer to it).
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 483 of file script_interface/system/System.cpp.
References get_particle_ids(), ScriptInterface::get_value(), ScriptInterface::pack(), Utils::pack(), and ScriptInterface::ObjectHandle::serialize().
Definition at line 50 of file script_interface/system/System.hpp.
|
overrideprivatevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 509 of file script_interface/system/System.cpp.
References get_particle_ids(), params, ScriptInterface::System::set_bonds(), ScriptInterface::System::set_exclusions(), and ScriptInterface::unpack().