cpld_gridgen
1.11.0
|
Determine the rotation angle on center and corner points. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | angles::find_ang |
Find the rotation angle on center (Ct) grid points. More... | |
subroutine | angles::find_angq |
Find the rotation angle on corner grid (Bu) points using the full MOM6 supergrid. More... | |
real(dbl_kind) function | angles::modulo_around_point (x, xc, Lx) |
Return the modulo value of x in an interval [xc-(Lx/2) xc+(Lx/2)] If Lx<=0, then it returns x without applying modulo arithmetic. More... | |
Determine the rotation angle on center and corner points.
This module finds the rotation angle for at both center and corner points It utilizes the MOM6 function modulo_around_point
Definition in file angles.F90.
subroutine angles::find_ang | ( | ) |
Find the rotation angle on center (Ct) grid points.
Definition at line 132 of file angles.F90.
subroutine angles::find_angq | ( | ) |
Find the rotation angle on corner grid (Bu) points using the full MOM6 supergrid.
Definition at line 26 of file angles.F90.
real(dbl_kind) function angles::modulo_around_point | ( | real(dbl_kind), intent(in) | x, |
real(dbl_kind), intent(in) | xc, | ||
real(dbl_kind), intent(in) | Lx | ||
) |
Return the modulo value of x in an interval [xc-(Lx/2) xc+(Lx/2)] If Lx<=0, then it returns x without applying modulo arithmetic.
From src/initialization/MOM_shared_initialization.F90:
[in] | x | Value to which to apply modulo arithmetic |
[in] | xc | Center of modulo range |
[in] | Lx | Modulo range width |
Definition at line 189 of file angles.F90.