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 |
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 43 of file script_interface/thermostat/thermostat.hpp.
using ScriptInterface::Thermostat::Interface< CoreClass >::CoreThermostat = CoreClass |
Definition at line 47 of file script_interface/thermostat/thermostat.hpp.
|
inline |
Definition at line 191 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 63 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 180 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 267 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 168 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 218 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().
|
inline |
Definition at line 243 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 237 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 94 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 233 of file script_interface/thermostat/thermostat.hpp.
References ScriptInterface::Thermostat::Interface< CoreClass >::is_active.
|
inlinevirtual |
Definition at line 235 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 138 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 124 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 69 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 75 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 227 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 81 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 87 of file script_interface/thermostat/thermostat.hpp.
References Utils::Vector< T, N >::broadcast(), ScriptInterface::get_value(), and ScriptInterface::ObjectHandle::name().
|
inline |
Definition at line 259 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 249 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 275 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 58 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 61 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 59 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().