Contains module procedures associated with the inelastic grid data class
Return fixed mapping matrix with given index
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(InelasticGridData), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Return fixed emission vector for mapping matrix with given index
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(InelasticGridData), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | ind |
Return interpolated emission vector for given input energy E
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(InelasticGridData), | intent(in) | :: | this | |||
real(kind=rk), | intent(in) | :: | E |
Inelastic grid data initialization routine
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(InelasticGridData), | intent(inout) | :: | this | |||
type(VSpace), | intent(in) | :: | space |
Velocity space on which weights should be calculated |
||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | fixedEnergies |
Energy values for fixed energy mappings |
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | interpolationGrid |
Energy values for mappings on the interpolation grid |
Interpolate mapping matrices for given energy and store in passed triangular matrix. Assumes upper triangular structure for wRes if E is positive and lower if it's negative
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(InelasticGridData), | intent(in) | :: | this | |||
real(kind=rk), | intent(in) | :: | E |
Transition energy to interpolate for |
||
type(SparseRowData), | intent(inout) | :: | wRes |
Lower/upper triangular matrix to store the interpolated weights |