5#include "irighthandside.hpp"
32 DFieldMemVx m_ftarget;
49 IdxRangeX
const& gridx,
50 IdxRangeVx
const& gridv,
76 DFieldSpXVx
operator()(DFieldSpXVx allfdistribu,
double dt)
const override;
An abstract class representing a source in Boltzmann equation.
Definition irighthandside.hpp:16
A class that describes a source of particles.
Definition krook_source_constant.hpp:23
KrookSourceConstant(IdxRangeX const &gridx, IdxRangeVx const &gridv, RhsType const type, double extent, double stiffness, double amplitude, double density, double temperature)
Creates an instance of the KrookSourceConstant class.
DFieldSpXVx operator()(DFieldSpXVx allfdistribu, double dt) const override
Update the distribution function following the KrookSourceConstant operator.
KrookSourceConstant(KrookSourceConstant &&)=default
Creates an instance of the KrookSourceConstant class.