Gyselalib++
 
Loading...
Searching...
No Matches
iadvectionvx.hpp
1// SPDX-License-Identifier: MIT
2
3#pragma once
4#include <ddc/ddc.hpp>
5
6#include "ddc_aliases.hpp"
7#include "ddc_helper.hpp"
8
15template <class Geometry, class GridV>
17{
18public:
19 virtual ~IAdvectionVelocity() = default;
20
30 virtual DField<typename Geometry::IdxRangeFdistribu> operator()(
31 DField<typename Geometry::IdxRangeFdistribu> allfdistribu,
32 DConstField<typename Geometry::IdxRangeSpatial> electric_field,
33 double dt) const = 0;
34};
A class which provides an advection operator.
Definition iadvectionvx.hpp:17
virtual DField< typename Geometry::IdxRangeFdistribu > operator()(DField< typename Geometry::IdxRangeFdistribu > allfdistribu, DConstField< typename Geometry::IdxRangeSpatial > electric_field, double dt) const =0
operates a transport of the distribution function.