ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <thermostat.hpp>
Public Member Functions | |
LBThermostat () | |
::ThermostatFlags | get_thermo_flag () const final |
std::optional< double > | extract_kT (VariantMap const ¶ms) const override |
Public Member Functions inherited from ScriptInterface::Thermostat::Interface<::LBThermostat > | |
Interface () | |
auto | release_lock () |
auto | is_activated () const |
virtual bool | is_seed_required () const |
auto | get_rng_seed () const |
auto | get_rng_counter () const |
void | set_rng_seed (Variant const &value) |
void | set_rng_counter (Variant const &value) |
void | do_construct (VariantMap const ¶ms) override |
void | update_and_bind (VariantMap const ¶ms, bool was_active, std::shared_ptr<::System::System > system) |
Public Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
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::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 |
Protected Member Functions | |
bool | invalid_rng_state (VariantMap const ¶ms) const override |
std::span< std::string_view const > | get_required_parameters () const override |
Protected Member Functions inherited from ScriptInterface::Thermostat::Interface<::LBThermostat > | |
void | check_lock () |
void | on_bind_system (::System::System &system) override |
void | on_detach_system (::System::System &system) override |
void | sanity_checks_positive (double value, std::string const &name) const |
void | sanity_checks_positive (Utils::Vector3d const &value, std::string const &name) const |
auto | make_autoparameter (T CoreThermostat::*member, char const *name) |
auto | make_autogamma (T CoreThermostat::*member, char const *name) |
virtual VariantMap | extend_parameters (VariantMap const ¶meters) const |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
Protected Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Private Member Functions | |
std::shared_ptr< CoreThermostat > & | get_member_handle (::Thermostat::Thermostat &thermostat) override |
Additional Inherited Members | |
Public Types inherited from ScriptInterface::Thermostat::Interface<::LBThermostat > | |
using | CoreThermostat = ::LBThermostat |
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::Thermostat::Interface<::LBThermostat > | |
bool | is_active |
std::shared_ptr< CoreThermostat > | m_handle |
std::weak_ptr< bool > | m_edit_lock |
Basic lock mechanism that follows RAII. | |
Definition at line 411 of file script_interface/thermostat/thermostat.hpp.
|
inline |
Definition at line 418 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::AutoParameters< Derived, Base >::add_parameters(), ScriptInterface::Thermostat::Interface<::LBThermostat >::check_lock(), ScriptInterface::ObjectHandle::context(), ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface<::LBThermostat >::m_handle, ScriptInterface::Context::parallel_try_catch(), and ScriptInterface::Thermostat::Interface<::LBThermostat >::sanity_checks_positive().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::Thermostat::Interface<::LBThermostat >.
Definition at line 440 of file script_interface/thermostat/thermostat.hpp.
References params, and ScriptInterface::Thermostat::Interface<::LBThermostat >::sanity_checks_positive().
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::Thermostat::Interface<::LBThermostat >.
Definition at line 413 of file script_interface/thermostat/thermostat.hpp.
References Thermostat::Thermostat::lb.
|
inlineoverrideprotectedvirtual |
Implements ScriptInterface::Thermostat::Interface<::LBThermostat >.
Definition at line 455 of file script_interface/thermostat/thermostat.hpp.
|
inlinefinalvirtual |
Implements ScriptInterface::Thermostat::Interface<::LBThermostat >.
Definition at line 438 of file script_interface/thermostat/thermostat.hpp.
References THERMO_LB.
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::Thermostat::Interface<::LBThermostat >.
Definition at line 449 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface<::LBThermostat >::is_seed_required(), and params.