Definition at line 65 of file MOM_domains.F90.
|
subroutine | pass_var_3d (array, MOM_dom, sideflag, complete, position, halo) |
|
subroutine | pass_var_2d (array, MOM_dom, sideflag, complete, position, halo) |
|
◆ pass_var_2d()
subroutine mom_domains::pass_var::pass_var_2d |
( |
real, dimension(:,:), intent(inout) |
array, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
sideflag, |
|
|
logical, intent(in), optional |
complete, |
|
|
integer, intent(in), optional |
position, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[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] | complete | An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true. |
[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 198 of file MOM_domains.F90.
198 real,
dimension(:,:),
intent(inout) :: array
200 type(mom_domain_type),
intent(inout) :: mom_dom
202 integer,
optional,
intent(in) :: sideflag
206 logical,
optional,
intent(in) :: complete
210 integer,
optional,
intent(in) :: position
213 integer,
optional,
intent(in) :: halo
232 logical :: block_til_complete
235 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 236 block_til_complete = .true.
237 if (
present(complete)) block_til_complete = complete
239 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 240 call mpp_update_domains(array, mom_dom%mpp_domain, flags=dirflag, &
241 complete=block_til_complete, position=position, &
242 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
244 call mpp_update_domains(array, mom_dom%mpp_domain, flags=dirflag, &
245 complete=block_til_complete, position=position)
◆ pass_var_3d()
subroutine mom_domains::pass_var::pass_var_3d |
( |
real, dimension(:,:,:), intent(inout) |
array, |
|
|
type(mom_domain_type), intent(inout) |
MOM_dom, |
|
|
integer, intent(in), optional |
sideflag, |
|
|
logical, intent(in), optional |
complete, |
|
|
integer, intent(in), optional |
position, |
|
|
integer, intent(in), optional |
halo |
|
) |
| |
|
private |
- Parameters
-
[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, sothe halos on the western side are filled. TO_ALL is the default if sideflag is omitted. |
[in] | complete | An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true. |
[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 144 of file MOM_domains.F90.
144 real,
dimension(:,:,:),
intent(inout) :: array
146 type(mom_domain_type),
intent(inout) :: mom_dom
149 integer,
optional,
intent(in) :: sideflag
153 logical,
optional,
intent(in) :: complete
157 integer,
optional,
intent(in) :: position
160 integer,
optional,
intent(in) :: halo
178 logical :: block_til_complete
181 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 182 block_til_complete = .true.
183 if (
present(complete)) block_til_complete = complete
185 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 186 call mpp_update_domains(array, mom_dom%mpp_domain, flags=dirflag, &
187 complete=block_til_complete, position=position, &
188 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
190 call mpp_update_domains(array, mom_dom%mpp_domain, flags=dirflag, &
191 complete=block_til_complete, position=position)
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