SCALE-RM
mod_atmos_phy_tb_vars.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
21  use scale_tracer
22  !-----------------------------------------------------------------------------
23  implicit none
24  private
25  !-----------------------------------------------------------------------------
26  !
27  !++ Public procedure
28  !
29  public :: atmos_phy_tb_vars_setup
34 
40 
41  !-----------------------------------------------------------------------------
42  !
43  !++ Public parameters & variables
44  !
45  logical, public :: atmos_phy_tb_restart_output = .false.
46 
47  character(len=H_LONG), public :: atmos_phy_tb_restart_in_basename = ''
49  logical, public :: atmos_phy_tb_restart_in_postfix_timelabel = .false.
50  character(len=H_LONG), public :: atmos_phy_tb_restart_out_basename = ''
52  logical, public :: atmos_phy_tb_restart_out_postfix_timelabel = .true.
53  character(len=H_MID), public :: atmos_phy_tb_restart_out_title = 'ATMOS_PHY_TB restart'
54  character(len=H_SHORT), public :: atmos_phy_tb_restart_out_dtype = 'DEFAULT'
55 
56  real(rp), public, allocatable :: atmos_phy_tb_momz_t(:,:,:) ! tendency MOMZ [kg/m2/s2]
57  real(rp), public, allocatable :: atmos_phy_tb_momx_t(:,:,:) ! tendency MOMX [kg/m2/s2]
58  real(rp), public, allocatable :: atmos_phy_tb_momy_t(:,:,:) ! tendency MOMY [kg/m2/s2]
59  real(rp), public, allocatable :: atmos_phy_tb_rhot_t(:,:,:) ! tendency RHOT [K*kg/m3/s]
60  real(rp), public, allocatable :: atmos_phy_tb_rhoq_t(:,:,:,:) ! tendency rho*QTRC [kg/kg/s]
61 
62  integer, public :: i_tke = -1
63 
64  !-----------------------------------------------------------------------------
65  !
66  !++ Private procedure
67  !
68  !-----------------------------------------------------------------------------
69  !
70  !++ Private parameters & variables
71  !
72 ! integer, private, parameter :: VMAX = 0 !< number of the variables
73 ! character(len=H_SHORT), private :: VAR_NAME(VMAX) !< name of the variables
74 ! character(len=H_MID), private :: VAR_DESC(VMAX) !< desc. of the variables
75 ! character(len=H_SHORT), private :: VAR_UNIT(VMAX) !< unit of the variables
76 ! integer, private :: VAR_ID(VMAX) !< ID of the variables
77 ! integer, private :: restart_fid = -1 ! file ID
78 
79  !-----------------------------------------------------------------------------
80 contains
81  !-----------------------------------------------------------------------------
83  subroutine atmos_phy_tb_vars_setup
84  use scale_prc, only: &
85  prc_abort
86  use scale_const, only: &
87  undef => const_undef
88  implicit none
89 
90  namelist / param_atmos_phy_tb_vars / &
100 
101  integer :: ierr
102  integer :: iv
103  !---------------------------------------------------------------------------
104 
105  log_newline
106  log_info("ATMOS_PHY_TB_vars_setup",*) 'Setup'
107 
108  allocate( atmos_phy_tb_momz_t(ka,ia,ja) )
109  allocate( atmos_phy_tb_momx_t(ka,ia,ja) )
110  allocate( atmos_phy_tb_momy_t(ka,ia,ja) )
111  allocate( atmos_phy_tb_rhot_t(ka,ia,ja) )
112  allocate( atmos_phy_tb_rhoq_t(ka,ia,ja,qa) )
113  atmos_phy_tb_momz_t(:,:,:) = undef
114  atmos_phy_tb_momx_t(:,:,:) = undef
115  atmos_phy_tb_momy_t(:,:,:) = undef
116  atmos_phy_tb_rhot_t(:,:,:) = undef
117  atmos_phy_tb_rhoq_t(:,:,:,:) = undef
118  !$acc enter data create(ATMOS_PHY_TB_MOMZ_t, ATMOS_PHY_TB_MOMX_t, ATMOS_PHY_TB_MOMY_t, ATMOS_PHY_TB_RHOT_t, ATMOS_PHY_TB_RHOQ_t)
119 
120  !--- read namelist
121  rewind(io_fid_conf)
122  read(io_fid_conf,nml=param_atmos_phy_tb_vars,iostat=ierr)
123  if( ierr < 0 ) then !--- missing
124  log_info("ATMOS_PHY_TB_vars_setup",*) 'Not found namelist. Default used.'
125  elseif( ierr > 0 ) then !--- fatal error
126  log_error("ATMOS_PHY_TB_vars_setup",*) 'Not appropriate names in namelist PARAM_ATMOS_PHY_TB_VARS. Check!'
127  call prc_abort
128  endif
129  log_nml(param_atmos_phy_tb_vars)
130 
131 ! LOG_NEWLINE
132 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) '[ATMOS_PHY_TB] prognostic/diagnostic variables'
133 ! LOG_INFO_CONT('(1x,A,A24,A,A48,A,A12,A)') &
134 ! ' |', 'VARNAME ','|', &
135 ! 'DESCRIPTION ', '[', 'UNIT ', ']'
136 ! do iv = 1, VMAX
137 ! LOG_INFO_CONT('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
138 ! 'NO.',iv,'|',VAR_NAME(iv),'|',VAR_DESC(iv),'[',VAR_UNIT(iv),']'
139 ! enddo
140 
141 ! LOG_NEWLINE
142 ! if ( ATMOS_PHY_TB_RESTART_IN_BASENAME /= '' ) then
143 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Restart input? : YES, file = ', trim(ATMOS_PHY_TB_RESTART_IN_BASENAME)
144 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Add timelabel? : ', ATMOS_PHY_TB_RESTART_IN_POSTFIX_TIMELABEL
145 ! else
146 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Restart input? : NO'
147 ! endif
148 ! if ( ATMOS_PHY_TB_RESTART_OUTPUT &
149 ! .AND. ATMOS_PHY_TB_RESTART_OUT_BASENAME /= '' ) then
150 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Restart output? : YES, file = ', trim(ATMOS_PHY_TB_RESTART_OUT_BASENAME)
151 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Add timelabel? : ', ATMOS_PHY_TB_RESTART_OUT_POSTFIX_TIMELABEL
152 ! else
153 ! LOG_INFO("ATMOS_PHY_TB_vars_setup",*) 'Restart output? : NO'
154 ! ATMOS_PHY_TB_RESTART_OUTPUT = .false.
155 ! endif
156 
157  return
158  end subroutine atmos_phy_tb_vars_setup
159 
160  !-----------------------------------------------------------------------------
162  subroutine atmos_phy_tb_vars_finalize
163  implicit none
164  !---------------------------------------------------------------------------
165 
166  log_newline
167  log_info("ATMOS_PHY_TB_vars_finalize",*) 'Finalize'
168 
169  !$acc exit data delete(ATMOS_PHY_TB_MOMZ_t, ATMOS_PHY_TB_MOMX_t, ATMOS_PHY_TB_MOMY_t, ATMOS_PHY_TB_RHOT_t, ATMOS_PHY_TB_RHOQ_t)
170  deallocate( atmos_phy_tb_momz_t )
171  deallocate( atmos_phy_tb_momx_t )
172  deallocate( atmos_phy_tb_momy_t )
173  deallocate( atmos_phy_tb_rhot_t )
174  deallocate( atmos_phy_tb_rhoq_t )
175 
176  return
177  end subroutine atmos_phy_tb_vars_finalize
178 
179  !-----------------------------------------------------------------------------
181  subroutine atmos_phy_tb_vars_fillhalo
182  use scale_comm_cartesc, only: &
183  comm_vars8, &
184  comm_wait
185  implicit none
186  !---------------------------------------------------------------------------
187 
188 ! do j = 1, JA
189 ! do i = 1, IA
190 ! ATMOS_PHY_TB_??( 1:KS-1,i,j) = ATMOS_PHY_TB_??(KS,i,j)
191 ! ATMOS_PHY_TB_??(KE+1:KA, i,j) = ATMOS_PHY_TB_??(KE,i,j)
192 ! enddo
193 ! enddo
194 
195 ! call COMM_vars8( ATMOS_PHY_TB_??(:,:,:), 1 )
196 ! call COMM_wait ( ATMOS_PHY_TB_??(:,:,:), 1 )
197 
198  return
199  end subroutine atmos_phy_tb_vars_fillhalo
200 
201  !-----------------------------------------------------------------------------
204  use scale_time, only: &
206  use scale_file_cartesc, only: &
208  implicit none
209 
210  character(len=19) :: timelabel
211  character(len=H_LONG) :: basename
212  !---------------------------------------------------------------------------
213 
214 ! LOG_NEWLINE
215 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_open",*) 'Open restart file (ATMOS_PHY_TB) '
216 
217 ! if ( ATMOS_PHY_TB_RESTART_IN_BASENAME /= '' ) then
218 
219 ! if ( ATMOS_PHY_TB_RESTART_IN_POSTFIX_TIMELABEL ) then
220 ! call TIME_gettimelabel( timelabel )
221 ! basename = trim(ATMOS_PHY_TB_RESTART_IN_BASENAME)//'_'//trim(timelabel)
222 ! else
223 ! basename = trim(ATMOS_PHY_TB_RESTART_IN_BASENAME)
224 ! endif
225 
226 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_open",*) 'basename: ', trim(basename)
227 
228 ! call FILE_CARTESC_open( basename, restart_fid, aggregate=ATMOS_PHY_TB_RESTART_IN_AGGREGATE )
229 ! else
230 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_open",*) 'restart file for ATMOS_PHY_TB is not specified.'
231 ! endif
232 
233  return
234  end subroutine atmos_phy_tb_vars_restart_open
235 
236  !-----------------------------------------------------------------------------
239 !!$ use scale_file, only: &
240 !!$ FILE_get_aggregate
241 !!$ use scale_file_cartesC, only: &
242 !!$ FILE_CARTESC_read, &
243 !!$ FILE_CARTESC_flush
244 !!$ implicit none
245 
246  integer :: i, j
247  !---------------------------------------------------------------------------
248 
249 ! if ( restart_fid /= -1 ) then
250 ! LOG_NEWLINE
251 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_read",*) 'Read from restart file (ATMOS_PHY_TB) '
252 !
253 ! call FILE_CARTESC_read( restart_fid, VAR_NAME(1), 'ZXY', & ! [IN]
254 ! ATMOS_PHY_TB_??(:,:,:) ) ! [OUT]
255 !
256 ! if ( FILE_get_AGGREGATE(restart_fid) ) then
257 ! call FILE_CARTESC_flush( restart_fid ) ! X/Y halos have been read from file
258 !
259 ! ! fill k halos
260 ! do j = 1, JA
261 ! do i = 1, IA
262 ! ATMOS_PHY_TB_??( 1:KS-1,i,j) = ATMOS_PHY_TB_??(KS,i,j)
263 ! ATMOS_PHY_TB_??(KE+1:KA, i,j) = ATMOS_PHY_TB_??(KE,i,j)
264 ! enddo
265 ! enddo
266 ! else
267 ! call ATMOS_PHY_TB_vars_fillhalo
268 ! end if
269 !
270 ! call ATMOS_PHY_TB_vars_check
271 !
272 ! else
273 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_read",*) 'invalid restart file ID for ATMOS_PHY_TB.'
274 ! endif
275 
276  return
277  end subroutine atmos_phy_tb_vars_restart_read
278 
279  !-----------------------------------------------------------------------------
282  use scale_time, only: &
284  use scale_file_cartesc, only: &
286  implicit none
287 
288  character(len=19) :: timelabel
289  character(len=H_LONG) :: basename
290  !---------------------------------------------------------------------------
291 
292 ! if ( ATMOS_PHY_TB_RESTART_OUT_BASENAME /= '' ) then
293 !
294 ! LOG_NEWLINE
295 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_create",*) 'Create restart file (ATMOS_PHY_AE) '
296 !
297 ! if ( ATMOS_PHY_TB_RESTART_OUT_POSTFIX_TIMELABEL ) then
298 ! call TIME_gettimelabel( timelabel )
299 ! basename = trim(ATMOS_PHY_TB_RESTART_OUT_BASENAME)//'_'//trim(timelabel)
300 ! else
301 ! basename = trim(ATMOS_PHY_TB_RESTART_OUT_BASENAME)
302 ! endif
303 !
304 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_create",*) 'basename: ', trim(basename)
305 !
306 ! call FILE_CARTESC_create( &
307 ! basename, ATMOS_PHY_TB_RESTART_OUT_TITLE, ATMOS_PHY_TB_RESTART_OUT_DTYPE, & ! [IN]
308 ! restart_fid, & ! [OUT]
309 ! aggregate=ATMOS_PHY_TB_RESTART_OUT_AGGREGATE ) ! [IN]
310 ! endif
311 
312  return
313  end subroutine atmos_phy_tb_vars_restart_create
314 
315  !-----------------------------------------------------------------------------
318  use scale_file_cartesc, only: &
320  implicit none
321 
322 ! if ( restart_fid /= -1 ) then
323 ! call FILE_CARTESC_enddef( restart_fid ) ! [IN]
324 ! endif
325 
326  return
327  end subroutine atmos_phy_tb_vars_restart_enddef
328 
329  !-----------------------------------------------------------------------------
332  use scale_file_cartesc, only: &
334  implicit none
335  !---------------------------------------------------------------------------
336 
337 ! if ( restart_fid /= -1 ) then
338 ! LOG_NEWLINE
339 ! LOG_INFO("ATMOS_PHY_TB_vars_restart_close",*) 'Close restart file (ATMOS_PHY_TB) '
340 !
341 ! call FILE_CARTESC_close( restart_fid ) ! [IN]
342 !
343 ! restart_fid = -1
344 ! endif
345 
346  return
347  end subroutine atmos_phy_tb_vars_restart_close
348 
349  !-----------------------------------------------------------------------------
352  use scale_file_cartesc, only: &
354  implicit none
355  !---------------------------------------------------------------------------
356 
357 ! if ( restart_fid /= -1 ) then
358 
359 ! call FILE_CARTESC_def_var( restart_fid, & ! [IN]
360 ! VAR_NAME(1), VAR_DESC(1), VAR_UNIT(1), & ! [IN]
361 ! 'ZXY', ATMOS_PHY_TB_RESTART_OUT_DTYPE, & ! [IN]
362 ! VAR_ID(1) ) ! [OUT]
363 
364 ! endif
365 
366  return
367  end subroutine atmos_phy_tb_vars_restart_def_var
368 
369  !-----------------------------------------------------------------------------
372  use scale_file_cartesc, only: &
373  file_cartesc_write_var
374  implicit none
375 
376  !---------------------------------------------------------------------------
377 
378 ! if ( restart_fid /= -1 ) then
379 !
380 ! call ATMOS_PHY_TB_vars_fillhalo
381 !
382 ! call ATMOS_PHY_TB_vars_check
383 !
384 ! call FILE_CARTESC_write_var( restart_fid, VAR_ID(1), ATMOS_PHY_TB_??(:,:,:), &
385 ! VAR_NAME(1), 'ZXY' ) ! [IN]
386 !
387 ! endif
388 
389  return
390  end subroutine atmos_phy_tb_vars_restart_write
391 
392  subroutine atmos_phy_tb_vars_check
393  use scale_statistics, only: &
394  statistics_total
395  use scale_atmos_grid_cartesc_real, only: &
398  implicit none
399 
400 !!$ call VALCHECK( KA, KS, KE, IA, IS, IE, JA, JS, JE, &
401 !!$ ATMOS_PHY_TB_??(:,:), & ! (in)
402 !!$ 0.0_RP, 0.0_RP, VAR_NAME(1), & ! (in)
403 !!$ __FILE__, __LINE__ ) ! (in)
404 !!$
405 !!$ call STATISTICS_total( KA, KS, KE, IA, IS, IE, JA, JS, JE, &
406 !!$ ATMOS_PHY_TB_??(:,:,:), VAR_NAME(1), &
407 !!$ ATMOS_GRID_CARTESC_REAL_VOL(:,:,:), & ! (in)
408 !!$ ATMOS_GRID_CARTESC_REAL_TOTVOL ) ! (in)
409 
410  return
411  end subroutine atmos_phy_tb_vars_check
412 
413 end module mod_atmos_phy_tb_vars
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_close
subroutine, public atmos_phy_tb_vars_restart_close
Close restart file.
Definition: mod_atmos_phy_tb_vars.F90:332
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_out_dtype
character(len=h_short), public atmos_phy_tb_restart_out_dtype
REAL4 or REAL8.
Definition: mod_atmos_phy_tb_vars.F90:54
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:350
scale_tracer::qa
integer, public qa
Definition: scale_tracer.F90:35
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_enddef
subroutine, public atmos_phy_tb_vars_restart_enddef
Exit netCDF define mode.
Definition: mod_atmos_phy_tb_vars.F90:318
mod_atmos_phy_tb_vars::atmos_phy_tb_momz_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momz_t
Definition: mod_atmos_phy_tb_vars.F90:56
scale_file_cartesc::file_cartesc_enddef
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
Definition: scale_file_cartesC.F90:964
scale_file_cartesc::file_cartesc_def_var
subroutine, public file_cartesc_def_var(fid, varname, desc, unit, dim_type, datatype, vid, standard_name, timeintv, nsteps, cell_measures)
Define a variable to file.
Definition: scale_file_cartesC.F90:3360
scale_precision
module PRECISION
Definition: scale_precision.F90:14
scale_atmos_grid_cartesc_index::ka
integer, public ka
Definition: scale_atmos_grid_cartesC_index.F90:47
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_read
subroutine, public atmos_phy_tb_vars_restart_read
Read restart.
Definition: mod_atmos_phy_tb_vars.F90:239
mod_atmos_phy_tb_vars::atmos_phy_tb_momx_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momx_t
Definition: mod_atmos_phy_tb_vars.F90:57
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_finalize
subroutine, public atmos_phy_tb_vars_finalize
Finalize.
Definition: mod_atmos_phy_tb_vars.F90:163
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_create
subroutine, public atmos_phy_tb_vars_restart_create
Create restart file.
Definition: mod_atmos_phy_tb_vars.F90:282
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_write
subroutine, public atmos_phy_tb_vars_restart_write
Write restart.
Definition: mod_atmos_phy_tb_vars.F90:372
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_out_title
character(len=h_mid), public atmos_phy_tb_restart_out_title
title of the output file
Definition: mod_atmos_phy_tb_vars.F90:53
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_precision::rp
integer, parameter, public rp
Definition: scale_precision.F90:41
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_out_aggregate
logical, public atmos_phy_tb_restart_out_aggregate
Switch to use aggregate file.
Definition: mod_atmos_phy_tb_vars.F90:51
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_setup
subroutine, public atmos_phy_tb_vars_setup
Setup.
Definition: mod_atmos_phy_tb_vars.F90:84
scale_io
module STDIO
Definition: scale_io.F90:10
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_in_basename
character(len=h_long), public atmos_phy_tb_restart_in_basename
Basename of the input file.
Definition: mod_atmos_phy_tb_vars.F90:47
scale_atmos_grid_cartesc_index
module atmosphere / grid / cartesC index
Definition: scale_atmos_grid_cartesC_index.F90:12
scale_const
module CONSTANT
Definition: scale_const.F90:11
scale_atmos_grid_cartesc_index::ia
integer, public ia
Definition: scale_atmos_grid_cartesC_index.F90:48
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_vol
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_vol
control volume (zxy) [m3]
Definition: scale_atmos_grid_cartesC_real.F90:84
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_in_postfix_timelabel
logical, public atmos_phy_tb_restart_in_postfix_timelabel
Add timelabel to the basename of input file?
Definition: mod_atmos_phy_tb_vars.F90:49
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_out_postfix_timelabel
logical, public atmos_phy_tb_restart_out_postfix_timelabel
Add timelabel to the basename of output file?
Definition: mod_atmos_phy_tb_vars.F90:52
mod_atmos_phy_tb_vars
module Atmosphere / Physics Turbulence
Definition: mod_atmos_phy_tb_vars.F90:12
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1044
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_in_aggregate
logical, public atmos_phy_tb_restart_in_aggregate
Switch to use aggregate file.
Definition: mod_atmos_phy_tb_vars.F90:48
scale_prof
module profiler
Definition: scale_prof.F90:11
scale_atmos_grid_cartesc_index::ja
integer, public ja
Definition: scale_atmos_grid_cartesC_index.F90:49
scale_time
module TIME
Definition: scale_time.F90:11
scale_tracer
module TRACER
Definition: scale_tracer.F90:12
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_fillhalo
subroutine, public atmos_phy_tb_vars_fillhalo
HALO Communication.
Definition: mod_atmos_phy_tb_vars.F90:182
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_def_var
subroutine, public atmos_phy_tb_vars_restart_def_var
Write restart.
Definition: mod_atmos_phy_tb_vars.F90:352
mod_atmos_phy_tb_vars::i_tke
integer, public i_tke
Definition: mod_atmos_phy_tb_vars.F90:62
scale_file_cartesc::file_cartesc_create
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
Definition: scale_file_cartesC.F90:796
mod_atmos_phy_tb_vars::atmos_phy_tb_momy_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_momy_t
Definition: mod_atmos_phy_tb_vars.F90:58
scale_time::time_gettimelabel
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:93
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_restart_open
subroutine, public atmos_phy_tb_vars_restart_open
Open restart file for read.
Definition: mod_atmos_phy_tb_vars.F90:204
scale_file_cartesc::file_cartesc_open
subroutine, public file_cartesc_open(basename, fid, single, aggregate)
open a netCDF file for read
Definition: scale_file_cartesC.F90:760
mod_atmos_phy_tb_vars::atmos_phy_tb_vars_check
subroutine atmos_phy_tb_vars_check
Definition: mod_atmos_phy_tb_vars.F90:393
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_output
logical, public atmos_phy_tb_restart_output
output restart file?
Definition: mod_atmos_phy_tb_vars.F90:45
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totvol
real(rp), public atmos_grid_cartesc_real_totvol
total volume (zxy, local) [m3]
Definition: scale_atmos_grid_cartesC_real.F90:88
mod_atmos_phy_tb_vars::atmos_phy_tb_rhoq_t
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_tb_rhoq_t
Definition: mod_atmos_phy_tb_vars.F90:60
scale_const::const_undef
real(rp), public const_undef
Definition: scale_const.F90:43
mod_atmos_phy_tb_vars::atmos_phy_tb_restart_out_basename
character(len=h_long), public atmos_phy_tb_restart_out_basename
Basename of the output file.
Definition: mod_atmos_phy_tb_vars.F90:50
scale_io::io_fid_conf
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:57
mod_atmos_phy_tb_vars::atmos_phy_tb_rhot_t
real(rp), dimension(:,:,:), allocatable, public atmos_phy_tb_rhot_t
Definition: mod_atmos_phy_tb_vars.F90:59
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11