SCALE-RM
Functions/Subroutines | Variables
mod_atmos_dyn_vars Module Reference

module Atmosphere / Dynamics More...

Functions/Subroutines

subroutine, public atmos_dyn_vars_setup
 Setup. More...
 
subroutine, public atmos_dyn_vars_finalize
 Finalize. More...
 
subroutine, public atmos_dyn_vars_fillhalo
 HALO Communication. More...
 
subroutine, public atmos_dyn_vars_restart_open
 Open restart file for read. More...
 
subroutine, public atmos_dyn_vars_restart_read
 Read restart. More...
 
subroutine, public atmos_dyn_vars_restart_create
 Create restart file. More...
 
subroutine, public atmos_dyn_vars_restart_enddef
 Exit netCDF define mode. More...
 
subroutine, public atmos_dyn_vars_restart_close
 Close restart file. More...
 
subroutine, public atmos_dyn_vars_restart_def_var
 Define variables in restart file. More...
 
subroutine, public atmos_dyn_vars_restart_write
 Write variables to restart file. More...
 
subroutine atmos_dyn_vars_check
 

Variables

logical, public atmos_dyn_restart_output = .false.
 output restart file? More...
 
character(len=h_long), public atmos_dyn_restart_in_basename = ''
 Basename of the input file. More...
 
logical, public atmos_dyn_restart_in_aggregate
 Switch to use aggregate file. More...
 
logical, public atmos_dyn_restart_in_postfix_timelabel = .false.
 Add timelabel to the basename of input file? More...
 
character(len=h_long), public atmos_dyn_restart_out_basename = ''
 Basename of the output file. More...
 
logical, public atmos_dyn_restart_out_aggregate
 Switch to use aggregate file. More...
 
logical, public atmos_dyn_restart_out_postfix_timelabel = .true.
 Add timelabel to the basename of output file? More...
 
character(len=h_mid), public atmos_dyn_restart_out_title = 'ATMOS_DYN restart'
 title of the output file More...
 
character(len=h_short), public atmos_dyn_restart_out_dtype = 'DEFAULT'
 REAL4 or REAL8. More...
 
real(rp), dimension(:,:,:,:), allocatable, public prog
 

Detailed Description

module Atmosphere / Dynamics

Description
Container for mod_atmos_dyn
Author
Team SCALE
NAMELIST
  • PARAM_ATMOS_DYN_VARS
    nametypedefault valuecomment
    ATMOS_DYN_RESTART_IN_BASENAME character(len=H_LONG) '' Basename of the input file
    ATMOS_DYN_RESTART_IN_AGGREGATE logical Switch to use aggregate file
    ATMOS_DYN_RESTART_IN_POSTFIX_TIMELABEL logical .false. Add timelabel to the basename of input file?
    ATMOS_DYN_RESTART_OUTPUT logical .false. output restart file?
    ATMOS_DYN_RESTART_OUT_BASENAME character(len=H_LONG) '' Basename of the output file
    ATMOS_DYN_RESTART_OUT_AGGREGATE logical Switch to use aggregate file
    ATMOS_DYN_RESTART_OUT_POSTFIX_TIMELABEL logical .true. Add timelabel to the basename of output file?
    ATMOS_DYN_RESTART_OUT_TITLE character(len=H_MID) 'ATMOS_DYN restart' title of the output file
    ATMOS_DYN_RESTART_OUT_DTYPE character(len=H_SHORT) 'DEFAULT' REAL4 or REAL8

History Output
No history output

Function/Subroutine Documentation

◆ atmos_dyn_vars_setup()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_setup

Setup.

Definition at line 81 of file mod_atmos_dyn_vars.F90.

