Definition at line 76 of file MOM_debugging.F90.
|
subroutine | chksum_vec_a3d (mesg, u_comp, v_comp, G, halos, scalars) |
|
subroutine | chksum_vec_a2d (mesg, u_comp, v_comp, G, halos, scalars) |
|
◆ chksum_vec_a2d()
subroutine mom_debugging::vec_chksum_a::chksum_vec_a2d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(g%isd:,g%jsd:), intent(in) |
u_comp, |
|
|
real, dimension(g%isd:,g%jsd:), intent(in) |
v_comp, |
|
|
type(ocean_grid_type), intent(inout) |
G, |
|
|
integer, intent(in), optional |
halos, |
|
|
logical, intent(in), optional |
scalars |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | An identifying message |
[in,out] | g | The ocean's grid structure |
[in] | u_comp | The u-component of the vector |
[in] | v_comp | The v-component of the vector |
[in] | halos | The width of halos to check (default 0) |
[in] | scalars | If true this is a pair of scalars that are being checked. |
Definition at line 707 of file MOM_debugging.F90.
707 character(len=*),
intent(in) :: mesg
708 type(ocean_grid_type),
intent(inout) :: g
709 real,
dimension(G%isd:,G%jsd:),
intent(in) :: u_comp
710 real,
dimension(G%isd:,G%jsd:),
intent(in) :: v_comp
711 integer,
optional,
intent(in) :: halos
712 logical,
optional,
intent(in) :: scalars
715 logical :: are_scalars
716 are_scalars = .false. ;
if (
present(scalars)) are_scalars = scalars
718 if (debug_chksums)
then 719 call hchksum(u_comp, mesg//
"(u)", g%HI, halos)
720 call hchksum(v_comp, mesg//
"(v)", g%HI, halos)
722 if (debug_redundant)
then 723 if (are_scalars)
then 724 call check_redundant_t(mesg, u_comp, v_comp, g, direction=to_all+scalar_pair)
726 call check_redundant_t(mesg, u_comp, v_comp, g)
◆ chksum_vec_a3d()
subroutine mom_debugging::vec_chksum_a::chksum_vec_a3d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(g%isd:,g%jsd:,:), intent(in) |
u_comp, |
|
|
real, dimension(g%isd:,g%jsd:,:), intent(in) |
v_comp, |
|
|
type(ocean_grid_type), intent(inout) |
G, |
|
|
integer, intent(in), optional |
halos, |
|
|
logical, intent(in), optional |
scalars |
|
) |
| |
|
private |
- Parameters
-
[in] | mesg | An identifying message |
[in,out] | g | The ocean's grid structure |
[in] | u_comp | The u-component of the vector |
[in] | v_comp | The v-component of the vector |
[in] | halos | The width of halos to check (default 0) |
[in] | scalars | If true this is a pair of scalars that are being checked. |
Definition at line 679 of file MOM_debugging.F90.
679 character(len=*),
intent(in) :: mesg
680 type(ocean_grid_type),
intent(inout) :: g
681 real,
dimension(G%isd:,G%jsd:,:),
intent(in) :: u_comp
682 real,
dimension(G%isd:,G%jsd:,:),
intent(in) :: v_comp
683 integer,
optional,
intent(in) :: halos
684 logical,
optional,
intent(in) :: scalars
687 logical :: are_scalars
688 are_scalars = .false. ;
if (
present(scalars)) are_scalars = scalars
690 if (debug_chksums)
then 691 call hchksum(u_comp, mesg//
"(u)", g%HI, halos)
692 call hchksum(v_comp, mesg//
"(v)", g%HI, halos)
694 if (debug_redundant)
then 695 if (are_scalars)
then 696 call check_redundant_t(mesg, u_comp, v_comp, g, direction=to_all+scalar_pair)
698 call check_redundant_t(mesg, u_comp, v_comp, g)
The documentation for this interface was generated from the following file:
- /home/adcroft/GitHub/workspace/Gaea-stats-MOM6-examples/MOM6-examples/src/MOM6/src/diagnostics/MOM_debugging.F90