ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <EKReaction.hpp>
Public Member Functions | |
EKIndexedReaction () | |
void | do_construct (VariantMap const &args) override |
Variant | do_call_method (std::string const &method, VariantMap const ¶meters) override |
Public Member Functions inherited from ScriptInterface::walberla::EKReaction | |
std::shared_ptr<::walberla::EKReactionBase > | get_instance () const |
auto | get_conversion_coefficient () const noexcept |
Public Member Functions inherited from ScriptInterface::AutoParameters< EKReaction, LatticeIndices > | |
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::walberla::EKReaction | |
auto | get_agrid (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 (std::vector< AutoParameter > &¶ms) | |
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 inherited from ScriptInterface::walberla::EKReaction | |
std::shared_ptr<::walberla::EKReactionBase > | m_ekreaction |
double | m_conv_coefficient |
Definition at line 124 of file EKReaction.hpp.
|
inline |
Definition at line 126 of file EKReaction.hpp.
References ScriptInterface::AutoParameters< EKReaction, LatticeIndices >::add_parameters(), ScriptInterface::walberla::EKReaction::get_conversion_coefficient(), ScriptInterface::walberla::EKReaction::get_instance(), and ScriptInterface::AutoParameter::read_only.
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 150 of file EKReaction.hpp.
References ScriptInterface::ObjectHandle::context(), ScriptInterface::walberla::EKReaction::get_instance(), ScriptInterface::LatticeIndices::get_mapped_index(), ScriptInterface::none, and Utils::Mpi::reduce_optional().
|
inlineoverridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 142 of file EKReaction.hpp.
References ScriptInterface::walberla::EKReaction::calculate_bulk_conversion_factor(), ScriptInterface::walberla::EKReaction::get_agrid(), ScriptInterface::walberla::EKReaction::m_conv_coefficient, ScriptInterface::walberla::EKReaction::m_ekreaction, ScriptInterface::walberla::EKReaction::make_instance(), and walberla::new_ek_reaction_indexed().