connection_weight_scale Subroutine
public pure subroutine connection_weight_scale(patches, conn, tol, weight_scale, ok, scale_power)
Compare the oriented denominator coefficients W_A = factor * W_B. Polynomial patches have unit denominator, including stored constant weights. Only active normal layers enter the endpoint contraction on each rational side.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in) | :: | patches(:) | |||
| type(multipatch_connection), | intent(in) | :: | conn | |||
| real(kind=rk), | intent(in) | :: | tol | |||
| real(kind=rk), | intent(out) | :: | weight_scale | |||
| logical, | intent(out) | :: | ok | |||
| integer, | intent(out) | :: | scale_power |