inelastic_mapping_procedures Submodule

Contains module procedures associated with inelastic collision mappings


Uses


Module Functions

pure module function inelWeights(space, E) result(wMat)

Calculate velocity space inelastic mapping weight matrix for transition with energy E on given velocity space. Assumes that velocity and energy are suitably normalized (i.e. v^2 is an energy)

Arguments

Type IntentOptional Attributes Name
type(VSpace), intent(in) :: space

Velocity space object to calculate the mapping on

real(kind=rk), intent(in) :: E

Mapping transition energy

Return Value type(SparseRowData)


Module Subroutines

pure module subroutine fillEmissionVector(wMat, emit)

Fills passed velocity space vector emit with zeros or ones, depending on whether there are any entries in the corresponding column of passed mapping weight matrix

Arguments

Type IntentOptional Attributes Name
type(SparseRowData), intent(in) :: wMat
real(kind=rk), intent(inout), dimension(:) :: emit