getPopulationChangeMatrix Module Function

pure module function getPopulationChangeMatrix(this, ids, transitionIndices) result(popChangeMat)

For a given set of species indices and transition indices returns a matrix whose entries are the change in particle number of a given species (by index) in transition processes determined by passed indices. Will not provide warnings if any particular ID is not found in any transition.

Arguments

Type IntentOptional Attributes Name
class(ModelboundCRMData), intent(in) :: this
integer(kind=ik), intent(in), dimension(:) :: ids
integer(kind=ik), intent(in), dimension(:) :: transitionIndices

Return Value integer(kind=ik), dimension(:,:), allocatable