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_finalize
 Finalize. 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 56 of file scale_ocean_grid_cartesC_real.F90.

56  implicit none
57 
58  ! at this moment, horizontal grid is identical to that of the atmosphere
59  allocate( ocean_grid_cartesc_real_area( oia,oja) )
60  allocate( ocean_grid_cartesc_real_vol(oka,oia,oja) )
61  !$acc enter data create(OCEAN_GRID_CARTESC_REAL_AREA,OCEAN_GRID_CARTESC_REAL_VOL)
62 
63  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_finalize()

subroutine, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_finalize

Finalize.

Definition at line 69 of file scale_ocean_grid_cartesC_real.F90.

69  implicit none
70 
71  !$acc exit data delete(OCEAN_GRID_CARTESC_REAL_AREA,OCEAN_GRID_CARTESC_REAL_VOL)
72  deallocate( ocean_grid_cartesc_real_area )
73  deallocate( ocean_grid_cartesc_real_vol )
74 
75  return

References ocean_grid_cartesc_real_area, and ocean_grid_cartesc_real_vol.

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 80 of file scale_ocean_grid_cartesC_real.F90.

82  use scale_ocean_grid_cartesc, only: &
84  use scale_file_cartesc, only: &
86  use scale_landuse, only: &
88  implicit none
89 
90  integer :: k, i, j
91 
92  do j = 1, oja
93  do i = 1, oia
95  end do
96  end do
97 
99  do j = ojs, oje
100  do i = ois, oie
102  end do
103  end do
104 
105  do j = 1, oja
106  do i = 1, oia
107  do k = oks, oke
109  enddo
110  enddo
111  enddo
112 
114  do j = ojs, oje
115  do i = ois, oie
116  do k = oks, oke
118  end do
119  end do
120  end do
121 
123 
124  !$acc update device(OCEAN_GRID_CARTESC_REAL_AREA,OCEAN_GRID_CARTESC_REAL_VOL)
125  !$acc update device(OCEAN_GRID_CARTESC_REAL_TOTAREA,OCEAN_GRID_CARTESC_REAL_TOTVOL)
126  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_landuse::landuse_fact_ocean
real(rp), dimension(:,:), allocatable, public landuse_fact_ocean
ocean factor
Definition: scale_landuse.F90:45
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:38
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:37
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:556
scale_ocean_grid_cartesc::ocean_grid_cartesc_cdz
real(rp), dimension(:), allocatable, public ocean_grid_cartesc_cdz
z-length of control volume [m]
Definition: scale_ocean_grid_cartesC.F90:38
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:66
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:39
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:40