Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | x(3) |
calculate martix from polar spheric to xyz coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | sintheta | |||
real(kind=real64), | intent(in) | :: | costheta | |||
real(kind=real64), | intent(in) | :: | sinphi | |||
real(kind=real64), | intent(in) | :: | cosphi | |||
real(kind=real64), | intent(in) | :: | dtheta | |||
real(kind=real64), | intent(in) | :: | dphi |
calculate matrix for xyz' ellipsoid coordinate Kwon to spheric
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | gm | |||
real(kind=real64), | intent(in) | :: | dgm |
calculate martix from magnetic to polar spheric coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | uax1(3) | |||
real(kind=real64), | intent(in) | :: | uax2(3) | |||
real(kind=real64), | intent(in) | :: | uax3(3) |
calculate martix from polar spheric to xyz coordinates
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | sintheta | |||
real(kind=real64), | intent(in) | :: | costheta | |||
real(kind=real64), | intent(in) | :: | sinphi | |||
real(kind=real64), | intent(in) | :: | cosphi |
calculate matrix for xyz' ellipsoid coordinate Kwon to spheric
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | gm |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | arr(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | r(3) |
trilinear interpolation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | phic(2,2,2) |
the value of phi at the corner of cubic box of side 1 |
||
real(kind=real64), | intent(in) | :: | x(3) |
location inside the cube (0<=x<=1) or outside x<0 x>1 |
interpolated phi
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | phic(2,2,2) |
phic the value of phi at the corner of cubic box of side 1 |
||
real(kind=real64), | intent(in) | :: | x(3) |
location inside the cube (0<=x<=1) or outside x<0 x>1 |
dphi(1)=dphi/dx, dphi(2)=dphi/dy, dphi(3)=dphi/dz