Definition at line 77 of file MOM_domains.F90.
|
subroutine | pass_var_complete_3d (id_update, array, MOM_dom, sideflag, position, halo) |
|
subroutine | pass_var_complete_2d (id_update, array, MOM_dom, sideflag, position, halo) |
|
◆ pass_var_complete_2d()
subroutine mom_domains::pass_var_complete::pass_var_complete_2d |
( |
integer, intent(in) |
id_update, |
|
|
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] | id_update | The integer id of this update which has been returned from a previous call to pass_var_start. |
[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 356 of file MOM_domains.F90.
356 integer,
intent(in) :: id_update
359 real,
dimension(:,:),
intent(inout) :: array
361 type(mom_domain_type),
intent(inout) :: mom_dom
364 integer,
optional,
intent(in) :: sideflag
368 integer,
optional,
intent(in) :: position
371 integer,
optional,
intent(in) :: halo
390 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 392 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 393 call mpp_complete_update_domains(id_update, array, mom_dom%mpp_domain, &
394 flags=dirflag, position=position, &
395 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
397 call mpp_complete_update_domains(id_update, array, mom_dom%mpp_domain, &
398 flags=dirflag, position=position)
◆ pass_var_complete_3d()
subroutine mom_domains::pass_var_complete::pass_var_complete_3d |
( |
integer, intent(in) |
id_update, |
|
|
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] | id_update | The integer id of this update which has been returned from a previous call to pass_var_start. |
[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 405 of file MOM_domains.F90.
405 integer,
intent(in) :: id_update
408 real,
dimension(:,:,:),
intent(inout) :: array
410 type(mom_domain_type),
intent(inout) :: mom_dom
413 integer,
optional,
intent(in) :: sideflag
417 integer,
optional,
intent(in) :: position
420 integer,
optional,
intent(in) :: halo
439 if (
present(sideflag))
then ;
if (sideflag > 0) dirflag = sideflag ;
endif 441 if (
present(halo) .and. mom_dom%thin_halo_updates)
then 442 call mpp_complete_update_domains(id_update, array, mom_dom%mpp_domain, &
443 flags=dirflag, position=position, &
444 whalo=halo, ehalo=halo, shalo=halo, nhalo=halo)
446 call mpp_complete_update_domains(id_update, array, mom_dom%mpp_domain, &
447 flags=dirflag, 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