cpld_gridgen
1.12.0
|
Public Member Functions | |
subroutine | find_ang |
Find the rotation angle on center (Ct) grid points. More... | |
subroutine | find_angq |
Find the rotation angle on corner grid (Bu) points using the full MOM6 supergrid. More... | |
real(dbl_kind) function | 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... | |
Definition at line 10 of file angles.F90.
subroutine angles::find_ang | ( | ) |
Find the rotation angle on center (Ct) grid points.
Definition at line 131 of file angles.F90.
References modulo_around_point().
Referenced by gen_fixgrid().
subroutine angles::find_angq | ( | ) |
Find the rotation angle on corner grid (Bu) points using the full MOM6 supergrid.
Definition at line 25 of file angles.F90.
References modulo_around_point().
Referenced by gen_fixgrid().
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 188 of file angles.F90.
Referenced by find_ang(), and find_angq().