ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <LBFluid.hpp>
Public Member Functions | |
LBFluid () | |
void | do_construct (VariantMap const ¶ms) override |
Variant | do_call_method (std::string const &name, VariantMap const ¶ms) override |
auto | get_lb_fluid () const |
auto | get_lb_params () const |
::LatticeModel::units_map | get_latice_to_md_units_conversion () const override |
Public Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
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 |
Protected Types | |
using | Base = LatticeModel<::LBWalberlaBase, LBVTKHandle > |
Protected Attributes | |
std::shared_ptr<::LB::LBWalberlaParams > | m_lb_params |
bool | m_is_active |
double | m_conv_dist |
double | m_conv_visc |
double | m_conv_dens |
double | m_conv_speed |
double | m_conv_press |
double | m_conv_force |
double | m_conv_force_dens |
double | m_conv_energy |
Protected Attributes inherited from ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle > | |
std::shared_ptr< LatticeWalberla > | m_lattice |
std::shared_ptr< ::LBWalberlaBase > | m_instance |
std::vector< std::shared_ptr< LBVTKHandle > > | m_vtk_writers |
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::LatticeModel<::LBWalberlaBase, LBVTKHandle > | |
virtual void | make_instance (VariantMap const ¶ms)=0 |
auto | find_vtk (std::shared_ptr< LBVTKHandle > const &vtk) const |
auto | serialize_vtk_writers () const |
Protected Member Functions inherited from ScriptInterface::AutoParameters< Derived, Base > | |
AutoParameters ()=default | |
AutoParameters (std::vector< AutoParameter > &¶ms) | |
void | add_parameters (std::vector< AutoParameter > &¶ms) |
auto const & | get_parameter_insertion_order () const |
Definition at line 49 of file LBFluid.hpp.
|
protected |
Definition at line 51 of file LBFluid.hpp.
|
inline |
Definition at line 64 of file LBFluid.hpp.
References ScriptInterface::AutoParameters< Derived, Base >::add_parameters(), ScriptInterface::ObjectHandle::context(), m_conv_dens, m_conv_energy, m_conv_force_dens, m_conv_visc, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_instance, m_is_active, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_lattice, m_lb_params, ScriptInterface::Context::parallel_try_catch(), ScriptInterface::AutoParameter::read_only, and ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::serialize_vtk_writers().
|
overridevirtual |
Reimplemented from ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >.
Definition at line 66 of file LBFluid.cpp.
References System::System::box_geo, ScriptInterface::ObjectHandle::context(), ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::do_call_method(), System::get_system(), ScriptInterface::get_value(), System::System::lb, m_conv_dist, m_conv_force, m_conv_speed, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_instance, m_is_active, m_lb_params, ScriptInterface::ObjectHandle::name(), System::System::on_lb_boundary_conditions_change(), ScriptInterface::Context::parallel_try_catch(), params, LB::Solver::reset(), and LB::Solver::set().
|
overridevirtual |
Reimplemented from ScriptInterface::ObjectHandle.
Definition at line 149 of file LBFluid.cpp.
References ScriptInterface::ObjectHandle::context(), get_latice_to_md_units_conversion(), m_conv_dens, m_conv_dist, m_conv_energy, m_conv_force, m_conv_force_dens, m_conv_press, m_conv_speed, m_conv_visc, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_instance, m_is_active, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_lattice, m_lb_params, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_vtk_writers, ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::make_instance(), ScriptInterface::Context::parallel_try_catch(), params, and LB::LBWalberla::update_collision_model().
|
inlineoverridevirtual |
Implements ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >.
Definition at line 124 of file LBFluid.hpp.
References m_conv_dens, m_conv_press, and m_conv_speed.
Referenced by do_construct().
|
inline |
Definition at line 121 of file LBFluid.hpp.
References ScriptInterface::walberla::LatticeModel<::LBWalberlaBase, LBVTKHandle >::m_instance.
|
inline |
Definition at line 122 of file LBFluid.hpp.
References m_lb_params.
|
protected |
Definition at line 56 of file LBFluid.hpp.
Referenced by do_construct(), get_latice_to_md_units_conversion(), LBFluid(), ScriptInterface::walberla::LBFluidCPU::make_instance(), and ScriptInterface::walberla::LBFluidGPU::make_instance().
|
protected |
Definition at line 54 of file LBFluid.hpp.
Referenced by do_call_method(), and do_construct().
|
protected |
Definition at line 61 of file LBFluid.hpp.
Referenced by do_construct(), and LBFluid().
|
protected |
Definition at line 59 of file LBFluid.hpp.
Referenced by do_call_method(), and do_construct().
|
protected |
Definition at line 60 of file LBFluid.hpp.
Referenced by do_construct(), and LBFluid().
|
protected |
Definition at line 58 of file LBFluid.hpp.
Referenced by do_construct(), and get_latice_to_md_units_conversion().
|
protected |
Definition at line 57 of file LBFluid.hpp.
Referenced by do_call_method(), do_construct(), and get_latice_to_md_units_conversion().
|
protected |
Definition at line 55 of file LBFluid.hpp.
Referenced by do_construct(), LBFluid(), ScriptInterface::walberla::LBFluidCPU::make_instance(), and ScriptInterface::walberla::LBFluidGPU::make_instance().
|
protected |
Definition at line 53 of file LBFluid.hpp.
Referenced by do_call_method(), do_construct(), and LBFluid().
|
protected |
Definition at line 52 of file LBFluid.hpp.
Referenced by do_call_method(), do_construct(), get_lb_params(), and LBFluid().