![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <thermostat.hpp>
Public Member Functions | |
| Thermostat () | |
| Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
| void | do_construct (VariantMap const ¶ms) override |
| void | on_bind_system (::System::System &system) override |
| Public Member Functions inherited from ScriptInterface::AutoParameters< Thermostat, 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 |
Protected Member Functions | |
| template<typename T> | |
| auto | make_autoparameter (T Thermostat::*member, char const *name) |
| template<typename T> | |
| void | setup_thermostat (std::shared_ptr< T > &thermostat, VariantMap const ¶ms) |
| template<typename T> | |
| void | turn_thermostat_off (T &thermostat) |
| void | update_global_kT (double old_kT, double new_kT, int thermo_flag) |
| Protected Member Functions inherited from ScriptInterface::AutoParameters< Thermostat, 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 () |
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 Attributes inherited from ScriptInterface::System::Leaf | |
| std::weak_ptr<::System::System > | m_system |
Definition at line 509 of file script_interface/thermostat/thermostat.hpp.
|
inline |
Definition at line 635 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::AutoParameters< Thermostat, System::Leaf >::add_parameters(), make_autoparameter(), and ScriptInterface::AutoParameter::read_only.
Referenced by ScriptInterface::Thermostat::Brownian::get_member_handle(), ScriptInterface::Thermostat::DPDThermostat::get_member_handle(), ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::Thermostat::IsotropicNpt::get_member_handle(), ScriptInterface::Thermostat::Langevin::get_member_handle(), ScriptInterface::Thermostat::LBThermostat::get_member_handle(), ScriptInterface::Thermostat::Stokesian::get_member_handle(), and ScriptInterface::Thermostat::ThermalizedBond::get_member_handle().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 660 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::System::Leaf::get_system(), ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), setup_thermostat(), THERMO_OFF, and turn_thermostat_off().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 718 of file script_interface/thermostat/thermostat.hpp.
|
inlineprotected |
Definition at line 548 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::ObjectHandle::name().
Referenced by Thermostat().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 722 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::context(), and System::System::thermostat.
|
inlineprotected |
Definition at line 562 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::System::Leaf::m_system, ScriptInterface::Context::parallel_try_catch(), turn_thermostat_off(), and update_global_kT().
Referenced by do_call_method().
|
inlineprotected |
Definition at line 604 of file script_interface/thermostat/thermostat.hpp.
Referenced by do_call_method(), and setup_thermostat().
|
inlineprotected |
Definition at line 615 of file script_interface/thermostat/thermostat.hpp.
References Thermostat::are_kT_equal(), ScriptInterface::System::Leaf::get_system(), THERMO_BOND, and THERMO_OFF.
Referenced by setup_thermostat().