Represents a process in which an ingoing set of particles(states) is transformed into an outgoing set and to which quantities representing particle/momentum/energy exchange rates can be meaningfully assigned. Optionally, a Transition can have a cross-section object of rank 2 to accommodate anisotropic differential cross-sections.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
integer(kind=ik), | private, | allocatable, dimension(:) | :: | ingoingStates |
Array of IDs associated with the ingoing states |
||
integer(kind=ik), | private, | allocatable, dimension(:) | :: | outgoingStates |
Array of IDs associated with the outgoing states |
||
real(kind=rk), | private, | allocatable, dimension(:) | :: | rate |
Spatial array associated with the (particle) Transition rate |
||
real(kind=rk), | private, | allocatable, dimension(:) | :: | rateMomentum |
Spatial array associated with the momentum exchange rate |
||
real(kind=rk), | private, | allocatable, dimension(:) | :: | rateEnergy |
Spatial array associated with the energy rate |
||
real(kind=rk), | private, | allocatable, dimension(:,:) | :: | crossSection |
Differential cross-section associated with the process - optional |
||
logical, | private | :: | rateContainsElDensity | = | .false. |
Set to true if rate calculations already include one electron density factor from taking the rate moment |
|
integer, | private | :: | csDim | = | -1 |
Cross-section dimensionality - used to properly expose cs data |
Getter for userDefined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(in) | :: | this |
Set userDefined to .true.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Set userDefined to .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Getter for ingoingStates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Getter for outgoingStates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Setter for both ingoing and outgoing states
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in), | dimension(:) | :: | inStates |
Ingoing state IDs |
|
integer(kind=ik), | intent(in), | dimension(:) | :: | outStates |
Outgoing state IDs |
Setter for rate values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | rate |
Getter for rate values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Setter for rateMomentum values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | rate |
Getter for rateMomentum values
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Setter for rateEnergy
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | rate |
Getter for rateEnergy
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Setter for crossSection
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:,:) | :: | crossSection |
Set cross-section values in column col
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | crossSection | ||
integer(kind=ik), | intent(in) | :: | col |
Get cross-section values from column col
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this | |||
integer(kind=ik), | intent(in) | :: | col |
Check whether rates in this transition include an electron density factor
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Setter for rateContainsElDensity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
logical, | intent(in) | :: | includeDens |
Setter for csDim
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in) | :: | csDim |
Getter for csDim
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Getter for rate array length
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |
Default update routine - does nothing
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(inout) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont |
Variable container used in update |
||
class(ModelSurrogate), | intent(in), | optional | :: | hostModel |
Optional host model reference for callbacks during update |
|
class(ModelboundData), | intent(in), | optional | :: | hostData |
Optional host data reference for callbacks during update |
|
integer(kind=ik), | intent(in), | optional | :: | updatePriority |
Priority for this update call |
Returns array representing energy cost of this transition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transition), | intent(in) | :: | this |