13 #ifndef DECLARATION_INTERSPECIES_FP_H 14 #define DECLARATION_INTERSPECIES_FP_H 36 valarray<double>
takestep(
const valarray<double>& f1in,
const valarray<double>& f2in);
77 void operator()(
const valarray<double>& fin1, valarray<double>&
fslope);
78 void operator()(
const valarray<double>& fin1,
const valarray<double>& fin2, valarray<double>& fslope);
79 void operator()(
const valarray<double>& fin1, valarray<double>& fslope,
size_t dir);
152 valarray<double>
J1m, I0, I2;
155 valarray<double>
df0, ddf0;
164 double _ZLOGei, _LOGee,
kpre, Dt;
172 void reset_coeff(
const valarray<double>& f00,
const double Delta_t);
175 void advance(valarray<complex<double> >& fin,
const int el);
214 valarray<complex<double> >
fc;
237 void advancef00(
State1D& Y,
const size_t& sind);
size_t l0
Number of m harmonics.
valarray< complex< double > > fc
Dummy array.
The top-level container for interspecies collisions over all species on l=0.
Array2D< double > Alpha_Tri
int szx
Total cells including boundary cells in x-direction.
valarray< double > J1_s1
The integrals.
valarray< double > pgrid_s2
interspecies_f00_explicit_step collide
void remapintegrals()
Remap Distribution to momentum grid of colliding particles.
valarray< double > J1_s2
The integrals.
valarray< double > pgrid_s1
interspecies_flm_implicit_step implicit_step
The object that is responsible for performing the algebra required for the integrals.
The top-level container for collisions on l=0.
int szx
Total cells including boundary cells in x-direction.
valarray< double > Scattering_Term
int Nbc
Number of boundary cells in each direction.
interspecies_f00_RKfunctor rkf00
Algorithms::RK4< valarray< double > > RK4
void calculateintegrals(const valarray< double > &f1in, const valarray< double > &f2in)
Remap Distribution to momentum grid of colliding particles.
int Nbc
Number of boundary cells in each direction.
size_t m0
Number of m harmonics.
~interspecies_f00_RKfunctor()
vector< interspecies_f00_explicit_collisions > interspecies_f00_collisions
int Nbc
Number of boundary cells in each direction.
valarray< double > f00
Array for isotropic component distribution function. Needed for calculating coefficients.
valarray< double > takestep(const valarray< double > &f1in, const valarray< double > &f2in)
Collisions between species 1 and 2 in 0,0 harmonic.
int szx
Total cells including boundary cells in x-direction.
interspecies_f00_explicit_step(const DistFunc1D &DF1, const DistFunc1D &DF2, const double &deltat)
Constructors/Destructors.
valarray< double > fslope
The 1D distribution function is the container for all SHarmonic1D per species.