SCALE-RM
Functions/Subroutines | Variables
scale_land_grid_index Module Reference

module land grid index More...

Functions/Subroutines

subroutine, public land_grid_index_setup
 Setup. More...
 

Variables

integer, public lkmax = 1
 
integer, public lks
 
integer, public lke
 

Detailed Description

module land grid index

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

History Output
No history output

Function/Subroutine Documentation

◆ land_grid_index_setup()

subroutine, public scale_land_grid_index::land_grid_index_setup ( )

Setup.

Definition at line 49 of file scale_land_grid_index.F90.

References scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, lke, lkmax, lks, and scale_process::prc_mpistop().

Referenced by mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().

49  use scale_process, only: &
51  implicit none
52 
53  namelist / param_land_index / &
54  lkmax
55 
56  integer :: ierr
57  !---------------------------------------------------------------------------
58 
59  if( io_l ) write(io_fid_log,*)
60  if( io_l ) write(io_fid_log,*) '++++++ Module[GRID_INDEX] / Categ[LAND GRID] / Origin[SCALElib]'
61 
62  !--- read namelist
63  rewind(io_fid_conf)
64  read(io_fid_conf,nml=param_land_index,iostat=ierr)
65  if( ierr < 0 ) then !--- missing
66  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
67  elseif( ierr > 0 ) then !--- fatal error
68  write(*,*) 'xxx Not appropriate names in namelist PARAM_LAND_INDEX. Check!'
69  call prc_mpistop
70  endif
71  if( io_nml ) write(io_fid_nml,nml=param_land_index)
72 
73  lks = 1
74  lke = lkmax
75 
76  if( io_l ) write(io_fid_log,*)
77  if( io_l ) write(io_fid_log,*) '*** Land grid index information ***'
78  if( io_l ) write(io_fid_log,'(1x,A,I6,A,I6,A,I6)') '*** z-axis levels :', lkmax
79 
80  return
subroutine, public prc_mpistop
Abort MPI.
module PROCESS
integer, public io_fid_conf
Config file ID.
Definition: scale_stdio.F90:55
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ lkmax

integer, public scale_land_grid_index::lkmax = 1

◆ lks

integer, public scale_land_grid_index::lks

◆ lke

integer, public scale_land_grid_index::lke