81  use scale_prc, only: &
82  prc_abort
83  use scale_const, only: &
84  undef => const_undef
85  use mod_atmos_admin, only: &
87  use scale_atmos_dyn_tstep_short, only: &
89  implicit none
90 
91  namelist / param_atmos_dyn_vars / &
92  atmos_dyn_restart_in_basename, &
93  atmos_dyn_restart_in_aggregate, &
94  atmos_dyn_restart_in_postfix_timelabel, &
95  atmos_dyn_restart_output, &
96  atmos_dyn_restart_out_basename, &
97  atmos_dyn_restart_out_aggregate, &
98  atmos_dyn_restart_out_postfix_timelabel, &
99  atmos_dyn_restart_out_title, &
100  atmos_dyn_restart_out_dtype
101 
102  integer :: ierr
103  integer :: iv
104  !---------------------------------------------------------------------------
105 
106  log_newline
107  log_info("ATMOS_DYN_vars_setup",*) 'Setup'
108 
109  !--- read namelist
110  rewind(io_fid_conf)
111  read(io_fid_conf,nml=param_atmos_dyn_vars,iostat=ierr)
112  if( ierr < 0 ) then !--- missing
113  log_info("ATMOS_DYN_vars_setup",*) 'Not found namelist. Default used.'
114  elseif( ierr > 0 ) then !--- fatal error
115  log_error("ATMOS_DYN_vars_setup",*) 'Not appropriate names in namelist PARAM_ATMOS_DYN_VARS. Check!'
116  call prc_abort
117  endif
118  log_nml(param_atmos_dyn_vars)
119 
121  va, & ! [OUT]
122  var_name, & ! [OUT]
123  var_desc, & ! [OUT]
124  var_unit ) ! [OUT]
125 
126  if ( va > 0 ) then ! additional prognostic variables
127 
128  if ( va > vmax ) then
129  log_error("ATMOS_DYN_vars_setup",*) 'number of the prognostic variables is exceed the limit', va, ' > ', vmax
130  call prc_abort
131  endif
132  allocate( prog(ka,ia,ja,va) )
133  prog(:,:,:,:) = undef
134 
135  log_newline
136  log_info("ATMOS_DYN_vars_setup",*) '[ATMOS_DYN] prognostic/diagnostic variables'
137  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
138  ' |', 'VARNAME ','|', &
139  'DESCRIPTION ', '[', 'UNIT ', ']'
140  do iv = 1, va
141  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
142  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
143  enddo
144 
145  log_newline
146  if ( atmos_dyn_restart_in_basename /= '' ) then
147  log_info("ATMOS_DYN_vars_setup",*) 'Restart input? : YES, file = ', trim(atmos_dyn_restart_in_basename)
148  log_info("ATMOS_DYN_vars_setup",*) 'Add timelabel? : ', atmos_dyn_restart_in_postfix_timelabel
149  else
150  log_info("ATMOS_DYN_vars_setup",*) 'Restart input? : NO'
151  endif
152  if ( atmos_dyn_restart_output &
153  .AND. atmos_dyn_restart_out_basename /= '' ) then
154  log_info("ATMOS_DYN_vars_setup",*) 'Restart output? : YES, file = ', trim(atmos_dyn_restart_out_basename)
155  log_info("ATMOS_DYN_vars_setup",*) 'Add timelabel? : ', atmos_dyn_restart_out_postfix_timelabel
156  else
157  log_info("ATMOS_DYN_vars_setup",*) 'Restart output? : NO'
158  atmos_dyn_restart_output = .false.
159  endif
160 
161  else ! no additional prognostic variables
162 
163  allocate( prog(ka,ia,ja,1) ) ! for safety
164  prog(:,:,:,:) = undef
165  atmos_dyn_restart_output = .false.
166 
167  endif
168 
169  !$acc enter data create(PROG)
170 
171  return

References atmos_dyn_restart_in_aggregate, atmos_dyn_restart_in_basename, atmos_dyn_restart_in_postfix_timelabel, atmos_dyn_restart_out_aggregate, atmos_dyn_restart_out_basename, atmos_dyn_restart_out_dtype, atmos_dyn_restart_out_postfix_timelabel, atmos_dyn_restart_out_title, atmos_dyn_restart_output, scale_atmos_dyn_tstep_short::atmos_dyn_tstep_short_regist(), mod_atmos_admin::atmos_dyn_type, scale_const::const_undef, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_prc::prc_abort(), prog, and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_finalize()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_finalize

