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 lks
 
integer, public lke
 
integer, public lia
 
integer, public lis
 
integer, public lie
 
integer, public lja
 
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 63 of file scale_land_grid_cartesC_index.F90.

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

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.

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

Referenced by land_grid_cartesc_index_setup().

◆ ljmax

integer, public scale_land_grid_cartesc_index::ljmax = -1

Definition at line 34 of file scale_land_grid_cartesC_index.F90.

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

Referenced by land_grid_cartesc_index_setup().

◆ lka

integer, public scale_land_grid_cartesc_index::lka = -1

◆ lks

integer, public scale_land_grid_cartesc_index::lks

◆ lke

integer, public scale_land_grid_cartesc_index::lke

◆ lia

integer, public scale_land_grid_cartesc_index::lia

◆ lis

integer, public scale_land_grid_cartesc_index::lis

◆ lie

integer, public scale_land_grid_cartesc_index::lie

◆ lja

integer, public scale_land_grid_cartesc_index::lja

◆ ljs

integer, public scale_land_grid_cartesc_index::ljs

◆ lje

integer, public scale_land_grid_cartesc_index::lje
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
module atmosphere / grid / cartesC index
Definition: scale_atmos_grid_cartesC_index.F90:12
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_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