|
MOM6
|
Rotate a pair of arrays which map to a rotated set of indices. Rotation is applied across the first and second axes of the array. This rotation should be applied when one field is mapped onto the other. For example, a tracer indexed along u or v face points will map from one to the other after a quarter turn, and back onto itself after a half turn.
Definition at line 41 of file MOM_array_transform.F90.
Private functions | |
| subroutine | rotate_array_pair_real_2d (A_in, B_in, turns, A, B) |
| Rotate the elements of a 2d real array pair along first and second axes. More... | |
| subroutine | rotate_array_pair_real_3d (A_in, B_in, turns, A, B) |
| Rotate the elements of a 3d real array pair along first and second axes. More... | |
| subroutine | rotate_array_pair_integer (A_in, B_in, turns, A, B) |
| Rotate the elements of a 4d real array pair along first and second axes. More... | |
Rotate a pair of arrays which map to a rotated set of indices. Rotation is applied across the first and second axes of the array. This rotation should be applied when one field is mapped onto the other. For example, a tracer indexed along u or v face points will map from one to the other after a quarter turn, and back onto itself after a half turn.
Definition at line 41 of file MOM_array_transform.F90.
|
private |
Rotate the elements of a 4d real array pair along first and second axes.
| [in] | a_in | Unrotated scalar array pair |
| [in] | b_in | Unrotated scalar array pair |
| [in] | turns | Number of quarter turns |
| [out] | a | Rotated scalar array pair |
| [out] | b | Rotated scalar array pair |
Definition at line 212 of file MOM_array_transform.F90.
|
private |
Rotate the elements of a 2d real array pair along first and second axes.
| [in] | a_in | Unrotated scalar array pair |
| [in] | b_in | Unrotated scalar array pair |
| [in] | turns | Number of quarter turns |
| [out] | a | Rotated scalar array pair |
| [out] | b | Rotated scalar array pair |
Definition at line 177 of file MOM_array_transform.F90.
|
private |
Rotate the elements of a 3d real array pair along first and second axes.
| [in] | a_in | Unrotated scalar array pair |
| [in] | b_in | Unrotated scalar array pair |
| [in] | turns | Number of quarter turns |
| [out] | a | Rotated scalar array pair |
| [out] | b | Rotated scalar array pair |
Definition at line 195 of file MOM_array_transform.F90.