Finalize.

Definition at line 177 of file mod_atmos_dyn_vars.F90.

177  implicit none
178  !---------------------------------------------------------------------------
179 
180  log_newline
181  log_info("ATMOS_DYN_vars_finalize",*) 'Finalize'
182 
183  if ( allocated( prog ) ) then
184  !$acc exit data delete(PROG)
185  deallocate( prog )
186  end if
187 
188  return

References prog.

Referenced by mod_atmos_vars::atmos_vars_finalize().

Here is the caller graph for this function:

◆ atmos_dyn_vars_fillhalo()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_fillhalo

HALO Communication.

Definition at line 194 of file mod_atmos_dyn_vars.F90.

194  use scale_comm_cartesc, only: &
195  comm_vars8, &
196  comm_wait
197  implicit none
198 
199  integer :: i, j, iv
200  !---------------------------------------------------------------------------
201 
202  do iv = 1, va
203  !acc kernels
204  do j = js, je
205  do i = is, ie
206  prog( 1:ks-1,i,j,iv) = prog(ks,i,j,iv)
207  prog(ke+1:ka, i,j,iv) = prog(ke,i,j,iv)
208  enddo
209  enddo
210  !acc end kernels
211 
212  call comm_vars8( prog(:,:,:,iv), iv )
213  enddo
214 
215  do iv = 1, va
216  call comm_wait ( prog(:,:,:,iv), iv )
217  enddo
218 
219  return

References scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, prog, and scale_index::va.

Referenced by atmos_dyn_vars_restart_read(), and atmos_dyn_vars_restart_write().

Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_open()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_open

Open restart file for read.

Definition at line 225 of file mod_atmos_dyn_vars.F90.

225  use scale_time, only: &
227  use scale_file_cartesc, only: &
229  implicit none
230 
231  character(len=19) :: timelabel
232  character(len=H_LONG) :: basename
233  !---------------------------------------------------------------------------
234 
235  if ( va < 1 ) return
236 
237  log_newline
238  log_info("ATMOS_DYN_vars_restart_open",*) 'Open restart file (ATMOS_DYN) '
239 
240  if ( atmos_dyn_restart_in_basename /= '' ) then
241 
242  if ( atmos_dyn_restart_in_postfix_timelabel ) then
243  call time_gettimelabel( timelabel )
244  basename = trim(atmos_dyn_restart_in_basename)//'_'//trim(timelabel)
245  else
246  basename = trim(atmos_dyn_restart_in_basename)
247  endif
248 
249  log_info("ATMOS_DYN_vars_restart_open",*) 'basename: ', trim(basename)
250 
251  call file_cartesc_open( basename, restart_fid, aggregate=atmos_dyn_restart_in_aggregate )
252  else
253  log_info("ATMOS_DYN_vars_restart_open",*) 'restart file for ATMOS_DYN is not specified.'
254  endif
255 
256  return

References atmos_dyn_restart_in_aggregate, atmos_dyn_restart_in_basename, atmos_dyn_restart_in_postfix_timelabel, scale_file_cartesc::file_cartesc_open(), scale_time::time_gettimelabel(), and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_open().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_read()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_read

Read restart.

Definition at line 262 of file mod_atmos_dyn_vars.F90.

