ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <BondedInteraction.hpp>
Public Member Functions | |
std::shared_ptr<::Bonded_IA_Parameters > | bonded_ia () |
std::shared_ptr< const ::Bonded_IA_Parameters > | bonded_ia () const |
bool | operator== (BondedInteraction const &other) const |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
Public Member Functions inherited from ScriptInterface::AutoParameters< BondedInteraction > | |
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 | |
virtual std::set< std::string > | get_valid_parameters () const |
Protected Member Functions inherited from ScriptInterface::AutoParameters< BondedInteraction > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Protected Attributes | |
std::shared_ptr<::Bonded_IA_Parameters > | m_bonded_ia |
Private Member Functions | |
void | do_construct (VariantMap const ¶ms) override |
virtual void | construct_bond (VariantMap const ¶ms)=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 56 of file BondedInteraction.hpp.
|
inline |
Definition at line 61 of file BondedInteraction.hpp.
References m_bonded_ia.
|
inline |
Definition at line 62 of file BondedInteraction.hpp.
References m_bonded_ia.
|
privatepure virtual |
Implemented in ScriptInterface::Interactions::VirtualBond, ScriptInterface::Interactions::FeneBond, ScriptInterface::Interactions::HarmonicBond, ScriptInterface::Interactions::QuarticBond, ScriptInterface::Interactions::BondedCoulomb, ScriptInterface::Interactions::BondedCoulombSR, ScriptInterface::Interactions::AngleHarmonicBond, ScriptInterface::Interactions::AngleCosineBond, ScriptInterface::Interactions::AngleCossquareBond, ScriptInterface::Interactions::DihedralBond, ScriptInterface::Interactions::TabulatedDistanceBond, ScriptInterface::Interactions::TabulatedAngleBond, ScriptInterface::Interactions::TabulatedDihedralBond, ScriptInterface::Interactions::ThermalizedBond, ScriptInterface::Interactions::RigidBond, ScriptInterface::Interactions::IBMTriel, ScriptInterface::Interactions::IBMVolCons, ScriptInterface::Interactions::IBMTribend, ScriptInterface::Interactions::OifGlobalForcesBond, and ScriptInterface::Interactions::OifLocalForcesBond.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Reimplemented in ScriptInterface::Interactions::IBMVolCons.
Definition at line 109 of file BondedInteraction.hpp.
References number_of_partners(), and params.
|
inlineoverrideprivatevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 95 of file BondedInteraction.hpp.
References params.
|
inlineprotectedvirtual |
Definition at line 70 of file BondedInteraction.hpp.
References ScriptInterface::AutoParameters< BondedInteraction >::valid_parameters().
|
inline |
Definition at line 105 of file BondedInteraction.hpp.
References m_bonded_ia.
|
protected |
Definition at line 58 of file BondedInteraction.hpp.
Referenced by bonded_ia(), bonded_ia(), and operator==().