ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <ExternalPotential.hpp>
Public Member Functions | |
ExternalPotential () | |
void | do_construct (VariantMap const &args) override |
Variant | do_call_method (const std::string &name, VariantMap const &args) override |
std::shared_ptr<::Constraints::Constraint > | constraint () override |
std::shared_ptr< const ::Constraints::Constraint > | constraint () const override |
Public Member Functions inherited from ScriptInterface::Constraints::Constraint | |
virtual void | bind_system (std::shared_ptr<::System::System const > const &) |
Public Member Functions inherited from ScriptInterface::AutoParameters< Constraint > | |
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 |
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 Member Functions inherited from ScriptInterface::AutoParameters< Constraint > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Definition at line 41 of file script_interface/constraints/ExternalPotential.hpp.
|
inline |
Definition at line 45 of file script_interface/constraints/ExternalPotential.hpp.
References ScriptInterface::AutoParameters< Constraint >::add_parameters().
|
inlineoverridevirtual |
Implements ScriptInterface::Constraints::Constraint.
Definition at line 75 of file script_interface/constraints/ExternalPotential.hpp.
|
inlineoverridevirtual |
Implements ScriptInterface::Constraints::Constraint.
Definition at line 71 of file script_interface/constraints/ExternalPotential.hpp.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 57 of file script_interface/constraints/ExternalPotential.hpp.
References ScriptInterface::ObjectHandle::name(), and ScriptInterface::none.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 52 of file script_interface/constraints/ExternalPotential.hpp.