262  use scale_prc, only: &
263  prc_abort
264  use scale_file, only: &
266  use scale_file_cartesc, only: &
267  file_cartesc_read, &
269  implicit none
270 
271  integer :: i, j, iv
272  !---------------------------------------------------------------------------
273 
274  if ( restart_fid /= -1 ) then
275  log_newline
276  log_info("ATMOS_DYN_vars_restart_read",*) 'Read from restart file (ATMOS_DYN) '
277 
278  do iv = 1, va
279  call file_cartesc_read( restart_fid, var_name(iv), 'ZXY', & ! [IN]
280  prog(:,:,:,iv) ) ! [OUT]
281  enddo
282 
283  if ( file_get_aggregate(restart_fid) ) then
284  call file_cartesc_flush( restart_fid )
285  !$acc update device(PROG)
286  ! X/Y halos have been read from file
287 
288  ! fill K halos
289  !acc kernels copy(PROG)
290  do iv = 1, va
291  do j = 1, ja
292  do i = 1, ia
293  prog( 1:ks-1,i,j,iv) = prog(ks,i,j,iv)
294  prog(ke+1:ka, i,j,iv) = prog(ke,i,j,iv)
295  enddo
296  enddo
297  enddo
298  !acc end kernels
299  else
300  call atmos_dyn_vars_fillhalo
301  end if
302 
303  call atmos_dyn_vars_check
304 
305  else
306  if ( va > 0 ) then
307  log_error("ATMOS_DYN_vars_restart_read",*) 'invalid restart file ID for ATMOS_DYN.'
308  call prc_abort
309  end if
310  endif
311 
312  return

References atmos_dyn_vars_check(), atmos_dyn_vars_fillhalo(), scale_file_cartesc::file_cartesc_flush(), scale_file::file_get_aggregate(), scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, scale_prc::prc_abort(), prog, and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_create()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_create

Create restart file.

Definition at line 317 of file mod_atmos_dyn_vars.F90.

317  use scale_time, only: &
319  use scale_file_cartesc, only: &
321  implicit none
322 
323  character(len=19) :: timelabel
324  character(len=H_LONG) :: basename
325  !---------------------------------------------------------------------------
326 
327  if ( va < 1 ) return
328 
329  if ( atmos_dyn_restart_out_basename /= '' ) then
330 
331  log_newline
332  log_info("ATMOS_DYN_vars_restart_create",*) 'Create restart file (ATMOS_DYN) '
333 
334  if ( atmos_dyn_restart_out_postfix_timelabel ) then
335  call time_gettimelabel( timelabel )
336  basename = trim(atmos_dyn_restart_out_basename)//'_'//trim(timelabel)
337  else
338  basename = trim(atmos_dyn_restart_out_basename)
339  endif
340 
341  log_info("ATMOS_DYN_vars_restart_create",*) 'basename: ', trim(basename)
342 
343  call file_cartesc_create( &
344  basename, atmos_dyn_restart_out_title, atmos_dyn_restart_out_dtype, & ! [IN]
345  restart_fid, & ! [OUT]
346  aggregate=atmos_dyn_restart_out_aggregate ) ! [IN]
347 
348  endif
349 
350  return

References atmos_dyn_restart_out_aggregate, atmos_dyn_restart_out_basename, atmos_dyn_restart_out_dtype, atmos_dyn_restart_out_postfix_timelabel, atmos_dyn_restart_out_title, scale_file_cartesc::file_cartesc_create(), scale_time::time_gettimelabel(), and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_create().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_enddef()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_enddef

Exit netCDF define mode.

Definition at line 356 of file mod_atmos_dyn_vars.F90.

356  use scale_file_cartesc, only: &
358  implicit none
359 
360  if ( restart_fid /= -1 .and. va > 0 ) then
361  call file_cartesc_enddef( restart_fid ) ! [IN]
362  endif
363 
364  return

References scale_file_cartesc::file_cartesc_enddef(), and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_enddef().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_close()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_close

Close restart file.

Definition at line 370 of file mod_atmos_dyn_vars.F90.

370  use scale_file_cartesc, only: &
372  implicit none
373  !---------------------------------------------------------------------------
374 
375  if ( restart_fid /= -1 ) then
376  log_newline
377  log_info("ATMOS_DYN_vars_restart_close",*) 'Close restart file (ATMOS_DYN) '
378 
379  call file_cartesc_close( restart_fid ) ! [IN]
380 
381  restart_fid = -1
382  endif
383 
384  return

