SCALE-RM
Functions/Subroutines | Variables
scale_land_grid_icoa_index Module Reference

module land / grid / icosahedralA / index More...

Functions/Subroutines

subroutine, public land_grid_icoa_index_setup
 Setup. More...
 

Variables

integer, public lkmax = -1
 
integer, public limax = -1
 
integer, public ljmax = -1
 
integer, public lka
 
integer, public lia
 
integer, public lja
 
integer, public lks
 
integer, public lke
 
integer, public lis
 
integer, public lie
 
integer, public ljs
 
integer, public lje
 

Detailed Description

module land / grid / icosahedralA / index

Description
Grid Index module for land
Author
Team SCALE
NAMELIST
  • PARAM_LAND_GRID_ICOA_INDEX
    nametypedefault valuecomment
    LKMAX integer -1 # of computational cells: z for land

History Output
No history output

Function/Subroutine Documentation

◆ land_grid_icoa_index_setup()

subroutine, public scale_land_grid_icoa_index::land_grid_icoa_index_setup

Setup.

Definition at line 60 of file scale_land_grid_icoA_index.F90.

60  use scale_prc, only: &
61  prc_abort
62  use scale_atmos_grid_icoa_index, only: &
63  imax, &
64  ia, is, ie, &
65  jmax, &
66  ja, js, je
67  implicit none
68 
69  namelist / param_land_grid_icoa_index / &
70  lkmax
71 
72  integer :: ierr
73  !---------------------------------------------------------------------------
74 
75  log_newline
76  log_info("LAND_GRID_ICOA_INDEX_setup",*) 'Setup'
77 
78  !--- read namelist
79  rewind(io_fid_conf)
80  read(io_fid_conf,nml=param_land_grid_icoa_index,iostat=ierr)
81  if( ierr < 0 ) then !--- missing
82  log_info("LAND_GRID_ICOA_INDEX_setup",*) 'Not found namelist. Default used.'
83  elseif( ierr > 0 ) then !--- fatal error
84  log_error("LAND_GRID_ICOA_INDEX_setup",*) 'Not appropriate names in namelist PARAM_LAND_GRID_ICOA_INDEX. Check!'
85  call prc_abort
86  endif
87  log_nml(param_land_grid_icoa_index)
88 
89  if ( lkmax < 1 ) then
90  log_error("LAND_GRID_ICOA_INDEX_setup",*) 'LKMAX must be >= 1 ', lkmax
91  call prc_abort
92  end if
93 
94  lks = 1
95  lke = lkmax
96  lka = lkmax
97 
98  log_newline
99  log_info("LAND_GRID_ICOA_INDEX_setup",*) 'Land grid index information '
100  log_info_cont('(1x,A,I6,A,I6,A,I6)') 'z-axis levels :', lkmax
101 
102  ! at this moment horizontal grid is same as that in atmosphere
103  limax = imax
104  lia = ia
105  lis = is
106  lie = ie
107 
108  ljmax = jmax
109  lja = ja
110  ljs = js
111  lje = je
112 
113  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, lia, lie, limax, lis, lja, lje, ljmax, ljs, lka, lke, lkmax, lks, and scale_prc::prc_abort().

Here is the call graph for this function:

Variable Documentation

◆ lkmax

integer, public scale_land_grid_icoa_index::lkmax = -1

Definition at line 32 of file scale_land_grid_icoA_index.F90.

32  integer, public :: LKMAX = -1 ! # of computational cells: z for land

Referenced by land_grid_icoa_index_setup(), and scale_land_grid_icoa::land_grid_icoa_setup().

◆ limax

integer, public scale_land_grid_icoa_index::limax = -1

Definition at line 33 of file scale_land_grid_icoA_index.F90.

33  integer, public :: LIMAX = -1 ! # of computational cells: x for land

Referenced by land_grid_icoa_index_setup().

◆ ljmax

integer, public scale_land_grid_icoa_index::ljmax = -1

Definition at line 34 of file scale_land_grid_icoA_index.F90.

34  integer, public :: LJMAX = -1 ! # of computational cells: y for land

Referenced by land_grid_icoa_index_setup().

◆ lka

integer, public scale_land_grid_icoa_index::lka

Definition at line 36 of file scale_land_grid_icoA_index.F90.

36  integer, public :: LKA ! # of total grids: z for land, local

Referenced by land_grid_icoa_index_setup().

◆ lia

integer, public scale_land_grid_icoa_index::lia

Definition at line 37 of file scale_land_grid_icoA_index.F90.

37  integer, public :: LIA ! # of total grids: x for land, local

Referenced by land_grid_icoa_index_setup().

◆ lja

integer, public scale_land_grid_icoa_index::lja

Definition at line 38 of file scale_land_grid_icoA_index.F90.

38  integer, public :: LJA ! # of total grids: y for land, local

Referenced by land_grid_icoa_index_setup().

◆ lks

integer, public scale_land_grid_icoa_index::lks

Definition at line 40 of file scale_land_grid_icoA_index.F90.

40  integer, public :: LKS ! start point of inner domain: z for land, local

Referenced by land_grid_icoa_index_setup(), and scale_land_grid_icoa::land_grid_icoa_setup().

◆ lke

integer, public scale_land_grid_icoa_index::lke

Definition at line 41 of file scale_land_grid_icoA_index.F90.

41  integer, public :: LKE ! end point of inner domain: z for land, local

Referenced by land_grid_icoa_index_setup(), and scale_land_grid_icoa::land_grid_icoa_setup().

◆ lis

integer, public scale_land_grid_icoa_index::lis

Definition at line 42 of file scale_land_grid_icoA_index.F90.

42  integer, public :: LIS ! start point of inner domain: x for land, local

Referenced by land_grid_icoa_index_setup().

◆ lie

integer, public scale_land_grid_icoa_index::lie

Definition at line 43 of file scale_land_grid_icoA_index.F90.

43  integer, public :: LIE ! end point of inner domain: x for land, local

Referenced by land_grid_icoa_index_setup().

◆ ljs

integer, public scale_land_grid_icoa_index::ljs

Definition at line 44 of file scale_land_grid_icoA_index.F90.

44  integer, public :: LJS ! start point of inner domain: y for land, local

Referenced by land_grid_icoa_index_setup().

◆ lje

integer, public scale_land_grid_icoa_index::lje

Definition at line 45 of file scale_land_grid_icoA_index.F90.

45  integer, public :: LJE ! end point of inner domain: y for land, local

Referenced by land_grid_icoa_index_setup().

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_icoa_index
module atmosphere / grid / icosahedralA / index
Definition: scale_atmos_grid_icoA_index.F90:12