Config + running state for the KE attribution meter. Lives on
ocean_dyn_t; host-only (never device-mapped).
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public | :: | east_band | = | 16 |
East-wall band width in cells (the Kelvin-wave region; 16 covers the ~6-cell internal-radius wall trapping). |
|
| logical, | public | :: | enable | = | .false. |
Master gate — |
|
| integer, | public | :: | end_step | = | 0 |
Last outer step to sample (0 = no upper bound). |
|
| logical, | public | :: | have_prev | = | .false. |
.true. once a sample has landed; first row prints dKE = KE. |
|
| logical, | public | :: | header_done | = | .false. |
Column-header row emitted. |
|
| real(kind=wp), | public | :: | prev_east | = | 0.0_wp |
KE at the previous sample, per region. |
|
| real(kind=wp), | public | :: | prev_full | = | 0.0_wp | ||
| real(kind=wp), | public | :: | prev_rim | = | 0.0_wp | ||
| integer, | public | :: | rim_band | = | 8 |
Rim-region width in cells (distance from any physical wall). |
|
| integer, | public | :: | start_step | = | 0 |
First outer step to sample (0 = from the start). |
type :: ke_probe_t !! Config + running state for the KE attribution meter. Lives on !! `ocean_dyn_t`; host-only (never device-mapped). logical :: enable = .false. !! Master gate — `&ocean_bt_nml debug_ke_attr`. integer :: start_step = 0 !! First outer step to sample (0 = from the start). integer :: end_step = 0 !! Last outer step to sample (0 = no upper bound). integer :: rim_band = 8 !! Rim-region width in cells (distance from any physical wall). integer :: east_band = 16 !! East-wall band width in cells (the Kelvin-wave region; 16 !! covers the ~6-cell internal-radius wall trapping). logical :: have_prev = .false. !! .true. once a sample has landed; first row prints dKE = KE. logical :: header_done = .false. !! Column-header row emitted. real(wp) :: prev_full = 0.0_wp real(wp) :: prev_rim = 0.0_wp real(wp) :: prev_east = 0.0_wp !! KE at the previous sample, per region. end type ke_probe_t