constraint_rows Subroutine
public pure subroutine constraint_rows(patches, connections, nconnection, offsets, rowptr, col, val, geometric, field, err, powers, rtol, active_only)
Assemble one-based CSR equations with row pointers rowptr, columns col and coefficients val.
Raw columns index homogeneous controls in patch storage order. A nested edge or face
contributes one row per fine control, with both traces expressed in the fine basis.
Set field=.true. for equilibrated ordinary-field rows. With active_only=.true.,
they use the same IDs as the elements and omit rows already enforced by sharing.
The optional geometric filter selects geometric or parametric connections.
Inspect err for incompatible denominators or unrepresentable coefficients.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(*), | intent(in), | optional | :: | patches(:) | ||
| type(multipatch_connection), | intent(in), | optional | :: | connections(:) | ||
| integer, | intent(in) | :: | nconnection | |||
| integer, | intent(in), | contiguous | :: | offsets(:) | ||
| integer, | intent(out), | allocatable | :: | rowptr(:) | ||
| integer, | intent(out), | allocatable | :: | col(:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | val(:) | ||
| logical, | intent(in), | optional | :: | geometric | ||
| logical, | intent(in), | optional | :: | field | ||
| type(debug), | intent(out), | optional | :: | err | ||
| integer, | intent(out), | optional, | allocatable | :: | powers(:) | |
| real(kind=rk), | intent(in), | optional | :: | rtol | ||
| logical, | intent(in), | optional | :: | active_only |