Cumul_get_possible_spaces Function

private pure function Cumul_get_possible_spaces(this, supergroup, add_holes, add_particles, n_total) result(spaces)

Type Bound



Type IntentOptional Attributes Name
class(CumulGASSpec_t), intent(in) :: this
integer, intent(in) :: supergroup(size(this%GAS_sizes))
integer, intent(in), optional :: add_holes(:)
integer, intent(in), optional :: add_particles(:)
integer, intent(in), optional :: n_total

Return Value integer, allocatable, (:)

Lower and upper bound for spaces where a particle can be created. If no particle can be created, then spaces == 0 .