SCALE-RM
Functions/Subroutines | Variables
scale_land_grid_cartesc_index Module Reference

module land / grid / cartesianC / index More...

Functions/Subroutines

subroutine, public land_grid_cartesc_index_setup
 Setup. More...
 

Variables

integer, public lkmax = -1
 
integer, public limax = -1
 
integer, public ljmax = -1
 
integer, public lka = -1
 
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 / cartesianC / index

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

History Output
No history output

Function/Subroutine Documentation

◆ land_grid_cartesc_index_setup()

subroutine, public scale_land_grid_cartesc_index::land_grid_cartesc_index_setup ( )

Setup.

Definition at line 61 of file scale_land_grid_cartesC_index.F90.

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, lia, lie, limax, lis, lja, lje, ljmax, ljs, lka, lke, lkmax, lks, and scale_prc::prc_abort().

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

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_land_grid_cartesc_index / &
71  lkmax
72 
73  integer :: ierr
74  !---------------------------------------------------------------------------
75 
76  log_newline
77  log_info("LAND_GRID_CARTESC_INDEX_setup",*) 'Setup'
78 
79  !--- read namelist
80  rewind(io_fid_conf)
81  read(io_fid_conf,nml=param_land_grid_cartesc_index,iostat=ierr)
82  if( ierr < 0 ) then !--- missing
83  log_info("LAND_GRID_CARTESC_INDEX_setup",*) 'Not found namelist. Default used.'
84  elseif( ierr > 0 ) then !--- fatal error
85  log_error("LAND_GRID_CARTESC_INDEX_setup",*) 'Not appropriate names in namelist PARAM_LAND_GRID_CARTESC_INDEX. Check!'
86  call prc_abort
87  endif
88  log_nml(param_land_grid_cartesc_index)
89 
90  if ( lkmax < 1 ) then
91  log_error("LAND_GRID_CARTESC_INDEX_setup",*) 'LKMAX must be >= 1 ', lkmax
92  call prc_abort
93  end if
94 
95  lks = 1
96  lke = lkmax
97  lka = lkmax
98 
99  log_newline
100  log_info("LAND_GRID_CARTESC_INDEX_setup",*) 'Land grid index information '
101  log_info_cont('(1x,A,I6,A,I6,A,I6)') 'z-axis levels :', lkmax
102 
103  ! at this moment horizontal grid is same as that in atmosphere
104  limax = imax
105  lia = ia
106  lis = is
107  lie = ie
108 
109  ljmax = jmax
110  lja = ja
111  ljs = js
112  lje = je
113 
114  return
integer, public jmax
of computational cells: y, local
integer, public imax
of computational cells: x, local
integer, public ia
of whole cells: x, local, with HALO
integer, public ja
of whole cells: y, local, with HALO
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
integer, public is
start point of inner domain: x, local
integer, public ie
end point of inner domain: x, local
module atmosphere / grid / cartesC index
module PROCESS
Definition: scale_prc.F90:11
integer, public je
end point of inner domain: y, local
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
integer, public js
start point of inner domain: y, local
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ lkmax

integer, public scale_land_grid_cartesc_index::lkmax = -1

◆ limax

integer, public scale_land_grid_cartesc_index::limax = -1

Definition at line 33 of file scale_land_grid_cartesC_index.F90.

Referenced by land_grid_cartesc_index_setup().

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

◆ ljmax

integer, public scale_land_grid_cartesc_index::ljmax = -1

Definition at line 34 of file scale_land_grid_cartesC_index.F90.

Referenced by land_grid_cartesc_index_setup().

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

◆ lka

integer, public scale_land_grid_cartesc_index::lka = -1

◆ lia

integer, public scale_land_grid_cartesc_index::lia

◆ lja

integer, public scale_land_grid_cartesc_index::lja

◆ lks

integer, public scale_land_grid_cartesc_index::lks

◆ lke

integer, public scale_land_grid_cartesc_index::lke

◆ lis

integer, public scale_land_grid_cartesc_index::lis

◆ lie

integer, public scale_land_grid_cartesc_index::lie

◆ ljs

integer, public scale_land_grid_cartesc_index::ljs

◆ lje

integer, public scale_land_grid_cartesc_index::lje