SCALE-RM
Functions/Subroutines | Variables
scale_ocean_grid_cartesc_index Module Reference

module ocean / grid / cartesianC / index More...

Functions/Subroutines

subroutine, public ocean_grid_cartesc_index_setup
 Setup. More...
 

Variables

integer, public okmax = -1
 
integer, public oimax = -1
 
integer, public ojmax = -1
 
integer, public oka = -1
 
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 / cartesianC / index

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

History Output
No history output

Function/Subroutine Documentation

◆ ocean_grid_cartesc_index_setup()

subroutine, public scale_ocean_grid_cartesc_index::ocean_grid_cartesc_index_setup

Setup.

Definition at line 61 of file scale_ocean_grid_cartesC_index.F90.

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

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

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ okmax

integer, public scale_ocean_grid_cartesc_index::okmax = -1

◆ oimax

integer, public scale_ocean_grid_cartesc_index::oimax = -1

Definition at line 33 of file scale_ocean_grid_cartesC_index.F90.

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

Referenced by ocean_grid_cartesc_index_setup().

◆ ojmax

integer, public scale_ocean_grid_cartesc_index::ojmax = -1

Definition at line 34 of file scale_ocean_grid_cartesC_index.F90.

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

Referenced by ocean_grid_cartesc_index_setup().

◆ oka

integer, public scale_ocean_grid_cartesc_index::oka = -1

◆ oks

integer, public scale_ocean_grid_cartesc_index::oks

◆ oke

integer, public scale_ocean_grid_cartesc_index::oke

◆ oia

integer, public scale_ocean_grid_cartesc_index::oia

◆ ois

integer, public scale_ocean_grid_cartesc_index::ois

◆ oie

integer, public scale_ocean_grid_cartesc_index::oie

◆ oja

integer, public scale_ocean_grid_cartesc_index::oja

◆ ojs

integer, public scale_ocean_grid_cartesc_index::ojs

◆ oje

integer, public scale_ocean_grid_cartesc_index::oje
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_atmos_grid_cartesc_index
module atmosphere / grid / cartesC index
Definition: scale_atmos_grid_cartesC_index.F90:12