ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::Interactions::InteractionTabulated Class Reference

#include <NonBondedInteraction.hpp>

+ Inheritance diagram for ScriptInterface::Interactions::InteractionTabulated:
+ Collaboration diagram for ScriptInterface::Interactions::InteractionTabulated:

Public Member Functions

 InteractionTabulated ()
 
Variant do_call_method (std::string const &name, VariantMap const &params) override
 
- Public Member Functions inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::TabulatedPotential >
void do_construct (VariantMap const &params) 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
 
ObjectHandleoperator= (ObjectHandle const &)=delete
 
virtual ~ObjectHandle ()=default
 
boost::string_ref name () const
 
Contextcontext () const
 Responsible context.
 
void construct (VariantMap const &params)
 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 &params)
 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<::TabulatedPotential >
virtual double inactive_cutoff () const
 Which magic value indicates the potential is inactive.
 
auto make_autoparameter (T CoreInteraction::*ptr, char const *name)
 
- Protected Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base >
 AutoParameters ()=default
 
 AutoParameters (std::vector< AutoParameter > &&params)
 
void add_parameters (std::vector< AutoParameter > &&params)
 
auto constget_parameter_insertion_order () const
 

Private Member Functions

std::string inactive_parameter () const override
 
void make_new_instance (VariantMap const &params) override
 

Additional Inherited Members

- Public Types inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::TabulatedPotential >
using CoreInteraction = ::TabulatedPotential
 
- 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<::TabulatedPotential >
using BaseClass = AutoParameters< InteractionPotentialInterface< ::TabulatedPotential > >
 
- Protected Attributes inherited from ScriptInterface::Interactions::InteractionPotentialInterface<::TabulatedPotential >
std::shared_ptr< CoreInteractionm_handle
 Managed object.
 
std::weak_ptr<::IA_parametersm_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.
 

Detailed Description

Definition at line 565 of file NonBondedInteraction.hpp.

Constructor & Destructor Documentation

◆ InteractionTabulated()

Member Function Documentation

◆ do_call_method()

◆ get_ptr_offset()

CoreInteraction IA_parameters::* ScriptInterface::Interactions::InteractionTabulated::get_ptr_offset ( ) const
inlineoverrideprotectedvirtual

◆ inactive_parameter()

std::string ScriptInterface::Interactions::InteractionTabulated::inactive_parameter ( ) const
inlineoverrideprivatevirtual

◆ make_new_instance()


The documentation for this class was generated from the following file: