![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <thermostat.hpp>
Inheritance diagram for ScriptInterface::Thermostat::Interface< CoreClass >:
Collaboration diagram for ScriptInterface::Thermostat::Interface< CoreClass >:Public Types | |
| using | CoreThermostat = CoreClass |
Protected Attributes | |
| bool | is_active = false |
| std::shared_ptr< CoreThermostat > | m_handle |
| std::weak_ptr< bool > | m_edit_lock |
| Basic lock mechanism that follows RAII. | |
Protected Attributes inherited from ScriptInterface::System::Leaf | |
| std::weak_ptr<::System::System > | m_system |
Private Member Functions | |
| virtual std::shared_ptr< CoreThermostat > & | get_member_handle (::Thermostat::Thermostat &thermostat)=0 |
| virtual std::span< std::string_view const > | get_required_parameters () const =0 |
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. | |
Definition at line 45 of file script_interface/thermostat/thermostat.hpp.
| using ScriptInterface::Thermostat::Interface< CoreClass >::CoreThermostat = CoreClass |
Definition at line 49 of file script_interface/thermostat/thermostat.hpp.
|
inline |
Definition at line 205 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::AutoParameters< Interface< CoreClass >, System::Leaf >::add_parameters(), ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), ScriptInterface::ObjectHandle::context(), ScriptInterface::Thermostat::Interface< CoreClass >::get_rng_counter(), ScriptInterface::Thermostat::Interface< CoreClass >::get_rng_seed(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::Context::parallel_try_catch(), ScriptInterface::AutoParameter::read_only, ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_counter(), ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_seed(), and stream.
|
inlineprotected |
Definition at line 65 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_edit_lock.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface(), ScriptInterface::Thermostat::Interface< CoreClass >::make_autogamma(), and ScriptInterface::Thermostat::Interface< CoreClass >::make_autoparameter().
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 194 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::name(), and ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_counter().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 281 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::Thermostat::Interface< CoreClass >::release_lock(), and stream.
|
inlineprotectedvirtual |
Reimplemented in ScriptInterface::Thermostat::Langevin, and ScriptInterface::Thermostat::Brownian.
Definition at line 182 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::AutoParameters< Interface< CoreClass >, System::Leaf >::get_parameter(), ScriptInterface::Thermostat::Interface< CoreClass >::is_seed_required(), and stream.
Referenced by ScriptInterface::Thermostat::Langevin::extend_parameters(), ScriptInterface::Thermostat::Brownian::extend_parameters(), and ScriptInterface::Thermostat::Interface< CoreClass >::update_and_bind().
|
inlinevirtual |
Reimplemented in ScriptInterface::Thermostat::LBThermostat.
Definition at line 232 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive(), and stream.
|
privatepure virtual |
Implemented in ScriptInterface::Thermostat::Langevin, ScriptInterface::Thermostat::Brownian, ScriptInterface::Thermostat::IsotropicNpt, ScriptInterface::Thermostat::LBThermostat, ScriptInterface::Thermostat::DPDThermostat, ScriptInterface::Thermostat::Stokesian, and ScriptInterface::Thermostat::ThermalizedBond.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::AutoParameters< Interface< CoreClass >, System::Leaf >::do_set_parameter(), ScriptInterface::AutoParameters< Interface< CoreClass >, System::Leaf >::get_parameter_insertion_order(), ScriptInterface::Thermostat::Interface< CoreClass >::invalid_rng_state(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::Context::parallel_try_catch(), and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::on_bind_system(), and ScriptInterface::Thermostat::Interface< CoreClass >::on_detach_system().
|
privatepure virtual |
Implemented in ScriptInterface::Thermostat::Langevin, ScriptInterface::Thermostat::Brownian, ScriptInterface::Thermostat::IsotropicNpt, ScriptInterface::Thermostat::LBThermostat, ScriptInterface::Thermostat::DPDThermostat, ScriptInterface::Thermostat::Stokesian, and ScriptInterface::Thermostat::ThermalizedBond.
References ScriptInterface::Thermostat::Interface< CoreClass >::get_required_parameters(), ScriptInterface::ObjectHandle::name(), and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::get_required_parameters().
|
inline |
Definition at line 257 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 251 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
pure virtual |
Implemented in ScriptInterface::Thermostat::Langevin, ScriptInterface::Thermostat::Brownian, ScriptInterface::Thermostat::IsotropicNpt, ScriptInterface::Thermostat::LBThermostat, ScriptInterface::Thermostat::DPDThermostat, ScriptInterface::Thermostat::Stokesian, and ScriptInterface::Thermostat::ThermalizedBond.
|
inlineprotectedvirtual |
Reimplemented in ScriptInterface::Thermostat::LBThermostat.
Definition at line 96 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface< CoreClass >::is_seed_required(), and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle().
|
inline |
Definition at line 247 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::is_active.
|
inlinevirtual |
Definition at line 249 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::extend_parameters(), and ScriptInterface::Thermostat::Interface< CoreClass >::invalid_rng_state().
|
inlineprotected |
Definition at line 152 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), ScriptInterface::ObjectHandle::context(), Thermostat::gamma_null, ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive(), and stream.
|
inlineprotected |
Definition at line 138 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), ScriptInterface::ObjectHandle::context(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive(), and stream.
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 71 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 77 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, and stream.
|
inline |
Definition at line 241 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_edit_lock, and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::do_construct().
|
inlineprotected |
Definition at line 83 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::name().
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::extract_kT(), ScriptInterface::Thermostat::Interface< CoreClass >::make_autogamma(), and ScriptInterface::Thermostat::Interface< CoreClass >::make_autoparameter().
|
inlineprotected |
Definition at line 89 of file script_interface/thermostat/thermostat.hpp.
References Utils::Vector< T, N >::broadcast(), ScriptInterface::ObjectHandle::name(), and stream.
|
inline |
Definition at line 273 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::do_call_method(), and ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 263 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 289 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::System::Leaf::bind_system(), ScriptInterface::Thermostat::Interface< CoreClass >::extend_parameters(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and stream.
|
protected |
Definition at line 60 of file script_interface/thermostat/thermostat.hpp.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::Thermostat::Interface< CoreClass >::Interface(), ScriptInterface::Thermostat::Interface< CoreClass >::is_activated(), ScriptInterface::Thermostat::Interface< CoreClass >::on_bind_system(), ScriptInterface::Thermostat::Interface< CoreClass >::on_detach_system(), and ScriptInterface::Thermostat::Interface< CoreClass >::update_and_bind().
|
protected |
Basic lock mechanism that follows RAII.
Definition at line 63 of file script_interface/thermostat/thermostat.hpp.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), and ScriptInterface::Thermostat::Interface< CoreClass >::release_lock().
|
protected |
Definition at line 61 of file script_interface/thermostat/thermostat.hpp.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::do_construct(), ScriptInterface::Thermostat::Interface< CoreClass >::get_rng_counter(), ScriptInterface::Thermostat::Interface< CoreClass >::get_rng_seed(), ScriptInterface::Thermostat::Interface< CoreClass >::Interface(), ScriptInterface::Thermostat::Interface< CoreClass >::is_seed_required(), ScriptInterface::Thermostat::Interface< CoreClass >::make_autogamma(), ScriptInterface::Thermostat::Interface< CoreClass >::make_autoparameter(), ScriptInterface::Thermostat::Interface< CoreClass >::on_bind_system(), ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_counter(), ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_seed(), and ScriptInterface::Thermostat::Interface< CoreClass >::update_and_bind().