SCALE-RM
Functions/Subroutines | Variables
scale_ocean_grid_icoa_index Module Reference

module ocean / grid / icosahedralA / index More...

Functions/Subroutines

subroutine, public ocean_grid_icoa_index_setup
 Setup. More...
 

Variables

integer, public okmax = -1
 
integer, public oimax = -1
 
integer, public ojmax = -1
 
integer, public oka
 
integer, public oks
 
integer, public oke
 
integer, public oia
 
integer, public ois
 
integer, public oie
 
integer, public oja
 
integer, public ojs
 
integer, public oje
 

Detailed Description

module ocean / grid / icosahedralA / index

Description
Grid Index module for ocean
Author
Team SCALE
NAMELIST
  • PARAM_OCEAN_GRID_ICOA_INDEX
    nametypedefault valuecomment
    OKMAX integer -1 # of computational cells: z for ocean

History Output
No history output

Function/Subroutine Documentation

◆ ocean_grid_icoa_index_setup()

subroutine, public scale_ocean_grid_icoa_index::ocean_grid_icoa_index_setup

Setup.

Definition at line 65 of file scale_ocean_grid_icoA_index.F90.

65  use scale_prc, only: &
66  prc_abort
67  use scale_atmos_grid_icoa_index, only: &
68  imax, &
69  ia, is, ie, &
70  jmax, &
71  ja, js, je
72  implicit none
73 
74  namelist / param_ocean_grid_icoa_index / &
75  okmax
76 
77  integer :: ierr
78  !---------------------------------------------------------------------------
79 
80  log_newline
81  log_info("OCEAN_GRID_ICOA_INDEX_setup",*) 'Setup'
82 
83  !--- read namelist
84  rewind(io_fid_conf)
85  read(io_fid_conf,nml=param_ocean_grid_icoa_index,iostat=ierr)
86  if( ierr < 0 ) then !--- missing
87  log_info("OCEAN_GRID_ICOA_INDEX_setup",*) 'Not found namelist. Default used.'
88  elseif( ierr > 0 ) then !--- fatal error
89  log_error("OCEAN_GRID_ICOA_INDEX_setup",*) 'Not appropriate names in namelist PARAM_OCEAN_GRID_ICOA_INDEX. Check!'
90  call prc_abort
91  endif
92  log_nml(param_ocean_grid_icoa_index)
93 
94  if ( okmax < 1 ) then
95  log_error("OCEAN_GRID_ICOA_INDEX_setup",*) 'OKMAX must be >= 1 ', okmax
96  call prc_abort
97  end if
98 
99  oka = okmax
100  oks = 1
101  oke = okmax
102 
103  log_newline
104  log_info("OCEAN_GRID_ICOA_INDEX_setup",*) 'Ocean grid index information '
105  log_info_cont('(1x,A,I6,A,I6,A,I6)') 'z-axis levels :', okmax
106 
107 
108  ! at this moment horizontal grid is same as that in atmosphere
109  oimax = imax
110  oia = ia
111  ois = is
112  oie = ie
113 
114  ojmax = jmax
115  oja = ja
116  ojs = js
117  oje = je
118 
119  !$acc update device(OKMAX,OIMAX,OJMAX)
120  !$acc update device(OKA,OKS,OKE)
121  !$acc update device(OIA,OIS,OIE)
122  !$acc update device(OJA,OJS,OJE)
123  return

References scale_atmos_grid_icoa_index::ia, scale_atmos_grid_icoa_index::ie, scale_atmos_grid_icoa_index::imax, scale_io::io_fid_conf, scale_atmos_grid_icoa_index::is, scale_atmos_grid_icoa_index::ja, scale_atmos_grid_icoa_index::je, scale_atmos_grid_icoa_index::jmax, scale_atmos_grid_icoa_index::js, oia, oie, oimax, ois, oja, oje, ojmax, ojs, oka, oke, okmax, oks, and scale_prc::prc_abort().

Here is the call graph for this function:

Variable Documentation

◆ okmax

integer, public scale_ocean_grid_icoa_index::okmax = -1

Definition at line 32 of file scale_ocean_grid_icoA_index.F90.

32  integer, public :: OKMAX = -1 ! # of computational cells: z for ocean

Referenced by ocean_grid_icoa_index_setup(), and scale_ocean_grid_icoa::ocean_grid_icoa_setup().

◆ oimax

integer, public scale_ocean_grid_icoa_index::oimax = -1

Definition at line 33 of file scale_ocean_grid_icoA_index.F90.

