![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <EKReaction.hpp>
Public Member Functions | |
| std::shared_ptr<::walberla::EKReactionBase > | get_instance () const |
| auto | get_conversion_coefficient () const noexcept |
| Public Member Functions inherited from ScriptInterface::AutoParameters< EKReaction, LatticeIndices > | |
| std::vector< std::string_view > | 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 |
| std::string_view | name () const |
| Context * | context () const |
| Responsible context. | |
| void | construct (VariantMap const ¶ms) |
| Construct the handled object. | |
| virtual void | do_construct (VariantMap const ¶ms) |
| VariantMap | get_parameters () const |
| Get current parameters. | |
| 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. | |
| virtual Variant | do_call_method (const std::string &, const VariantMap &) |
Local implementation of call_method. | |
| std::string | serialize () const |
Protected Member Functions | |
| auto | get_agrid (VariantMap const &args) const |
| auto | get_is_gpu (VariantMap const &args) const |
| auto | calculate_bulk_conversion_factor (VariantMap const &args) const |
| template<typename F> | |
| auto | make_instance (VariantMap const &args, F &allocator) const |
| Protected Member Functions inherited from ScriptInterface::AutoParameters< EKReaction, LatticeIndices > | |
| AutoParameters ()=default | |
| ~AutoParameters () override=default | |
| bool | has_parameter (std::string const &name) const override |
| void | add_parameters (std::vector< AutoParameter > &¶ms) |
| auto const & | get_parameter_insertion_order () const |
| Protected Member Functions inherited from ScriptInterface::LatticeIndices | |
| bool | is_index_valid (Utils::Vector3i const &index, Utils::Vector3i const &shape) const |
| void | throw_invalid_index (Utils::Vector3i const &index, Utils::Vector3i const &shape) const |
| Utils::Vector3i | get_mapped_index (Utils::Vector3i const &index, Utils::Vector3i const &shape) const |
Protected Attributes | |
| std::shared_ptr<::walberla::EKReactionBase > | m_ekreaction |
| double | m_conv_coefficient |
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 48 of file EKReaction.hpp.
|
inlineprotected |
Definition at line 72 of file EKReaction.hpp.
References get_agrid(), ScriptInterface::AutoParameters< EKReaction, LatticeIndices >::get_parameter(), ScriptInterface::get_value(), and Utils::int_pow().
Referenced by ScriptInterface::walberla::EKBulkReaction::do_construct(), and ScriptInterface::walberla::EKIndexedReaction::do_construct().
|
inlineprotected |
Definition at line 60 of file EKReaction.hpp.
References ScriptInterface::get_value().
Referenced by calculate_bulk_conversion_factor(), and ScriptInterface::walberla::EKIndexedReaction::do_construct().
|
inlinenodiscardnoexcept |
Definition at line 55 of file EKReaction.hpp.
References m_conv_coefficient.
Referenced by ScriptInterface::walberla::EKBulkReaction::EKBulkReaction(), ScriptInterface::walberla::EKIndexedReaction::EKIndexedReaction(), and make_instance().
|
inlinenodiscard |
Definition at line 51 of file EKReaction.hpp.
References m_ekreaction.
Referenced by ScriptInterface::walberla::EKIndexedReaction::do_call_method(), ScriptInterface::walberla::EKBulkReaction::EKBulkReaction(), ScriptInterface::walberla::EKIndexedReaction::EKIndexedReaction(), get_is_gpu(), and make_instance().
|
inlineprotected |
Definition at line 65 of file EKReaction.hpp.
References get_instance(), and ScriptInterface::get_value().
Referenced by ScriptInterface::walberla::EKBulkReaction::do_construct(), and ScriptInterface::walberla::EKIndexedReaction::do_construct().
|
inlineprotected |
Definition at line 91 of file EKReaction.hpp.
References get_conversion_coefficient(), get_instance(), and ScriptInterface::get_value().
Referenced by ScriptInterface::walberla::EKBulkReaction::do_construct(), and ScriptInterface::walberla::EKIndexedReaction::do_construct().
|
protected |
Definition at line 107 of file EKReaction.hpp.
Referenced by ScriptInterface::walberla::EKBulkReaction::do_construct(), ScriptInterface::walberla::EKIndexedReaction::do_construct(), and get_conversion_coefficient().
|
protected |
Definition at line 106 of file EKReaction.hpp.
Referenced by ScriptInterface::walberla::EKBulkReaction::do_construct(), ScriptInterface::walberla::EKIndexedReaction::do_construct(), and get_instance().