Evaluation of the energy distribution function @f$f_{RE}(\mathcal{E})@f$ of runaway electrons as function of the normalized momentum
@f$p' = p/m_ec@f$. Here, @f$p'@f$ is the normalized momentum and @f$m_e@f$ and @f$c@f$ are the electron mass and the speed of light.
@param p Normalized momentum @f$p' = p/m_ec@f$ of a given electron in the simulation.
@param fRE Computed value of the energy distribution function of runaway electrons.
@param Eo Normalized energy @f$\mathcal{E}' = \sqrt{1 + p'}@f$ of the the electron with normalized momentum @f$p'@f$.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
FUNCTION fRE(p)REAL(rp),INTENT(IN)::p! momentum in units of mcREAL(rp)::fREREAL(rp)::Eo! In units of mc^2Eo=SQRT(p**2.0_rp+1.0_rp)fRE=fGamma(Eo,gamma_pdf_params%k,gamma_pdf_params%t*co)END FUNCTION fRE