33  integer, public :: OIMAX = -1 ! # of computational cells: x for ocean

Referenced by ocean_grid_icoa_index_setup().

◆ ojmax

integer, public scale_ocean_grid_icoa_index::ojmax = -1

Definition at line 34 of file scale_ocean_grid_icoA_index.F90.

34  integer, public :: OJMAX = -1 ! # of computational cells: y for ocean

Referenced by ocean_grid_icoa_index_setup().

◆ oka

integer, public scale_ocean_grid_icoa_index::oka

Definition at line 37 of file scale_ocean_grid_icoA_index.F90.

37  integer, public :: OKA ! # of total grids: z for ocean, local

Referenced by ocean_grid_icoa_index_setup(), and scale_ocean_grid_icoa::ocean_grid_icoa_setup().

◆ oks

integer, public scale_ocean_grid_icoa_index::oks

Definition at line 38 of file scale_ocean_grid_icoA_index.F90.

38  integer, public :: OKS ! start point of inner domain: z for ocean, local

Referenced by ocean_grid_icoa_index_setup(), and scale_ocean_grid_icoa::ocean_grid_icoa_setup().

◆ oke

integer, public scale_ocean_grid_icoa_index::oke

Definition at line 39 of file scale_ocean_grid_icoA_index.F90.

39  integer, public :: OKE ! end point of inner domain: z for ocean, local

Referenced by ocean_grid_icoa_index_setup(), and scale_ocean_grid_icoa::ocean_grid_icoa_setup().

◆ oia

integer, public scale_ocean_grid_icoa_index::oia

Definition at line 42 of file scale_ocean_grid_icoA_index.F90.

42  integer, public :: OIA ! # of total grids: x for ocean, local

Referenced by ocean_grid_icoa_index_setup().

◆ ois

integer, public scale_ocean_grid_icoa_index::ois

Definition at line 43 of file scale_ocean_grid_icoA_index.F90.

43  integer, public :: OIS ! start point of inner domain: x for ocean, local

Referenced by ocean_grid_icoa_index_setup().

◆ oie

integer, public scale_ocean_grid_icoa_index::oie

Definition at line 44 of file scale_ocean_grid_icoA_index.F90.

44  integer, public :: OIE ! end point of inner domain: x for ocean, local

Referenced by ocean_grid_icoa_index_setup().

◆ oja

integer, public scale_ocean_grid_icoa_index::oja

Definition at line 47 of file scale_ocean_grid_icoA_index.F90.

47  integer, public :: OJA ! # of total grids: y for ocean, local

Referenced by ocean_grid_icoa_index_setup().

◆ ojs

integer, public scale_ocean_grid_icoa_index::ojs

Definition at line 48 of file scale_ocean_grid_icoA_index.F90.

48  integer, public :: OJS ! start point of inner domain: y for ocean, local

Referenced by ocean_grid_icoa_index_setup().

◆ oje

integer, public scale_ocean_grid_icoa_index::oje

Definition at line 49 of file scale_ocean_grid_icoA_index.F90.

49  integer, public :: OJE ! end point of inner domain: y for ocean, local

Referenced by ocean_grid_icoa_index_setup().

scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:350
scale_atmos_grid_cartesc_index::imax
integer, public imax
Definition: scale_atmos_grid_cartesC_index.F90:37
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_atmos_grid_cartesc_index::ie
integer, public ie
end point of inner domain: x, local
Definition: scale_atmos_grid_cartesC_index.F90:54
scale_atmos_grid_cartesc_index::ia
integer, public ia
Definition: scale_atmos_grid_cartesC_index.F90:48
scale_atmos_grid_cartesc_index::is
integer, public is
start point of inner domain: x, local
Definition: scale_atmos_grid_cartesC_index.F90:53
scale_atmos_grid_cartesc_index::ja
integer, public ja
Definition: scale_atmos_grid_cartesC_index.F90:49
scale_atmos_grid_icoa_index
module atmosphere / grid / icosahedralA / index
Definition: scale_atmos_grid_icoA_index.F90:12
scale_atmos_grid_cartesc_index::jmax
integer, public jmax
Definition: scale_atmos_grid_cartesC_index.F90:38
scale_atmos_grid_cartesc_index::js
integer, public js
start point of inner domain: y, local
Definition: scale_atmos_grid_cartesC_index.F90:55
scale_atmos_grid_cartesc_index::je
integer, public je
end point of inner domain: y, local
Definition: scale_atmos_grid_cartesC_index.F90:56