Definition at line 36 of file MOM_checksums.F90.
|
subroutine | chksum_pair_h_2d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale) |
|
subroutine | chksum_pair_h_3d (mesg, arrayA, arrayB, HI, haloshift, omit_corners, scale) |
|
◆ chksum_pair_h_2d()
subroutine mom_checksums::hchksum_pair::chksum_pair_h_2d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(hi%isd:,hi%jsd:), intent(in) |
arrayA, |
|
|
real, dimension(hi%isd:,hi%jsd:), intent(in) |
arrayB, |
|
|
type(hor_index_type), intent(in) |
HI, |
|
|
integer, intent(in), optional |
haloshift, |
|
|
logical, intent(in), optional |
omit_corners, |
|
|
real, intent(in), optional |
scale |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 92 of file MOM_checksums.F90.
92 character(len=*),
intent(in) :: mesg
93 type(hor_index_type),
intent(in) :: hi
94 real,
dimension(HI%isd:,HI%jsd:),
intent(in) :: arraya, arrayb
95 integer,
optional,
intent(in) :: haloshift
96 logical,
optional,
intent(in) :: omit_corners
97 real,
optional,
intent(in) :: scale
99 if (
present(haloshift))
then 100 call chksum_h_2d(arraya,
'x '//mesg, hi, haloshift, omit_corners, scale=scale)
101 call chksum_h_2d(arrayb,
'y '//mesg, hi, haloshift, omit_corners, scale=scale)
103 call chksum_h_2d(arraya,
'x '//mesg, hi, scale=scale)
104 call chksum_h_2d(arrayb,
'y '//mesg, hi, scale=scale)
◆ chksum_pair_h_3d()
subroutine mom_checksums::hchksum_pair::chksum_pair_h_3d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(hi%isd:,hi%jsd:, :), intent(in) |
arrayA, |
|
|
real, dimension(hi%isd:,hi%jsd:, :), intent(in) |
arrayB, |
|
|
type(hor_index_type), intent(in) |
HI, |
|
|
integer, intent(in), optional |
haloshift, |
|
|
logical, intent(in), optional |
omit_corners, |
|
|
real, intent(in), optional |
scale |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | Identifying messages |
[in] | hi | A horizontal index type |
[in] | arrayb | The arrays to be checksummed |
[in] | haloshift | The width of halos to check (default 0) |
[in] | omit_corners | If true, avoid checking diagonal shifts |
[in] | scale | A scaling factor for this array. |
Definition at line 110 of file MOM_checksums.F90.
110 character(len=*),
intent(in) :: mesg
111 type(hor_index_type),
intent(in) :: hi
112 real,
dimension(HI%isd:,HI%jsd:, :),
intent(in) :: arraya, arrayb
113 integer,
optional,
intent(in) :: haloshift
114 logical,
optional,
intent(in) :: omit_corners
115 real,
optional,
intent(in) :: scale
117 if (
present(haloshift))
then 118 call chksum_h_3d(arraya,
'x '//mesg, hi, haloshift, omit_corners, scale=scale)
119 call chksum_h_3d(arrayb,
'y '//mesg, hi, haloshift, omit_corners, scale=scale)
121 call chksum_h_3d(arraya,
'x '//mesg, hi, scale=scale)
122 call chksum_h_3d(arrayb,
'y '//mesg, hi, scale=scale)
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