This function returns the tri-linearly interpolated values from the seven source points to the target position located at targetCoord. The source points are arranged in a square from (0,0,0)x(1,1,1) The order of the source points are according to the morton curve
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | srcVal(nSize,7) | source values of the square corners |
||
| real(kind=rk), | intent(in) | :: | targetCoord(3) | interpolation location within the square |
||
| integer, | intent(in) | :: | nSize | vector size |
interpolated value
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private | :: | phi_northFront | ||||
| real(kind=rk), | private | :: | phi_southFront | ||||
| real(kind=rk), | private | :: | phi_northBack | ||||
| real(kind=rk), | private | :: | phi_southBack | ||||
| real(kind=rk), | private | :: | phi_front | ||||
| real(kind=rk), | private | :: | phi_back | ||||
| integer, | private | :: | iSize |