![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Interface to carry out simple operations on lattice indices. More...
#include <LatticeIndices.hpp>
Inheritance diagram for ScriptInterface::LatticeIndices:
Collaboration diagram for ScriptInterface::LatticeIndices:Protected Member Functions | |
| 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 |
Additional Inherited Members | |
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. | |
| virtual std::vector< std::string_view > | valid_parameters () const |
| Get required and optional parameters for class. | |
| virtual bool | has_parameter (std::string const &needle) const |
| virtual Variant | get_parameter (std::string const &name) const |
| Get single parameter. | |
| void | set_parameter (const std::string &name, const Variant &value) |
| Set single parameter. | |
| virtual void | do_set_parameter (const std::string &, const Variant &) |
| Local implementation of set_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 |
| virtual std::vector< std::pair< std::string, Variant > > | serialize_parameters () const |
| Serialize parameters. | |
Static Public Member Functions inherited from ScriptInterface::ObjectHandle | |
| static ObjectRef | deserialize (const std::string &state, Context &ctx) |
| Make object from serialized state. | |
Interface to carry out simple operations on lattice indices.
Definition at line 33 of file LatticeIndices.hpp.
|
inlineprotected |
Definition at line 53 of file LatticeIndices.hpp.
References is_index_valid(), stream, and throw_invalid_index().
Referenced by ScriptInterface::walberla::EKIndexedReaction::do_call_method(), ScriptInterface::walberla::EKPoissonSolverNode::do_construct(), ScriptInterface::walberla::EKSpeciesNode::do_construct(), and ScriptInterface::walberla::LBFluidNode::do_construct().
|
inlineprotected |
Definition at line 35 of file LatticeIndices.hpp.
References stream.
Referenced by ScriptInterface::walberla::EKPoissonSolverNode::do_call_method(), ScriptInterface::walberla::EKSpeciesNode::do_call_method(), and get_mapped_index().
|
inlineprotected |
Definition at line 40 of file LatticeIndices.hpp.
References ScriptInterface::ObjectHandle::context(), Utils::Array< T, N >::formatter(), and stream.
Referenced by get_mapped_index().