Fill grid edges.
Definition at line 46 of file MOM_horizontal_regridding.F90.
|
real function, dimension(0:size(m, 1)+1, 0:size(m, 2)+1) | fill_boundaries_real (m, cyclic_x, tripolar_n) |
| Fill grid edges for real data. More...
|
|
integer function, dimension(0:size(m, 1)+1, 0:size(m, 2)+1) | fill_boundaries_int (m, cyclic_x, tripolar_n) |
| Fill grid edges for integer data. More...
|
|
◆ fill_boundaries_int()
integer function, dimension(0:size(m,1)+1,0:size(m,2)+1) mom_horizontal_regridding::fill_boundaries::fill_boundaries_int |
( |
integer, dimension(:,:), intent(in) |
m, |
|
|
logical, intent(in) |
cyclic_x, |
|
|
logical, intent(in) |
tripolar_n |
|
) |
| |
|
private |
Fill grid edges for integer data.
- Parameters
-
[in] | m | input array (ND) |
[in] | cyclic_x | True if domain is zonally re-entrant |
[in] | tripolar_n | True if domain has an Arctic fold |
Definition at line 900 of file MOM_horizontal_regridding.F90.
900 integer,
dimension(:,:),
intent(in) :: m
901 logical,
intent(in) :: cyclic_x
902 logical,
intent(in) :: tripolar_n
903 integer,
dimension(0:size(m,1)+1,0:size(m,2)+1) :: mp
905 real,
dimension(size(m,1),size(m,2)) :: m_real
906 real,
dimension(0:size(m,1)+1,0:size(m,2)+1) :: mp_real
910 mp_real = fill_boundaries_real(m_real,cyclic_x,tripolar_n)
◆ fill_boundaries_real()
real function, dimension(0:size(m,1)+1,0:size(m,2)+1) mom_horizontal_regridding::fill_boundaries::fill_boundaries_real |
( |
real, dimension(:,:), intent(in) |
m, |
|
|
logical, intent(in) |
cyclic_x, |
|
|
logical, intent(in) |
tripolar_n |
|
) |
| |
|
private |
Fill grid edges for real data.
- Parameters
-
[in] | m | input array (ND) |
[in] | cyclic_x | True if domain is zonally re-entrant |
[in] | tripolar_n | True if domain has an Arctic fold |
Definition at line 918 of file MOM_horizontal_regridding.F90.
918 real,
dimension(:,:),
intent(in) :: m
919 logical,
intent(in) :: cyclic_x
920 logical,
intent(in) :: tripolar_n
921 real,
dimension(0:size(m,1)+1,0:size(m,2)+1) :: mp
925 ni=
size(m,1); nj=
size(m,2)
930 mp(0,1:nj)=m(ni,1:nj)
931 mp(ni+1,1:nj)=m(1,1:nj)
934 mp(ni+1,1:nj)=m(ni,1:nj)
940 mp(i,nj+1)=m(ni-i+1,nj)
943 mp(1:ni,nj+1)=m(1:ni,nj)
The documentation for this interface was generated from the following file: