OSHUN  beta
Arbitrary Order Spherical-Harmonic 1D-3P Vlasov-Fokker-Planck-Maxwell code
interspecies_f00_explicit_step Class Reference

The top-level container for collisions on l=0. More...

#include <interspeciescollisions.h>

Collaboration diagram for interspecies_f00_explicit_step:

Public Member Functions

 interspecies_f00_explicit_step (const DistFunc1D &DF1, const DistFunc1D &DF2, const double &deltat)
 Constructors/Destructors. More...
 
valarray< double > takestep (const valarray< double > &f1in, const valarray< double > &f2in)
 Collisions between species 1 and 2 in 0,0 harmonic. More...
 

Private Member Functions

void calculateintegrals (const valarray< double > &f1in, const valarray< double > &f2in)
 Remap Distribution to momentum grid of colliding particles. More...
 
void remapintegrals ()
 Remap Distribution to momentum grid of colliding particles. More...
 

Private Attributes

valarray< double > fslope
 
double dt
 
Formulary formulary
 
double m1
 
double m2
 
double z1
 
double z2
 
double n1
 
double n2
 
double T1
 
double T2
 
double Gamma12
 
double kpre
 
valarray< double > pgrid_s1
 
valarray< double > pgrid_s2
 
valarray< double > df0
 
valarray< double > U4
 
valarray< double > U4m1
 
valarray< double > U2
 
valarray< double > U2m1
 
valarray< double > U1
 
valarray< double > U1m1
 
valarray< double > U3
 
valarray< double > Qn
 
valarray< double > Pn
 
valarray< double > J1_s2
 The integrals. More...
 
valarray< double > I2_s2
 
valarray< double > I4_s2
 
valarray< double > J1_s1
 The integrals. More...
 
valarray< double > I2_s1
 
valarray< double > I4_s1
 
int Nbc
 Number of boundary cells in each direction. More...
 
int szx
 Total cells including boundary cells in x-direction. More...
 

Detailed Description

The top-level container for collisions on l=0.

The interspecies_f00_explicit_step class describes the object that contains the RK4 algorithm that sets up the explicit solve step. interspecies_f00_explicit_step has a "loop()" function that pulls the relevant distribution function and passes it to the RK4 solver.

Definition at line 30 of file interspeciescollisions.h.


The documentation for this class was generated from the following files: