Testing the 1D splitting.
We test all combinations, even though a higher number of modes in the children is probably not that relevant, it should still be possible.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | nModes | Number of modes in the (1D) polynomials to use in the check. |
||
| logical, | intent(out) | :: | success | Indication whether the tests were completed successfully. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | parentModes | ||||
| integer, | private | :: | childmodes | ||||
| integer, | private | :: | iPoint | ||||
| integer, | private | :: | iElem | ||||
| real(kind=rk), | private | :: | xi(nModes) | ||||
| real(kind=rk), | private | :: | x_left(nModes) | ||||
| real(kind=rk), | private | :: | x_right(nModes) | ||||
| real(kind=rk), | private | :: | legchild(nModes,nModes) | ||||
| real(kind=rk), | private | :: | legleft(nModes,nModes) | ||||
| real(kind=rk), | private | :: | legright(nModes,nModes) | ||||
| real(kind=rk), | private | :: | rootval(nModes,2) | ||||
| real(kind=rk), | private | :: | childval | ||||
| real(kind=rk), | private, | allocatable | :: | rootelem(:,:) | |||
| real(kind=rk), | private, | allocatable | :: | childelem(:,:) | |||
| real(kind=rk), | private | :: | tolerance |