76 [
this]() {
return m_instance->get_lattice().get_grid_dimensions(); }},
80 [
this]() {
return static_cast<int>(
m_instance->get_seed()); }},
86 throw std::domain_error(
"Parameter 'rng_state' must be >= 0");
97 {
"kinematic_viscosity",
103 {
"ext_force_density",
133 void load_checkpoint(std::string
const &
filename,
int mode);
134 void save_checkpoint(std::string
const &
filename,
int mode);
135 std::vector<Variant> get_average_pressure_tensor()
const;
152 static std::unordered_map<std::string, int>
const obs_map;
154 std::unordered_map<std::string, int>
const &
get_obs_map()
const override {
LBWalberlaBase provides the public interface of the LB waLBerla bridge.
Vector implementation and trait types for boost qvm interoperability.
std::unordered_map< std::string, double > units_map
void add_parameters(std::vector< AutoParameter > &¶ms)
virtual void parallel_try_catch(std::function< void()> const &cb) const =0
Type to indicate no value in Variant.
boost::string_ref name() const
Context * context() const
Responsible context.
void make_instance(VariantMap const ¶ms) override
void make_instance(VariantMap const ¶ms) override
auto get_lb_params() const
void do_construct(VariantMap const ¶ms) override
auto get_lb_fluid() const
Variant do_call_method(std::string const &name, VariantMap const ¶ms) override
std::shared_ptr<::LB::LBWalberlaParams > m_lb_params
::LatticeModel::units_map get_latice_to_md_units_conversion() const override
std::unordered_map< std::string, int > const & get_obs_map() const override
std::shared_ptr< ::LBWalberlaBase > m_instance
auto serialize_vtk_writers() const
std::shared_ptr< LatticeWalberla > m_lattice
This file contains the defaults for ESPResSo.
T get_value(Variant const &v)
Extract value of specific type T from a Variant.
std::unordered_map< std::string, Variant > VariantMap
boost::make_recursive_variant< None, bool, int, std::size_t, double, std::string, ObjectRef, Utils::Vector3b, Utils::Vector3i, Utils::Vector2d, Utils::Vector3d, Utils::Vector4d, std::vector< int >, std::vector< double >, std::vector< boost::recursive_variant_ >, std::unordered_map< int, boost::recursive_variant_ >, std::unordered_map< std::string, boost::recursive_variant_ > >::type Variant
Possible types for parameters.
static SteepestDescentParameters params
Currently active steepest descent instance.
static constexpr const ReadOnly read_only