Definition at line 89 of file MOM_domains.F90.
|
subroutine | create_var_group_pass_2d (group, array, MOM_dom, sideflag, position, halo) |
|
subroutine | create_var_group_pass_3d (group, array, MOM_dom, sideflag, position, halo) |
|
subroutine | create_vector_group_pass_2d (group, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo) |
|
subroutine | create_vector_group_pass_3d (group, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo) |
|
◆ create_var_group_pass_2d()
subroutine mom_domains::create_group_pass::create_var_group_pass_2d |
( |
type(group_pass_type), intent(inout) |
group, |
|
|
real, dimension(:,:), intent(inout) |
array, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
sideflag, |
|
|
integer, intent(in), optional |
position, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[in,out] | group | The data type that store information for group update. This data will be used in do_group_pass. |
[in,out] | array | The array 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] | sideflag | 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. 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 sideflag is omitted. |
[in] | position | An optional argument indicating the position. This is usally CORNER, but is CENTER by default. |
[in] | halo | The size of the halo to update - the full halo by default. |
Definition at line 956 of file MOM_domains.F90.
956 type(group_pass_type),
intent(inout) :: group
959 real,
dimension(:,:),
intent(inout) :: array
961 type(mom_domain_type),
intent(inout) :: mom_dom
964 integer,
optional,
intent(in) :: sideflag
968 integer,
optional,
intent(in) :: position
971 integer,
optional,
intent(in) :: halo
991 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 993 if (mpp_group_update_initialized(group))
then 994 call mpp_reset_group_update_field(group,array)
995 elseif (
present(halo) .and. mom_dom%thin_halo_updates)
then 996 call mpp_create_group_update(group, array, mom_dom%mpp_domain, flags=dirflag, &
997 position=position, whalo=halo, ehalo=halo, &
998 shalo=halo, nhalo=halo)
1000 call mpp_create_group_update(group, array, mom_dom%mpp_domain, flags=dirflag, &
◆ create_var_group_pass_3d()
subroutine mom_domains::create_group_pass::create_var_group_pass_3d |
( |
type(group_pass_type), intent(inout) |
group, |
|
|
real, dimension(:,:,:), intent(inout) |
array, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
sideflag, |
|
|
integer, intent(in), optional |
position, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[in,out] | group | The data type that store information for group update. This data will be used in do_group_pass. |
[in,out] | array | The array 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] | sideflag | 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. 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 sideflag is omitted. |
[in] | position | An optional argument indicating the position. This is usally CORNER, but is CENTER by default. |
[in] | halo | The size of the halo to update - the full halo by default. |
Definition at line 1008 of file MOM_domains.F90.
1008 type(group_pass_type),
intent(inout) :: group
1011 real,
dimension(:,:,:),
intent(inout) :: array
1013 type(mom_domain_type),
intent(inout) :: mom_dom
1016 integer,
optional,
intent(in) :: sideflag
1020 integer,
optional,
intent(in) :: position
1023 integer,
optional,
intent(in) :: halo
1043 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 1045 if (mpp_group_update_initialized(group))
then 1046 call mpp_reset_group_update_field(group,array)
1047 elseif (
present(halo) .and. mom_dom%thin_halo_updates)
then 1048 call mpp_create_group_update(group, array, mom_dom%mpp_domain, flags=dirflag, &
1049 position=position, whalo=halo, ehalo=halo, &
1050 shalo=halo, nhalo=halo)
1052 call mpp_create_group_update(group, array, mom_dom%mpp_domain, flags=dirflag, &
◆ create_vector_group_pass_2d()
subroutine mom_domains::create_group_pass::create_vector_group_pass_2d |
( |
type(group_pass_type), intent(inout) |
group, |
|
|
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,out] | group | The data type that store information for group update. This data will be used in do_group_pass. |
[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 1060 of file MOM_domains.F90.
1060 type(group_pass_type),
intent(inout) :: group
1063 real,
dimension(:,:),
intent(inout) :: u_cmpt
1066 real,
dimension(:,:),
intent(inout) :: v_cmpt
1070 type(mom_domain_type),
intent(inout) :: mom_dom
1073 integer,
optional,
intent(in) :: direction
1079 integer,
optional,
intent(in) :: stagger
1082 integer,
optional,
intent(in) :: halo
1106 integer :: stagger_local
1109 stagger_local = cgrid_ne
1110 if (
present(stagger)) stagger_local = stagger
1113 if (
present(direction))
then ;
if (direction > 0) dirflag = direction ;
endif 1115 if (mpp_group_update_initialized(group))
then 1116 call mpp_reset_group_update_field(group,u_cmpt, v_cmpt)
1117 elseif (
present(halo) .and. mom_dom%thin_halo_updates)
then 1118 call mpp_create_group_update(group, u_cmpt, v_cmpt, mom_dom%mpp_domain, &
1119 flags=dirflag, gridtype=stagger_local, whalo=halo, ehalo=halo, &
1120 shalo=halo, nhalo=halo)
1122 call mpp_create_group_update(group, u_cmpt, v_cmpt, mom_dom%mpp_domain, &
1123 flags=dirflag, gridtype=stagger_local)
◆ create_vector_group_pass_3d()
subroutine mom_domains::create_group_pass::create_vector_group_pass_3d |
( |
type(group_pass_type), intent(inout) |
group, |
|
|
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,out] | group | The data type that store information for group update. This data will be used in do_group_pass. |
[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 1130 of file MOM_domains.F90.
1130 type(group_pass_type),
intent(inout) :: group
1133 real,
dimension(:,:,:),
intent(inout) :: u_cmpt
1136 real,
dimension(:,:,:),
intent(inout) :: v_cmpt
1140 type(mom_domain_type),
intent(inout) :: mom_dom
1143 integer,
optional,
intent(in) :: direction
1149 integer,
optional,
intent(in) :: stagger
1152 integer,
optional,
intent(in) :: halo
1177 integer :: stagger_local
1180 stagger_local = cgrid_ne
1181 if (
present(stagger)) stagger_local = stagger
1184 if (
present(direction))
then ;
if (direction > 0) dirflag = direction ;
endif 1186 if (mpp_group_update_initialized(group))
then 1187 call mpp_reset_group_update_field(group,u_cmpt, v_cmpt)
1188 elseif (
present(halo) .and. mom_dom%thin_halo_updates)
then 1189 call mpp_create_group_update(group, u_cmpt, v_cmpt, mom_dom%mpp_domain, &
1190 flags=dirflag, gridtype=stagger_local, whalo=halo, ehalo=halo, &
1191 shalo=halo, nhalo=halo)
1193 call mpp_create_group_update(group, u_cmpt, v_cmpt, mom_dom%mpp_domain, &
1194 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