ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <WidomInsertion.hpp>
Public Member Functions | |
std::shared_ptr<::ReactionMethods::ReactionAlgorithm > | RE () override |
std::shared_ptr<::ReactionMethods::ReactionAlgorithm > const | RE () const override |
WidomInsertion () | |
void | do_construct (VariantMap const ¶ms) override |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
Public Member Functions inherited from ScriptInterface::ReactionMethods::ReactionAlgorithm | |
ReactionAlgorithm () | |
Public Member Functions inherited from ScriptInterface::AutoParameters< ReactionAlgorithm > | |
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::ReactionMethods::ReactionAlgorithm | |
int | get_reaction_index (int reaction_id) const |
Check reaction id is within the reaction container bounds. | |
virtual double | calculate_factorial_expression (::ReactionMethods::SingleReaction const &reaction, std::unordered_map< int, int > const &particle_numbers) const |
Protected Member Functions inherited from ScriptInterface::AutoParameters< ReactionAlgorithm > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Protected Attributes inherited from ScriptInterface::ReactionMethods::ReactionAlgorithm | |
std::vector< std::shared_ptr< SingleReaction > > | m_reactions |
Keep track of the script interface pointer of each reaction. | |
Definition at line 37 of file script_interface/reaction_methods/WidomInsertion.hpp.
|
inline |
Definition at line 47 of file script_interface/reaction_methods/WidomInsertion.hpp.
References ScriptInterface::AutoParameters< ReactionAlgorithm >::add_parameters(), ScriptInterface::ObjectHandle::context(), and ScriptInterface::none.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ReactionMethods::ReactionAlgorithm.
Definition at line 67 of file script_interface/reaction_methods/WidomInsertion.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::ReactionMethods::ReactionAlgorithm::do_call_method(), ScriptInterface::ReactionMethods::ReactionAlgorithm::get_reaction_index(), ScriptInterface::ObjectHandle::name(), ScriptInterface::Context::parallel_try_catch(), and params.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 58 of file script_interface/reaction_methods/WidomInsertion.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::Context::parallel_try_catch(), and params.
|
inlineoverridevirtual |
Implements ScriptInterface::ReactionMethods::ReactionAlgorithm.
Definition at line 43 of file script_interface/reaction_methods/WidomInsertion.hpp.
|
inlineoverridevirtual |
Implements ScriptInterface::ReactionMethods::ReactionAlgorithm.
Definition at line 39 of file script_interface/reaction_methods/WidomInsertion.hpp.