References scale_file_cartesc::file_cartesc_close().

Referenced by mod_atmos_vars::atmos_vars_restart_close().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_def_var()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_def_var

Define variables in restart file.

Definition at line 390 of file mod_atmos_dyn_vars.F90.

390  use scale_file_cartesc, only: &
392  implicit none
393 
394  integer iv
395  !---------------------------------------------------------------------------
396 
397  if ( restart_fid /= -1 ) then
398 
399  do iv = 1, va
400  call file_cartesc_def_var( restart_fid, var_name(iv), var_desc(iv), var_unit(iv), 'ZXY', atmos_dyn_restart_out_dtype, &
401  var_id(iv) )
402  enddo
403 
404  endif
405 
406  return

References atmos_dyn_restart_out_dtype, scale_file_cartesc::file_cartesc_def_var(), and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_def_var().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_restart_write()

subroutine, public mod_atmos_dyn_vars::atmos_dyn_vars_restart_write

Write variables to restart file.

Definition at line 412 of file mod_atmos_dyn_vars.F90.

412  use scale_file_cartesc, only: &
413  file_cartesc_write_var
414  implicit none
415 
416  integer :: iv
417  !---------------------------------------------------------------------------
418 
419  if ( restart_fid /= -1 ) then
420 
421  call atmos_dyn_vars_fillhalo
422 
423  call atmos_dyn_vars_check
424 
425  !$acc update host(PROG)
426  do iv = 1, va
427  call file_cartesc_write_var( restart_fid, var_id(iv), prog(:,:,:,iv), var_name(iv), 'ZXY' ) ! [IN]
428  enddo
429 
430  endif
431 
432  return

References atmos_dyn_vars_check(), atmos_dyn_vars_fillhalo(), prog, and scale_index::va.

Referenced by mod_atmos_vars::atmos_vars_restart_write().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_dyn_vars_check()

subroutine mod_atmos_dyn_vars::atmos_dyn_vars_check

Definition at line 436 of file mod_atmos_dyn_vars.F90.

