39 std::shared_ptr<::walberla::PoissonSolver> m_instance;
40 std::shared_ptr<LatticeWalberla> m_lattice;
41 bool m_single_precision;
45 m_single_precision = get_value_or<bool>(args,
"single_precision",
false);
46 m_lattice = get_value<std::shared_ptr<LatticeWalberla>>(args,
"lattice");
53 [
this]() {
return m_single_precision; }},
58 [[nodiscard]] std::shared_ptr<::walberla::PoissonSolver>
void add_parameters(std::vector< AutoParameter > &¶ms)
void do_construct(VariantMap const &args) override
std::shared_ptr<::walberla::PoissonSolver > get_instance() const noexcept override
This file contains the defaults for ESPResSo.
std::unordered_map< std::string, Variant > VariantMap
std::shared_ptr< walberla::PoissonSolver > new_ek_poisson_none(std::shared_ptr< LatticeWalberla > const &lattice, bool single_precision)
static constexpr const ReadOnly read_only