Gyselalib++
 
Loading...
Searching...
No Matches
irighthandside.hpp
1// SPDX-License-Identifier: MIT
2
3#pragma once
4
5#include "geometry.hpp"
6
10enum class RhsType { Source, Sink };
11
16{
17public:
18 virtual ~IRightHandSide() = default;
19
31 virtual DFieldSpXVx operator()(DFieldSpXVx allfdistribu, double dt) const = 0;
32};
An abstract class representing a source in Boltzmann equation.
Definition irighthandside.hpp:16
virtual DFieldSpXVx operator()(DFieldSpXVx allfdistribu, double dt) const =0
Operator for applying the source term on the distribution function.