Definition at line 40 of file MOM_checksums.F90.
|
subroutine | chksum_uv_2d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale) |
|
subroutine | chksum_uv_3d (mesg, arrayU, arrayV, HI, haloshift, symmetric, omit_corners, scale) |
|
◆ chksum_uv_2d()
subroutine mom_checksums::uvchksum::chksum_uv_2d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(hi%isdb:,hi%jsd:), intent(in) |
arrayU, |
|
|
real, dimension(hi%isd:,hi%jsdb:), intent(in) |
arrayV, |
|
|
type(hor_index_type), intent(in) |
HI, |
|
|
integer, intent(in), optional |
haloshift, |
|
|
logical, intent(in), optional |
symmetric, |
|
|
logical, intent(in), optional |
omit_corners, |
|
|
real, intent(in), optional |
scale |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayu | The u-component array to be checksummed |
[in] | arrayv | The v-component array to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for these arrays. |
Definition at line 409 of file MOM_checksums.F90.
409 character(len=*),
intent(in) :: mesg
410 type(hor_index_type),
intent(in) :: hi
411 real,
dimension(HI%IsdB:,HI%jsd:),
intent(in) :: arrayu
412 real,
dimension(HI%isd:,HI%JsdB:),
intent(in) :: arrayv
413 integer,
optional,
intent(in) :: haloshift
414 logical,
optional,
intent(in) :: symmetric
415 logical,
optional,
intent(in) :: omit_corners
416 real,
optional,
intent(in) :: scale
418 if (
present(haloshift))
then 419 call chksum_u_2d(arrayu,
'u '//mesg, hi, haloshift, symmetric, omit_corners, scale)
420 call chksum_v_2d(arrayv,
'v '//mesg, hi, haloshift, symmetric, omit_corners, scale)
422 call chksum_u_2d(arrayu,
'u '//mesg, hi, symmetric=symmetric)
423 call chksum_v_2d(arrayv,
'v '//mesg, hi, symmetric=symmetric)
◆ chksum_uv_3d()
subroutine mom_checksums::uvchksum::chksum_uv_3d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(hi%isdb:,hi%jsd:,:), intent(in) |
arrayU, |
|
|
real, dimension(hi%isd:,hi%jsdb:,:), intent(in) |
arrayV, |
|
|
type(hor_index_type), intent(in) |
HI, |
|
|
integer, intent(in), optional |
haloshift, |
|
|
logical, intent(in), optional |
symmetric, |
|
|
logical, intent(in), optional |
omit_corners, |
|
|
real, intent(in), optional |
scale |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayu | The u-component array to be checksummed |
[in] | arrayv | The v-component array to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | symmetric | If true, do the checksums on the full symmetric computational domain. |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for these arrays. |
Definition at line 429 of file MOM_checksums.F90.
429 character(len=*),
intent(in) :: mesg
430 type(hor_index_type),
intent(in) :: hi
431 real,
dimension(HI%IsdB:,HI%jsd:,:),
intent(in) :: arrayu
432 real,
dimension(HI%isd:,HI%JsdB:,:),
intent(in) :: arrayv
433 integer,
optional,
intent(in) :: haloshift
434 logical,
optional,
intent(in) :: symmetric
435 logical,
optional,
intent(in) :: omit_corners
436 real,
optional,
intent(in) :: scale
438 if (
present(haloshift))
then 439 call chksum_u_3d(arrayu,
'u '//mesg, hi, haloshift, symmetric, omit_corners, scale)
440 call chksum_v_3d(arrayv,
'v '//mesg, hi, haloshift, symmetric, omit_corners, scale)
442 call chksum_u_3d(arrayu,
'u '//mesg, hi, symmetric=symmetric)
443 call chksum_v_3d(arrayv,
'v '//mesg, hi, symmetric=symmetric)
The documentation for this interface was generated from the following file:
- /home/adcroft/GitHub/workspace/Gaea-stats-MOM6-examples/MOM6-examples/src/MOM6/src/framework/MOM_checksums.F90