ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <NonBondedInteraction.hpp>
Public Member Functions | |
InteractionLJcos2 () | |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
Public Member Functions inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters > | |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
void | do_construct (VariantMap const ¶ms) final |
void | attach (std::weak_ptr< NonBondedInteractionHandle * > si_struct, std::weak_ptr<::IA_parameters > core_struct) |
void | update_core (bool notify=true) |
Public Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
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 |
Protected Member Functions | |
CoreInteraction IA_parameters::* | get_ptr_offset () const override |
Protected Member Functions inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters > | |
auto | make_autoparameter (T CoreInteraction::*ptr, char const *name) |
Protected Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Private Member Functions | |
std::string | inactive_parameter () const override |
double | inactive_cutoff () const override |
void | make_new_instance (VariantMap const ¶ms) override |
Additional Inherited Members | |
Public Types inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters > | |
using | CoreInteraction = ::LJcos2_Parameters |
Static Public Member Functions inherited from ScriptInterface::ObjectHandle | |
static ObjectRef | deserialize (const std::string &state, Context &ctx) |
Make object from serialized state. | |
Protected Types inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters > | |
using | BaseClass = AutoParameters< InteractionPotentialInterface< ::LJcos2_Parameters > > |
Protected Attributes inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters > | |
std::shared_ptr< CoreInteraction > | m_handle |
Managed object. | |
std::weak_ptr<::IA_parameters > | m_core_struct |
Handle to the container whose members have to be synchronized. | |
std::weak_ptr< NonBondedInteractionHandle * > | m_si_struct |
Handle to the interface used to synchronize data members. | |
std::weak_ptr< std::function< void()> > | m_notify_non_bonded_ia_change |
Callback to notify changes to the interaction range. | |
Definition at line 306 of file NonBondedInteraction.hpp.
|
inline |
Definition at line 314 of file NonBondedInteraction.hpp.
References ScriptInterface::AutoParameters< Derived, Base >::add_parameters(), LJcos2_Parameters::eps, ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >::make_autoparameter(), LJcos2_Parameters::offset, LJcos2_Parameters::sig, and LJcos2_Parameters::w.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 334 of file NonBondedInteraction.hpp.
References ScriptInterface::Interactions::InteractionPotentialInterface< CoreIA >::do_call_method(), ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >::m_handle, ScriptInterface::ObjectHandle::name(), and params.
|
inlineoverrideprotectedvirtual |
Implements ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >.
Definition at line 309 of file NonBondedInteraction.hpp.
References IA_parameters::ljcos2.
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >.
Definition at line 325 of file NonBondedInteraction.hpp.
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >.
Definition at line 324 of file NonBondedInteraction.hpp.
|
inlineoverrideprivatevirtual |
Implements ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >.
Definition at line 327 of file NonBondedInteraction.hpp.
References ScriptInterface::Interactions::InteractionPotentialInterface<::LJcos2_Parameters >::m_handle, and params.