Find source and target to transfer particle
Find the largest src
, and the smallest tgt
,
with src <= tgt
,
to transfer one particle from src -> tgt
while adherring to GAS constraints.
This is not yet the next supergroup, because
one still has to move as many particles as possible
from the right of tgt
closer to tgt
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(LocalGASSpec_t), | intent(in) | :: | GAS_spec | |||
integer, | intent(in) | :: | sg(:) |
A given supergroup |
||
integer, | intent(out) | :: | src |
Source and target GAS space.
If no possible movement with |
||
integer, | intent(out) | :: | tgt |
Source and target GAS space.
If no possible movement with |