Skip to content

Commit

Permalink
Update src/fokker_planck.jl
Browse files Browse the repository at this point in the history
Co-authored-by: John Omotani <[email protected]>
  • Loading branch information
mrhardman and johnomotani authored Dec 11, 2023
1 parent 3103c41 commit 727fd6f
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions src/fokker_planck.jl
Original file line number Diff line number Diff line change
Expand Up @@ -207,13 +207,19 @@ function explicit_fokker_planck_collisions_weak_form!(pdf_out,pdf_in,dSdt,compos
return nothing
end


"""
Function for evaluating Css' = Css'[Fs,Fs']
The result is stored in the array fkpl_arrays.CC
Function for evaluating \$C_{ss'} = C_{ss'}[F_s,F_{s'}]\$
The result is stored in the array `fkpl_arrays.CC`.
The normalised collision frequency is defined by
```math
\\nu_{ss'} = \\frac{\\gamma_{ss'} n_\\mathrm{ref}}{2 m_s^2 c_\\mathrm{ref}^3}
```
with \$\\gamma_{ss'} = 2 \\pi (Z_s Z_{s'})^2 e^4 \\ln \\Lambda_{ss'} / (4 \\pi
\\epsilon_0)^2\$.
"""
# the normalised collision frequency is defined by
# nu_{ss'} = gamma_{ss'} n_{ref} / 2 (m_s)^2 (c_{ref})^3
# with gamma_ss' = 2 pi (Z_s Z_s')^2 e^4 ln \Lambda_{ss'} / (4 pi \epsilon_0)^2
function fokker_planck_collision_operator_weak_form!(ffs_in,ffsp_in,ms,msp,nussp,
fkpl_arrays::fokkerplanck_weakform_arrays_struct,
vperp, vpa, vperp_spectral, vpa_spectral;
Expand Down

0 comments on commit 727fd6f

Please sign in to comment.