7#include "irighthandside.hpp"
38 DFieldMemX m_spatial_extent;
39 DFieldMemVx m_velocity_shape;
54 IdxRangeX
const& gridx,
55 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 kinetic_source.hpp:32
DFieldSpXVx operator()(DFieldSpXVx allfdistribu, double dt) const override
Update the distribution function following the KineticSource operator.
KineticSource(IdxRangeX const &gridx, IdxRangeVx const &gridv, double extent, double stiffness, double amplitude, double density, double energy, double temperature)
Creates an instance of the KineticSource class.