32 std::shared_ptr<LatticeWalberla> m_lattice;
33 double m_permittivity;
36 PoissonSolver(std::shared_ptr<LatticeWalberla> lattice,
double permittivity)
37 : m_lattice(std::move(lattice)), m_permittivity(permittivity) {}
43 bool is_double_precision) = 0;
48 m_permittivity = permittivity;
52 return m_permittivity;
55 [[nodiscard]]
auto const &
get_lattice() const noexcept {
return *m_lattice; }
void set_permittivity(double permittivity) noexcept
virtual std::size_t get_potential_field_id() const noexcept=0
virtual ~PoissonSolver()=default
PoissonSolver(std::shared_ptr< LatticeWalberla > lattice, double permittivity)
double get_permittivity() const noexcept
auto const & get_lattice() const noexcept
virtual void add_charge_to_field(std::size_t id, double valency, bool is_double_precision)=0
virtual void reset_charge_field()=0
\file PackInfoPdfDoublePrecision.cpp \author pystencils