8#include "iequilibrium.hpp"
9#include "paraconfpp.hpp"
10#include "species_info.hpp"
16 host_t<DFieldMemSp> m_density_eq;
19 host_t<DFieldMemSp> m_temperature_eq;
22 host_t<DFieldMemSp> m_mean_velocity_eq;
45 IdxRangeSp idx_range_kinsp,
46 PC_tree_t
const& yaml_input_file);
53 DFieldSpVxVy
operator()(DFieldSpVxVy allfequilibrium)
const override;
68 DFieldVxVy
const fMaxwellian,
70 double const temperature,
71 double const mean_velocity);
79 return get_const_field(m_density_eq);
88 return get_const_field(m_temperature_eq);
97 return get_const_field(m_mean_velocity_eq);
An abstract class for initializing a distribution function in (species,vpar,mu).
Definition iequilibrium.hpp:11
Equilibrium operator as Maxwellian. This initializes all species.
Definition maxwellianequilibrium.hpp:14
MaxwellianEquilibrium(host_t< DFieldMemSp > density_eq, host_t< DFieldMemSp > temperature_eq, host_t< DFieldMemSp > mean_velocity_eq)
The constructor for the MaxwellianEquilibrium class.
host_t< ConstFieldSp< double > > density_eq() const
A method for accessing the m_density_eq member variable of the class.
Definition maxwellianequilibrium.hpp:77
host_t< ConstFieldSp< double > > mean_velocity_eq() const
A method for accessing the m_mean_velocity_eq member variable of the class.
Definition maxwellianequilibrium.hpp:95
host_t< DConstFieldSp > mean_velocity_eq() const
A method for accessing the m_mean_velocity_eq member variable of the class.
Definition maxwellianequilibrium.hpp:120
host_t< DConstFieldSp > density_eq() const
A method for accessing the m_density_eq member variable of the class.
Definition maxwellianequilibrium.hpp:102
DFieldSpVxVy operator()(DFieldSpVxVy allfequilibrium) const override
Initializes allfequilibrium as a Maxwellian.
static void compute_maxwellian(DFieldVxVy const fMaxwellian, double const density, double const temperature, double const mean_velocity)
Compute a Maxwellian distribution function.
host_t< DConstFieldSp > temperature_eq() const
A method for accessing the m_temperature_eq member variable of the class.
Definition maxwellianequilibrium.hpp:111
host_t< ConstFieldSp< double > > temperature_eq() const
A method for accessing the m_temperature_eq member variable of the class.
Definition maxwellianequilibrium.hpp:86
static MaxwellianEquilibrium init_from_input(IdxRangeSp idx_range_kinsp, PC_tree_t const &yaml_input_file)
Read the density, temperature and mean velocity required to initialize the Maxwellian in a YAML input...