xtrapolate_cb_xs Module Subroutine

public module subroutine xtrapolate_cb_xs(Ei_xtrap, Ethresh, nE_xtrap, Eel, xs_pcb, xs_tcb)

Extrapolate an excitation/de-excitation cross section to its excitation threshold. Use a power law scaling by fitting the first 2 points. Re-allocates Eel and xs to contain the extrapolated values

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: Ei_xtrap

Extrapolate down Ethresh + Ei_xtrap

real(kind=dp), intent(in) :: Ethresh

The excitation threshold

integer, intent(in) :: nE_xtrap

Number of extrapolation energies

real(kind=dp), intent(inout), allocatable :: Eel(:)

On input, the electron energy grid. On output, the electron energy grid with extrapolated energies prepended

real(kind=dp), intent(inout), allocatable :: xs_pcb(:)

On input, the partial Coulomb-Born cross sections. On output, the partial Coulomb-Born cross sections with extrapolated cross sections prepended

real(kind=dp), intent(inout), allocatable :: xs_tcb(:)

On input, the total Coulomb-Born cross sections. On output, the total Coulomb-Born cross sections with extrapolated cross sections prepended