Definition at line 70 of file MOM_debugging.F90.
|
subroutine | chksum_vec_c3d (mesg, u_comp, v_comp, G, halos, scalars) |
|
subroutine | chksum_vec_c2d (mesg, u_comp, v_comp, G, halos, scalars) |
|
◆ chksum_vec_c2d()
subroutine mom_debugging::vec_chksum_c::chksum_vec_c2d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(g%isdb:,g%jsd:), intent(in) |
u_comp, |
|
|
real, dimension(g%isd:,g%jsdb:), 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 597 of file MOM_debugging.F90.
597 character(len=*),
intent(in) :: mesg
598 type(ocean_grid_type),
intent(inout) :: g
599 real,
dimension(G%IsdB:,G%jsd:),
intent(in) :: u_comp
600 real,
dimension(G%isd:,G%JsdB:),
intent(in) :: v_comp
601 integer,
optional,
intent(in) :: halos
602 logical,
optional,
intent(in) :: scalars
605 logical :: are_scalars
606 are_scalars = .false. ;
if (
present(scalars)) are_scalars = scalars
608 if (debug_chksums)
then 609 call uvchksum(mesg, u_comp, v_comp, g%HI, halos)
611 if (debug_redundant)
then 612 if (are_scalars)
then 613 call check_redundant_c(mesg, u_comp, v_comp, g, direction=to_all+scalar_pair)
615 call check_redundant_c(mesg, u_comp, v_comp, g)
◆ chksum_vec_c3d()
subroutine mom_debugging::vec_chksum_c::chksum_vec_c3d |
( |
character(len=*), intent(in) |
mesg, |
|
|
real, dimension(g%isdb:,g%jsd:,:), intent(in) |
u_comp, |
|
|
real, dimension(g%isd:,g%jsdb:,:), 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 571 of file MOM_debugging.F90.
571 character(len=*),
intent(in) :: mesg
572 type(ocean_grid_type),
intent(inout) :: g
573 real,
dimension(G%IsdB:,G%jsd:,:),
intent(in) :: u_comp
574 real,
dimension(G%isd:,G%JsdB:,:),
intent(in) :: v_comp
575 integer,
optional,
intent(in) :: halos
576 logical,
optional,
intent(in) :: scalars
579 logical :: are_scalars
580 are_scalars = .false. ;
if (
present(scalars)) are_scalars = scalars
582 if (debug_chksums)
then 583 call uvchksum(mesg, u_comp, v_comp, g%HI, halos)
585 if (debug_redundant)
then 586 if (are_scalars)
then 587 call check_redundant_c(mesg, u_comp, v_comp, g, direction=to_all+scalar_pair)
589 call check_redundant_c(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