Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions src/core_atmosphere/dynamics/mpas_atm_time_integration.F
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,8 @@ module atm_time_integration

use mpas_atm_iau

!
! Abstract interface for routine used to communicate halos of fields
! in a named group
!
abstract interface
subroutine halo_exchange_routine(domain, halo_group, ierr)

use mpas_derived_types, only : domain_type

type (domain_type), intent(inout) :: domain
character(len=*), intent(in) :: halo_group
integer, intent(out), optional :: ierr

end subroutine halo_exchange_routine
end interface
! Provides definition of halo_exchange_routine
#include "mpas_halo_interface.inc"

integer :: timerid, secs, u_secs

Expand Down
17 changes: 2 additions & 15 deletions src/core_atmosphere/mpas_atm_core.F
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,8 @@ module atm_core
use mpas_log, only : mpas_log_write, mpas_log_info
use mpas_io_units, only : mpas_new_unit, mpas_release_unit

!
! Abstract interface for routine used to communicate halos of fields
! in a named group
!
abstract interface
subroutine halo_exchange_routine(domain, halo_group, ierr)

use mpas_derived_types, only : domain_type

type (domain_type), intent(inout) :: domain
character(len=*), intent(in) :: halo_group
integer, intent(out), optional :: ierr

end subroutine halo_exchange_routine
end interface
! Provides definition of halo_exchange_routine
#include "mpas_halo_interface.inc"

type (MPAS_Clock_type), pointer :: clock

Expand Down
17 changes: 2 additions & 15 deletions src/core_atmosphere/mpas_atm_halos.F
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,8 @@ module mpas_atm_halos
use mpas_pool_routines
use mpas_log, only : mpas_log_write, mpas_log_info

!
! Abstract interface for routine used to communicate halos of fields
! in a named group
!
abstract interface
subroutine halo_exchange_routine(domain, halo_group, ierr)

use mpas_derived_types, only : domain_type

type (domain_type), intent(inout) :: domain
character(len=*), intent(in) :: halo_group
integer, intent(out), optional :: ierr

end subroutine halo_exchange_routine
end interface
! Provides definition of halo_exchange_routine
#include "mpas_halo_interface.inc"

procedure (halo_exchange_routine), pointer :: exchange_halo_group

Expand Down
17 changes: 2 additions & 15 deletions src/core_atmosphere/physics/mpas_atmphys_todynamics.F
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,8 @@ module mpas_atmphys_todynamics
! number concentrations due to PBL processes.
! Laura D. Fowler ([email protected]) / 2024-05-16.

!
! Abstract interface for routine used to communicate halos of fields
! in a named group
!
abstract interface
subroutine halo_exchange_routine(domain, halo_group, ierr)

use mpas_derived_types, only : domain_type

type (domain_type), intent(inout) :: domain
character(len=*), intent(in) :: halo_group
integer, intent(out), optional :: ierr

end subroutine halo_exchange_routine
end interface
! Provides definition of halo_exchange_routine
#include "mpas_halo_interface.inc"


contains
Expand Down
15 changes: 15 additions & 0 deletions src/framework/mpas_halo_interface.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
!
! Abstract interface for routine used to communicate halos of fields
! in a named group
!
abstract interface
subroutine halo_exchange_routine(domain, halo_group, ierr)

use mpas_derived_types, only : domain_type

type (domain_type), intent(inout) :: domain
character(len=*), intent(in) :: halo_group
integer, intent(out), optional :: ierr

end subroutine halo_exchange_routine
end interface