multipatch_compatible_trace_space Function
- Seyed Ali Ghasemi
- BSD 3-Clause
- 65 statements
public pure function multipatch_compatible_trace_space(knot_a, nc_a, degree_a, knot_b, nc_b, degree_b, reverse, tol) result(ok)
Test whether two normalized univariate trace spaces coincide.
Degrees and control counts must match. Knot arrays are assumed to be valid
for the supplied degrees and counts. Values are compared after an
affine map from each active interval to ; reverse compares the
second trace in opposite orientation. Multiplicities agree exactly. At an
interior break the displacement is measured against each adjacent positive
span. A break of multiplicity p+1 must have the same mapped location.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | knot_a(:) |
First trace knot vector. |
|
| integer, | intent(in) | :: | nc_a |
First trace control-point count. |
||
| integer, | intent(in) | :: | degree_a |
First trace polynomial degree. |
||
| real(kind=rk), | intent(in), | contiguous | :: | knot_b(:) |
Second trace knot vector. |
|
| integer, | intent(in) | :: | nc_b |
Second trace control-point count. |
||
| integer, | intent(in) | :: | degree_b |
Second trace polynomial degree. |
||
| logical, | intent(in) | :: | reverse |
Reverse the normalized second trace before comparison. |
||
| real(kind=rk), | intent(in) | :: | tol |
Tolerance relative to the active interval and to incident interior spans. |