Definition at line 85 of file MOM_domains.F90.
|
subroutine | pass_vector_complete_3d (id_update, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo) |
|
subroutine | pass_vector_complete_2d (id_update, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo) |
|
◆ pass_vector_complete_2d()
subroutine mom_domains::pass_vector_complete::pass_vector_complete_2d |
( |
integer, intent(in) |
id_update, |
|
|
real, dimension(:,:), intent(inout) |
u_cmpt, |
|
|
real, dimension(:,:), intent(inout) |
v_cmpt, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
direction, |
|
|
integer, intent(in), optional |
stagger, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[in] | id_update | The integer id of this update which has been returned from a previous call to pass_var_start. |
[in,out] | u_cmpt | The nominal zonal (u) component of the vector pair which is having its halos points exchanged. |
[in,out] | v_cmpt | The nominal meridional (v) component of the vector pair which is having its halos points exchanged. |
[in,out] | mom_dom | The MOM_domain_type containing the mpp_domain needed to determine where data should be sent. |
[in] | direction | An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted. |
[in] | stagger | An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE. |
[in] | halo | The size of the halo to update - the full halo by default. |
Definition at line 821 of file MOM_domains.F90.
821 integer,
intent(in) :: id_update
824 real,
dimension(:,:),
intent(inout) :: u_cmpt
827 real,
dimension(:,:),
intent(inout) :: v_cmpt
830 type(mom_domain_type),
intent(inout) :: mom_dom
833 integer,
optional,
intent(in) :: direction
839 integer,
optional,
intent(in) :: stagger
842 integer,
optional,
intent(in) :: halo
866 integer :: stagger_local
869 stagger_local = cgrid_ne
870 if (
present(stagger)) stagger_local = stagger
873 if (
present(direction))
then ;
if (direction > 0) dirflag = direction ;
endif 875 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 876 call mpp_complete_update_domains(id_update, u_cmpt, v_cmpt, &
877 mom_dom%mpp_domain, flags=dirflag, gridtype=stagger_local, &
878 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
880 call mpp_complete_update_domains(id_update, u_cmpt, v_cmpt, &
881 mom_dom%mpp_domain, flags=dirflag, gridtype=stagger_local)
◆ pass_vector_complete_3d()
subroutine mom_domains::pass_vector_complete::pass_vector_complete_3d |
( |
integer, intent(in) |
id_update, |
|
|
real, dimension(:,:,:), intent(inout) |
u_cmpt, |
|
|
real, dimension(:,:,:), intent(inout) |
v_cmpt, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
direction, |
|
|
integer, intent(in), optional |
stagger, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[in] | id_update | The integer id of this update which has been returned from a previous call to pass_var_start. |
[in,out] | u_cmpt | The nominal zonal (u) component of the vector pair which is having its halos points exchanged. |
[in,out] | v_cmpt | The nominal meridional (v) component of the vector pair which is having its halos points exchanged. |
[in,out] | mom_dom | The MOM_domain_type containing the mpp_domain needed to determine where data should be sent. |
[in] | direction | An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted. |
[in] | stagger | An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE. |
[in] | halo | The size of the halo to update - the full halo by default. |
Definition at line 888 of file MOM_domains.F90.
888 integer,
intent(in) :: id_update
891 real,
dimension(:,:,:),
intent(inout) :: u_cmpt
894 real,
dimension(:,:,:),
intent(inout) :: v_cmpt
897 type(mom_domain_type),
intent(inout) :: mom_dom
900 integer,
optional,
intent(in) :: direction
906 integer,
optional,
intent(in) :: stagger
909 integer,
optional,
intent(in) :: halo
933 integer :: stagger_local
936 stagger_local = cgrid_ne
937 if (
present(stagger)) stagger_local = stagger
940 if (
present(direction))
then ;
if (direction > 0) dirflag = direction ;
endif 942 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 943 call mpp_complete_update_domains(id_update, u_cmpt, v_cmpt, &
944 mom_dom%mpp_domain, flags=dirflag, gridtype=stagger_local, &
945 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
947 call mpp_complete_update_domains(id_update, u_cmpt, v_cmpt, &
948 mom_dom%mpp_domain, flags=dirflag, gridtype=stagger_local)
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_domains.F90