24#ifdef ESPRESSO_WALBERLA
41#include <unordered_map>
48 std::shared_ptr<LatticeModel> m_ek_poisson_solver;
49 std::shared_ptr<EKPoissonSolver> m_ek_solver_sip;
50 std::unordered_map<std::string, std::vector<int>> m_shape_val;
56 m_ek_poisson_solver = m_ek_solver_sip->get_instance();
57 assert(m_ek_poisson_solver);
63 m_shape_val[
"potential"] = std::vector<int>{1};
70 return m_ek_poisson_solver->get_lattice();
Vector implementation and trait types for boost qvm interoperability.
Class that runs and controls the BlockForest in waLBerla.
std::string_view name() const
::LatticeWalberla const & get_lattice() const override
void do_construct(VariantMap const ¶ms) override
Variant do_call_method(std::string const &name, VariantMap const ¶ms) override
Utils::Vector3i m_slice_upper_corner
Utils::Vector3i m_slice_lower_corner
std::vector< int > m_shape
cudaStream_t stream[1]
CUDA streams for parallel computing on CPU and GPU.
std::unordered_map< std::string, Variant > VariantMap
static SteepestDescentParameters params
Currently active steepest descent instance.
Recursive variant implementation.