Gyselalib++
 
Loading...
Searching...
No Matches
iqnsolver.hpp
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include <ddc/ddc.hpp>
6
7#include "geometry.hpp"
8
13{
14public:
15 virtual ~IQNSolver() = default;
16
28 virtual void operator()(
29 host_t<DFieldRTheta> electrostatic_potential,
30 host_t<DVectorFieldRTheta<X, Y>> electric_field,
31 host_t<DConstFieldRTheta> allfdistribu) const = 0;
32};
Base class for a Quasi-Neutrality solver.
Definition iqnsolver.hpp:13
virtual void operator()(host_t< DFieldRTheta > electrostatic_potential, host_t< DVectorFieldRTheta< X, Y > > electric_field, host_t< DConstFieldRTheta > allfdistribu) const =0
Compute the electrical potential and the electric field from the Quasi-Neutrality equation.
A class which holds multiple (scalar) fields in order to represent a vector field.
Definition vector_field.hpp:64