ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ScriptInterface::walberla::LatticeModel< Method, VTKHandle > Class Template Referenceabstract

#include <LatticeModel.hpp>

Inheritance diagram for ScriptInterface::walberla::LatticeModel< Method, VTKHandle >:
Collaboration diagram for ScriptInterface::walberla::LatticeModel< Method, VTKHandle >:

Public Member Functions

Variant do_call_method (std::string const &method_name, VariantMap const &params) override
Public Member Functions inherited from ScriptInterface::AutoParameters< LatticeModel< Method, VTKHandle >, System::Leaf >
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::System::Leaf
 ~Leaf () override=default
void bind_system (std::shared_ptr<::System::System > const &system)
void detach_system ()
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 &params)
 Construct the handled object.
virtual void do_construct (VariantMap const &params)
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 &params)
 Call a method on the object.
std::string serialize () const

Protected Member Functions

virtual::LatticeModel::units_map get_lattice_to_md_units_conversion () const =0
virtual void make_instance (VariantMap const &params)=0
auto find_vtk (std::shared_ptr< VTKHandle > const &vtk) const
auto has_vtk (std::shared_ptr< VTKHandle > const &vtk) const
auto serialize_vtk_writers () const
Protected Member Functions inherited from ScriptInterface::AutoParameters< LatticeModel< Method, VTKHandle >, System::Leaf >
 AutoParameters ()=default
 ~AutoParameters () override=default
bool has_parameter (std::string const &name) const override
void add_parameters (std::vector< AutoParameter > &&params)
auto const & get_parameter_insertion_order () const
Protected Member Functions inherited from ScriptInterface::System::Leaf
auto const & get_system () const
auto & get_system ()

Protected Attributes

std::shared_ptr< LatticeWalberla > m_lattice
std::shared_ptr< Method > m_instance
std::vector< std::shared_ptr< VTKHandle > > m_vtk_writers
Protected Attributes inherited from ScriptInterface::System::Leaf
std::weak_ptr<::System::System > m_system

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.

Detailed Description

template<class Method, class VTKHandle>
class ScriptInterface::walberla::LatticeModel< Method, VTKHandle >

Definition at line 39 of file script_interface/walberla/LatticeModel.hpp.

Member Function Documentation

◆ do_call_method()

template<class Method, class VTKHandle>
Variant ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::do_call_method ( std::string const & method_name,
VariantMap const & params )
inlineoverridevirtual

◆ find_vtk()

◆ get_lattice_to_md_units_conversion()

template<class Method, class VTKHandle>
virtual::LatticeModel::units_map ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::get_lattice_to_md_units_conversion ( ) const
protectedpure virtual

◆ has_vtk()

template<class Method, class VTKHandle>
auto ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::has_vtk ( std::shared_ptr< VTKHandle > const & vtk) const
inlineprotected

◆ make_instance()

template<class Method, class VTKHandle>
virtual void ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::make_instance ( VariantMap const & params)
protectedpure virtual

◆ serialize_vtk_writers()

template<class Method, class VTKHandle>
auto ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::serialize_vtk_writers ( ) const
inlineprotected

Definition at line 58 of file script_interface/walberla/LatticeModel.hpp.

Member Data Documentation

◆ m_instance

template<class Method, class VTKHandle>
std::shared_ptr<Method> ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::m_instance
protected

Definition at line 43 of file script_interface/walberla/LatticeModel.hpp.

◆ m_lattice

template<class Method, class VTKHandle>
std::shared_ptr<LatticeWalberla> ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::m_lattice
protected

Definition at line 42 of file script_interface/walberla/LatticeModel.hpp.

◆ m_vtk_writers

template<class Method, class VTKHandle>
std::vector<std::shared_ptr<VTKHandle> > ScriptInterface::walberla::LatticeModel< Method, VTKHandle >::m_vtk_writers
protected

Definition at line 44 of file script_interface/walberla/LatticeModel.hpp.


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