SCALE-RM
Functions/Subroutines | Variables
scale_ocean_grid_cartesc_real Module Reference

module ocean / grid / cartesianC / real More...

Functions/Subroutines

subroutine, public ocean_grid_cartesc_real_setup
 Setup area and volume. More...
 
subroutine, public ocean_grid_cartesc_real_set_areavol
 

Variables

real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
 area of grid cell More...
 
real(rp), public ocean_grid_cartesc_real_totarea
 total area More...
 
real(rp), dimension(:,:,:), allocatable, public ocean_grid_cartesc_real_vol
 volume of grid cell More...
 
real(rp), public ocean_grid_cartesc_real_totvol
 total volume More...
 

Detailed Description

module ocean / grid / cartesianC / real

Description
Grid module for cartesian coordinate for ocean
Author
Team SCALE

Function/Subroutine Documentation

◆ ocean_grid_cartesc_real_setup()

subroutine, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup

Setup area and volume.

Definition at line 54 of file scale_ocean_grid_cartesC_real.F90.

54 
55  ! at this moment, horizontal grid is identical to that of the atmosphere
56  allocate( ocean_grid_cartesc_real_area( oia,oja) )
57  allocate( ocean_grid_cartesc_real_vol(oka,oia,oja) )
58 
59  return

References ocean_grid_cartesc_real_area, ocean_grid_cartesc_real_vol, scale_ocean_grid_cartesc_index::oia, scale_ocean_grid_cartesc_index::oja, and scale_ocean_grid_cartesc_index::oka.

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

Here is the caller graph for this function:

◆ ocean_grid_cartesc_real_set_areavol()

subroutine, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_set_areavol

Definition at line 63 of file scale_ocean_grid_cartesC_real.F90.

65  use scale_ocean_grid_cartesc, only: &
66  ocean_grid_cartesc_cdz
67  use scale_file_cartesc, only: &
69  use scale_landuse, only: &
70  landuse_fact_ocean
71  implicit none
72 
73  integer :: k, i, j
74 
76  do j = 1, oja
77  do i = 1, oia
78  ocean_grid_cartesc_real_area(i,j) = atmos_grid_cartesc_real_area(i,j) * landuse_fact_ocean(i,j)
80  end do
81  end do
82 
83  do j = 1, oja
84  do i = 1, oia
85  do k = oks, oke
86  ocean_grid_cartesc_real_vol(k,i,j) = ocean_grid_cartesc_real_area(i,j) * ocean_grid_cartesc_cdz(k)
87  enddo
88  enddo
89  enddo
90 
92  do j = ojs, oje
93  do i = ois, oie
94  do k = oks, oke
96  end do
97  end do
98  end do
99 
101 
102  return

References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area, scale_file_cartesc::file_cartesc_set_coordinates_ocean(), scale_landuse::landuse_fact_ocean, scale_ocean_grid_cartesc::ocean_grid_cartesc_cdz, ocean_grid_cartesc_real_area, ocean_grid_cartesc_real_totarea, ocean_grid_cartesc_real_totvol, ocean_grid_cartesc_real_vol, scale_ocean_grid_cartesc_index::oia, scale_ocean_grid_cartesc_index::oie, scale_ocean_grid_cartesc_index::ois, scale_ocean_grid_cartesc_index::oja, scale_ocean_grid_cartesc_index::oje, scale_ocean_grid_cartesc_index::ojs, scale_ocean_grid_cartesc_index::oke, and scale_ocean_grid_cartesc_index::oks.

Referenced by mod_mkinit::read_sounding(), 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

◆ ocean_grid_cartesc_real_area

real(rp), dimension(:,:), allocatable, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_area

◆ ocean_grid_cartesc_real_totarea

real(rp), public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totarea

◆ ocean_grid_cartesc_real_vol

real(rp), dimension (:,:,:), allocatable, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_vol

◆ ocean_grid_cartesc_real_totvol

real(rp), public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totvol
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totarea
real(rp), public ocean_grid_cartesc_real_totarea
total area
Definition: scale_ocean_grid_cartesC_real.F90:37
scale_ocean_grid_cartesc
module ocean / grid / cartesianC
Definition: scale_ocean_grid_cartesC.F90:12
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_area
real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
area of grid cell
Definition: scale_ocean_grid_cartesC_real.F90:36
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
scale_file_cartesc::file_cartesc_set_coordinates_ocean
subroutine, public file_cartesc_set_coordinates_ocean(VOL)
set volume for ocean
Definition: scale_file_cartesC.F90:543
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
Definition: scale_atmos_grid_cartesC_real.F90:65
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_vol
real(rp), dimension(:,:,:), allocatable, public ocean_grid_cartesc_real_vol
volume of grid cell
Definition: scale_ocean_grid_cartesC_real.F90:38
scale_landuse
module LANDUSE
Definition: scale_landuse.F90:19
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totvol
real(rp), public ocean_grid_cartesc_real_totvol
total volume
Definition: scale_ocean_grid_cartesC_real.F90:39