436  use scale_statistics, only: &
437  statistics_total
438  use scale_atmos_grid_cartesc_real, only: &
441  implicit none
442  integer :: iv
443 
444  do iv = 1, va
445  call valcheck( ka, ks, ke, ia, is, ie, ja, js, je, &
446  prog(:,:,:,iv), & ! (in)
447  -1.0e20_rp, 1.0e20_rp, var_name(iv), & ! (in)
448  __file__, __line__ ) ! (in)
449  call statistics_total( ka, ks, ke, ia, is, ie, ja, js, je, &
450  prog(:,:,:,iv), var_name(iv), & ! (in)
451  atmos_grid_cartesc_real_vol(:,:,:), & ! (in)
453  enddo
454 
455  return

References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totvol, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_vol, scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, prog, and scale_index::va.

Referenced by atmos_dyn_vars_restart_read(), and atmos_dyn_vars_restart_write().

Here is the caller graph for this function:

Variable Documentation

◆ atmos_dyn_restart_output

logical, public mod_atmos_dyn_vars::atmos_dyn_restart_output = .false.

output restart file?

Definition at line 47 of file mod_atmos_dyn_vars.F90.

47  logical, public :: ATMOS_DYN_RESTART_OUTPUT = .false.

Referenced by mod_admin_restart::admin_restart_setup(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_in_basename

character(len=h_long), public mod_atmos_dyn_vars::atmos_dyn_restart_in_basename = ''

Basename of the input file.

Definition at line 49 of file mod_atmos_dyn_vars.F90.

49  character(len=H_LONG), public :: ATMOS_DYN_RESTART_IN_BASENAME = ''

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_in_aggregate

logical, public mod_atmos_dyn_vars::atmos_dyn_restart_in_aggregate

Switch to use aggregate file.

Definition at line 50 of file mod_atmos_dyn_vars.F90.

50  logical, public :: ATMOS_DYN_RESTART_IN_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_in_postfix_timelabel

logical, public mod_atmos_dyn_vars::atmos_dyn_restart_in_postfix_timelabel = .false.

Add timelabel to the basename of input file?

Definition at line 51 of file mod_atmos_dyn_vars.F90.

51  logical, public :: ATMOS_DYN_RESTART_IN_POSTFIX_TIMELABEL = .false.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_open(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_out_basename

character(len=h_long), public mod_atmos_dyn_vars::atmos_dyn_restart_out_basename = ''

Basename of the output file.

Definition at line 52 of file mod_atmos_dyn_vars.F90.

52  character(len=H_LONG), public :: ATMOS_DYN_RESTART_OUT_BASENAME = ''

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_out_aggregate

logical, public mod_atmos_dyn_vars::atmos_dyn_restart_out_aggregate

Switch to use aggregate file.

Definition at line 53 of file mod_atmos_dyn_vars.F90.

53  logical, public :: ATMOS_DYN_RESTART_OUT_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_out_postfix_timelabel

logical, public mod_atmos_dyn_vars::atmos_dyn_restart_out_postfix_timelabel = .true.

Add timelabel to the basename of output file?

Definition at line 54 of file mod_atmos_dyn_vars.F90.

54  logical, public :: ATMOS_DYN_RESTART_OUT_POSTFIX_TIMELABEL = .true.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_out_title

character(len=h_mid), public mod_atmos_dyn_vars::atmos_dyn_restart_out_title = 'ATMOS_DYN restart'

title of the output file

Definition at line 55 of file mod_atmos_dyn_vars.F90.

55  character(len=H_MID), public :: ATMOS_DYN_RESTART_OUT_TITLE = 'ATMOS_DYN restart'

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), and atmos_dyn_vars_setup().

◆ atmos_dyn_restart_out_dtype

character(len=h_short), public mod_atmos_dyn_vars::atmos_dyn_restart_out_dtype = 'DEFAULT'

REAL4 or REAL8.

Definition at line 56 of file mod_atmos_dyn_vars.F90.

56  character(len=H_SHORT), public :: ATMOS_DYN_RESTART_OUT_DTYPE = 'DEFAULT'

Referenced by mod_admin_restart::admin_restart_setup(), atmos_dyn_vars_restart_create(), atmos_dyn_vars_restart_def_var(), and atmos_dyn_vars_setup().

◆ prog

real(rp), dimension(:,:,:,:), allocatable, public mod_atmos_dyn_vars::prog
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:350
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
mod_atmos_dyn_vars::prog
real(rp), dimension(:,:,:,:), allocatable, public prog
Definition: mod_atmos_dyn_vars.F90:59
mod_atmos_admin
module ATMOS admin
Definition: mod_atmos_admin.F90:11
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
scale_file
module file
Definition: scale_file.F90:15
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_const
module CONSTANT
Definition: scale_const.F90:11
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
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1044
scale_time
module TIME
Definition: scale_time.F90:11
scale_atmos_dyn_tstep_short
module Atmosphere / Dynamical scheme
Definition: scale_atmos_dyn_tstep_short.F90:12
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_admin::atmos_dyn_type
character(len=h_short), public atmos_dyn_type
Definition: mod_atmos_admin.F90:35
scale_file_cartesc::file_cartesc_flush
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
Definition: scale_file_cartesC.F90:1018
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
scale_atmos_dyn_tstep_short::atmos_dyn_tstep_short_regist
subroutine, public atmos_dyn_tstep_short_regist(ATMOS_DYN_TYPE, VA_out, VAR_NAME, VAR_DESC, VAR_UNIT)
Register.
Definition: scale_atmos_dyn_tstep_short.F90:158
scale_file::file_get_aggregate
logical function, public file_get_aggregate(fid)
Definition: scale_file.F90:6316
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
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
scale_const::const_undef
real(rp), public const_undef
Definition: scale_const.F90:43
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11