SCALE-RM
scale_ocean_grid_cartesC_real.F90
Go to the documentation of this file.
1 !-------------------------------------------------------------------------------
10 !-------------------------------------------------------------------------------
11 #include "scalelib.h"
13  !-----------------------------------------------------------------------------
14  !
15  !++ used modules
16  !
17  use scale_precision
18  use scale_io
19  use scale_prof
22  !-----------------------------------------------------------------------------
23  implicit none
24  private
25  !-----------------------------------------------------------------------------
26  !
27  !++ Public procedure
28  !
30 
31  !-----------------------------------------------------------------------------
32  !
33  !++ Public parameters & variables
34  !
35  real(RP), public, allocatable :: ocean_grid_cartesc_real_area(:,:)
36  real(RP), public :: ocean_grid_cartesc_real_totarea
37  real(RP), public, allocatable :: ocean_grid_cartesc_real_vol (:,:,:)
38  real(RP), public :: ocean_grid_cartesc_real_totvol
39 
40  !-----------------------------------------------------------------------------
41  !
42  !++ Private procedure
43  !
44  !-----------------------------------------------------------------------------
45  !
46  !++ Private parameters & variables
47  !
48  !-----------------------------------------------------------------------------
49 contains
50  !-----------------------------------------------------------------------------
56  use scale_ocean_grid_cartesc, only: &
58  use scale_file_cartesc, only: &
60  integer :: k, i, j
61 
62  ! at this moment, horizontal grid is identical to that of the atmosphere
67 
68  do j = 1, oja
69  do i = 1, oia
70  do k = oks, oke
72  enddo
73  enddo
74  enddo
75 
77  do j = ojs, oje
78  do i = ois, oie
79  do k = oks, oke
81  end do
82  end do
83  end do
84 
86 
87  return
88  end subroutine ocean_grid_cartesc_real_setup
89 
real(rp), dimension(:), allocatable, public ocean_grid_cartesc_cdz
z-length of control volume [m]
real(rp), dimension(:,:,:), allocatable, public ocean_grid_cartesc_real_vol
volume of grid cell
subroutine, public ocean_grid_cartesc_real_setup
Setup area and volume.
real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
area of grid cell
real(rp), public ocean_grid_cartesc_real_totarea
total area
module atmosphere / grid / cartesC index
module ocean / grid / cartesianC / real
real(rp), public ocean_grid_cartesc_real_totvol
total volume
module ocean / grid / cartesianC / index
module profiler
Definition: scale_prof.F90:11
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
module PRECISION
module file / cartesianC
module STDIO
Definition: scale_io.F90:10
subroutine, public file_cartesc_set_coordinates_ocean(VOL)
set volume for ocean
module ocean / grid / cartesianC
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]