ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <thermostat.hpp>
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 44 of file script_interface/thermostat/thermostat.hpp.
using ScriptInterface::Thermostat::Interface< CoreClass >::CoreThermostat = CoreClass |
Definition at line 48 of file script_interface/thermostat/thermostat.hpp.
|
inline |
Definition at line 204 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::get_value(), 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(), and ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_seed().
|
inlineprotected |
Definition at line 64 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 193 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::ObjectHandle::name(), params, and ScriptInterface::Thermostat::Interface< CoreClass >::set_rng_counter().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 280 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, params, and ScriptInterface::Thermostat::Interface< CoreClass >::release_lock().
|
inlineprotectedvirtual |
Reimplemented in ScriptInterface::Thermostat::Langevin, and ScriptInterface::Thermostat::Brownian.
Definition at line 181 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::AutoParameters< Interface< CoreClass >, System::Leaf >::get_parameter(), ScriptInterface::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::is_seed_required(), and params.
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 231 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), params, and ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive().
|
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::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::invalid_rng_state(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::Context::parallel_try_catch(), and params.
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::get_value(), ScriptInterface::ObjectHandle::name(), and params.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::get_required_parameters().
|
inline |
Definition at line 256 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 250 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
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 95 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface< CoreClass >::is_seed_required(), and params.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle().
|
inline |
Definition at line 246 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::is_active.
|
inlinevirtual |
Definition at line 248 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 151 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), ScriptInterface::ObjectHandle::context(), Thermostat::gamma_null, ScriptInterface::get_value(), ScriptInterface::is_none(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), and ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive().
|
inlineprotected |
Definition at line 137 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::check_lock(), ScriptInterface::ObjectHandle::context(), ScriptInterface::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), and ScriptInterface::Thermostat::Interface< CoreClass >::sanity_checks_positive().
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 70 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, and ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
|
inlineoverrideprotectedvirtual |
Reimplemented from ScriptInterface::System::Leaf.
Definition at line 76 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::get_member_handle(), ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::is_active.
|
inline |
Definition at line 240 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::m_edit_lock.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::do_construct().
|
inlineprotected |
Definition at line 82 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 88 of file script_interface/thermostat/thermostat.hpp.
References Utils::Vector< T, N >::broadcast(), ScriptInterface::get_value(), and ScriptInterface::ObjectHandle::name().
|
inline |
Definition at line 272 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::do_call_method(), and ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 262 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::get_value(), and ScriptInterface::Thermostat::Interface< CoreClass >::m_handle.
Referenced by ScriptInterface::Thermostat::Interface< CoreClass >::Interface().
|
inline |
Definition at line 288 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::System::Leaf::bind_system(), ScriptInterface::Thermostat::Interface< CoreClass >::extend_parameters(), ScriptInterface::get_value(), ScriptInterface::Thermostat::Interface< CoreClass >::is_active, ScriptInterface::Thermostat::Interface< CoreClass >::m_handle, and params.
|
protected |
Definition at line 59 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 62 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 60 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().