nested_edge_transfer Subroutine
public pure subroutine nested_edge_transfer(coarse, fine, degree, rowptr, col, val, ok, reverse)
Oslo refinement evaluates the coarse blossom at fine(i+1), ..., fine(i+p) to obtain Q_i. Both input vectors are ascending. CSR rows and columns retain their original fine and coarse storage orders, including when the edge orientation reverses. Lyche, A note on the Oslo algorithm, Eq. 1.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | coarse(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | fine(:) | ||
| integer, | intent(in) | :: | degree | |||
| integer, | intent(out), | allocatable | :: | rowptr(:) | ||
| integer, | intent(out), | allocatable | :: | col(:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | val(:) | ||
| logical, | intent(out) | :: | ok | |||
| logical, | intent(in), | optional | :: | reverse |