![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Adapter that exposes EKReactionBaseIndexed with the interface expected by LatticeSlice::gather_3d / scatter_3d.
More...
#include <EKIndexedReactionSlice.hpp>
Collaboration diagram for ScriptInterface::walberla::EKReactionSliceAdapter:Public Member Functions | |
| ::LatticeWalberla const & | get_lattice () const noexcept |
| std::vector< int > | get_slice_is_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner) const |
| void | set_slice_is_boundary (Utils::Vector3i const &lower_corner, Utils::Vector3i const &upper_corner, std::vector< int > const &values) |
| void | ghost_communication () |
Public Attributes | |
| ::walberla::EKReactionBaseIndexed * | m_impl |
Adapter that exposes EKReactionBaseIndexed with the interface expected by LatticeSlice::gather_3d / scatter_3d.
LatticeSlice requires the lattice model to provide get_lattice() returning a LatticeWalberla const &, but EKReactionBase::get_lattice() returns a shared_ptr. This adapter bridges that mismatch.
Definition at line 54 of file EKIndexedReactionSlice.hpp.
|
inlinenoexcept |
Definition at line 57 of file EKIndexedReactionSlice.hpp.
References walberla::EKReactionBase::get_lattice(), and m_impl.
|
inline |
Definition at line 62 of file EKIndexedReactionSlice.hpp.
References walberla::EKReactionBaseIndexed::get_slice_is_boundary(), ScriptInterface::get_value(), and m_impl.
Referenced by ScriptInterface::walberla::EKIndexedReactionSlice::do_call_method().
|
inline |
Definition at line 73 of file EKIndexedReactionSlice.hpp.
References walberla::EKReactionBaseIndexed::ghost_communication(), and m_impl.
|
inline |
Definition at line 67 of file EKIndexedReactionSlice.hpp.
References ScriptInterface::get_value(), m_impl, and walberla::EKReactionBaseIndexed::set_slice_is_boundary().
Referenced by ScriptInterface::walberla::EKIndexedReactionSlice::do_call_method().
| ::walberla::EKReactionBaseIndexed* ScriptInterface::walberla::EKReactionSliceAdapter::m_impl |
Definition at line 55 of file EKIndexedReactionSlice.hpp.
Referenced by get_lattice(), get_slice_is_boundary(), ghost_communication(), and set_slice_is_boundary().