SCALE-RM
Functions/Subroutines
mod_rm_driver Module Reference

module SCALE-RM (a main routine of regional model) More...

Functions/Subroutines

subroutine, public rm_driver (comm_world, cnf_fname, path, add_path)
 Setup. More...
 
subroutine restart_read
 

Detailed Description

module SCALE-RM (a main routine of regional model)

Description
SCALE: Scalable Computing by Advanced Library and Environment Limited area model for regional weather, regional climate, and large-Eddy Simulation (LES)
Author
Team SCALE

Function/Subroutine Documentation

◆ rm_driver()

subroutine, public mod_rm_driver::rm_driver ( integer, intent(in)  comm_world,
character(len=*), intent(in)  cnf_fname,
character(len=*), intent(in)  path,
logical, intent(in)  add_path 
)

Setup.

Definition at line 59 of file mod_rm_driver.F90.

59  use scale_file, only: &
60  file_finalize, &
62  use scale_prc, only: &
63  prc_abort, &
65  use scale_fpm, only: &
66  fpm_alive, &
67  fpm_polling, &
69  use scale_prc_cartesc, only: &
72  use scale_const, only: &
73  tem00 => const_tem00, &
74  lhv0 => const_lhv0, &
75  lhf0 => const_lhf0, &
76  rdry => const_rdry, &
77  rvap => const_rvap, &
78  cl => const_cl, &
79  ci => const_ci, &
80  karman => const_karman, &
81  grav => const_grav, &
82  stb => const_stb, &
83  const_setup, &
85  use scale_atmos_solarins, only: &
86  solarins_constant => atmos_solarins_constant
87  use scale_calendar, only: &
89  use scale_random, only: &
90  random_setup, &
92  use scale_matrix, only: &
93  matrix_setup, &
95  use scale_tracer, only: &
97  use scale_atmos_hydrometeor, only: &
100  use scale_atmos_grid_cartesc_index, only: &
102  ia, ja
103  use scale_atmos_grid_cartesc, only: &
106  domain_center_y => atmos_grid_cartesc_domain_center_y, &
107  cy => atmos_grid_cartesc_cy, &
108  dx, dy
109  use scale_atmos_grid_cartesc_real, only: &
113  real_lat => atmos_grid_cartesc_real_lat
118  use scale_ocean_grid_cartesc_index, only: &
120  use scale_ocean_grid_cartesc, only: &
123  use scale_ocean_grid_cartesc_real, only: &
127  use scale_land_grid_cartesc_index, only: &
129  use scale_land_grid_cartesc, only: &
132  use scale_land_grid_cartesc_real, only: &
136  use scale_urban_grid_cartesc_index, only: &
138  use scale_urban_grid_cartesc, only: &
141  use scale_urban_grid_cartesc_real, only: &
145  use scale_file_cartesc, only: &
148  use scale_file_grads, only: &
150  use scale_comm_cartesc, only: &
151  comm_setup, &
152  comm_regist, &
154  use scale_comm_cartesc_nest, only: &
157  use scale_topography, only: &
161  use scale_landuse, only: &
162  landuse_setup, &
163  landuse_write, &
165  use scale_statistics, only: &
167  use scale_time, only: &
168  time_nowdate, &
169  time_nowsubsec, &
170  time_nowstep, &
171  time_dtsec
172  use scale_coriolis, only: &
173  coriolis_setup, &
175  use scale_atmos_hydrostatic, only: &
177  use scale_atmos_thermodyn, only: &
179  use scale_atmos_saturation, only: &
181  use scale_bulkflux, only: &
186  use scale_file_history, only: &
190  use scale_file_history_cartesc, only: &
193  use scale_monitor_cartesc, only: &
195  use scale_monitor, only: &
196  monitor_write, &
198  use mod_atmos_driver, only: &
200  use mod_admin_versioncheck, only: &
202  use mod_admin_time, only: &
210  time_doda_step, &
211  time_doresume, &
212  time_doend
213  use mod_admin_restart, only: &
216  use mod_atmos_admin, only: &
218  atmos_do, &
220  use mod_atmos_vars, only: &
228  use mod_atmos_driver, only: &
234  use mod_atmos_phy_mp_vars, only: &
235  qa_mp
236  use mod_ocean_admin, only: &
238  ocean_do
239  use mod_ocean_vars, only: &
244  use mod_ocean_driver, only: &
249  use mod_land_admin, only: &
251  land_do
252  use mod_land_vars, only: &
253  land_vars_setup, &
257  use mod_land_driver, only: &
262  use mod_urban_admin, only: &
264  urban_do, &
265  urban_land
266  use mod_urban_vars, only: &
271  use mod_urban_driver, only: &
276  use mod_lake_admin, only: &
278  lake_do
279  use mod_cpl_admin, only: &
280  cpl_admin_setup, &
281  cpl_sw
282  use mod_cpl_vars, only: &
283  cpl_vars_setup, &
285  use mod_cpl_driver, only: &
288  use mod_da_admin, only: &
289  da_admin_setup, &
290  da_do
291  use mod_da_vars, only: &
292  da_vars_setup, &
294  da_vars_history, &
296  use mod_da_driver, only: &
297  da_driver_setup, &
300  use mod_user, only: &
302  user_setup, &
303  user_finalize, &
306 #ifdef JMAPPLIB
307  use pp_print_parm, only: &
308  pp_print_parm_set_flg_out_msg
309  use pp_phys_const, only: &
310  pp_phys_const_set
311 #endif
312  implicit none
313 
314  integer, intent(in) :: comm_world
315  character(len=*), intent(in) :: cnf_fname
316  character(len=*), intent(in) :: path
317  logical, intent(in) :: add_path
318 
319  integer :: myrank
320  integer :: fpm_counter
321  logical :: ismaster
322  logical :: sign_exit
323 
324  integer :: id
325  !---------------------------------------------------------------------------
326 
327  !########## Initial setup ##########
328 
329  ! setup standard I/O
330  if ( add_path .and. path /= "" ) then
331  call io_setup( modelname, trim(path)//cnf_fname, prefix=path )
332  else
333  call io_setup( modelname, trim(path)//cnf_fname )
334  end if
335 
336  ! setup MPI
337  call prc_local_setup( comm_world, & ! [IN]
338  myrank, & ! [OUT]
339  ismaster ) ! [OUT]
340 
341  ! setup Log
342  call io_log_setup( myrank, ismaster )
343 
344  ! namelist compatibility check
345  call admin_versioncheck
346 
347  ! setup process
348  call prc_cartesc_setup
349 
350  ! setup PROF
351  call prof_setup
352 
353  !###########################################################################
354  ! profiler start
355  call prof_setprefx('INIT')
356  call prof_rapstart('Initialize', 0)
357 
358  ! setup constants
359  call const_setup
360 
361  ! setup calendar
362  call calendar_setup
363 
364  ! setup random number
365  call random_setup
366 
367  ! setup matrix
368  call matrix_setup
369 
370  ! setup submodel administrator
371  call atmos_admin_setup
372  call ocean_admin_setup
373  call land_admin_setup
374  call urban_admin_setup
375  call lake_admin_setup
376  call cpl_admin_setup
377  call da_admin_setup
378 
379  ! setup horizontal/vertical grid coordinates (cartesian,idealized)
380  if ( atmos_do ) then
383  endif
384 
385  if ( ocean_do ) then
388  endif
389 
390  if ( land_do ) then
393  endif
394 
395  if ( urban_do ) then
398  endif
399 
400  ! setup tracer index
402  call atmos_driver_tracer_setup
403  call user_tracer_setup
404 
405  ! setup file I/O
406  call file_cartesc_setup
407 
408  ! setup mpi communication
409  call comm_setup
410  call comm_regist( ka, ia, ja, ihalo, jhalo, id )
411 
412  ! setup topography
413  call topography_setup
414  ! setup land use category index/fraction
415  call landuse_setup( ocean_do, (.not. urban_land), lake_do )
416 
417  ! setup grid coordinates (real world)
418  if ( atmos_do ) then
420  ! setup grid transfer metrics (uses in ATMOS_dynamics)
423  endif
424  if ( ocean_do ) then
427  end if
428  if ( land_do ) then
431  end if
432  if ( urban_do ) then
435  end if
436 
437  ! setup restart
439  ! setup time
440  call admin_time_setup( setup_timeintegration = .true. )
441  ! setup statistics
442  call statistics_setup
443  ! setup history I/O
445  ! setup monitor I/O
447  ! setup external in
449 
450  ! setup nesting grid
452 
453  ! setup coriolis parameter
454  call coriolis_setup( ia, ja, real_lat(:,:), cy(:), domain_center_y )
455 
456  ! setup common tools
460 
461  call bulkflux_setup( sqrt(dx**2+dy**2) )
462 
463  ! setup variable container
464  if ( atmos_do ) call atmos_vars_setup
465  if ( ocean_do ) call ocean_vars_setup
466  if ( land_do ) call land_vars_setup
467  if ( urban_do ) call urban_vars_setup
468  if ( cpl_sw ) call cpl_vars_setup
469  if ( da_do ) call da_vars_setup
470 
471 #ifdef JMAPPLIB
472  call pp_print_parm_set_flg_out_msg( 0 )
473  call pp_phys_const_set( &
474  tkelvn_in = tem00, &
475  hlatnt_in = lhv0, &
476  hlf_in = lhf0, &
477  rd_in = rdry, &
478  rv_in = rvap, &
479  cwater_in = cl, &
480  cice_in = ci, &
481  vkman_in = karman, &
482  grav_in = grav, &
483  stb_in = stb, &
484  sc0_in = solarins_constant)
485 #endif
486 
487  ! setup driver
488  if ( atmos_do ) call atmos_driver_setup
489  if ( ocean_do ) call ocean_driver_setup
490  if ( land_do ) call land_driver_setup
491  if ( urban_do ) call urban_driver_setup
492  if ( cpl_sw ) call cpl_driver_setup
493  if ( da_do ) call da_driver_setup
494 
495  call user_setup
496 
497  ! output
498  call topography_write
499  call landuse_write
500 
501  call prof_rapend('Initialize', 0)
502 
503  !########## main ##########
504 
505 #ifdef FIPP
506  call fipp_start
507 #endif
508 #ifdef PAPI
509  call prof_papi_rapstart
510 #endif
511 
512  log_newline
513  log_progress(*) 'START TIMESTEP'
514  call prof_setprefx('MAIN')
515  call prof_rapstart('Main_Loop', 0)
516 
517  fpm_counter = 0
518  do
519  ! report current time
521 
522  if ( time_doresume ) then
523  ! set state from restart files
524  call restart_read
525 
526  ! history&monitor file output
527  call monitor_write('MAIN', time_nowstep)
528  call file_history_write ! if needed
529  endif
530 
531  ! time advance
532  call admin_time_advance
534 
535  ! change to next state
540  if( da_do .AND. time_doda_step ) call da_driver_update
541  call user_update
542  ! restart & monitor output
543  if ( ocean_do ) call ocean_vars_monitor
544  if ( land_do ) call land_vars_monitor
545  if ( urban_do ) call urban_vars_monitor
546  if ( atmos_do ) call atmos_vars_monitor
547  if ( da_do ) call da_vars_monitor
549  call monitor_write('MAIN', time_nowstep)
550 
551  ! calc tendencies and diagnostices
552  if( atmos_do .AND. time_doatmos_step ) call atmos_driver_calc_tendency( force = .false. )
553  if( ocean_do .AND. time_doocean_step ) call ocean_driver_calc_tendency( force = .false. )
554  if( land_do .AND. time_doland_step ) call land_driver_calc_tendency( force = .false. )
555  if( urban_do .AND. time_dourban_step ) call urban_driver_calc_tendency( force = .false. )
556  if( cpl_sw .AND. time_doatmos_step ) call atmos_driver_calc_tendency_from_sflux( force = .false. )
557  call user_calc_tendency
558 
559  ! history file output
560  ! Set hydrostatic pressure coordinate
562  if ( atmos_do ) call atmos_vars_history
563  if ( ocean_do ) call ocean_vars_history
564  if ( land_do ) call land_vars_history
565  if ( urban_do ) call urban_vars_history
566  if ( da_do ) call da_vars_history
567 
568  call file_history_write
569 
570  if( time_doend ) exit
571 
572  if( io_l ) call flush(io_fid_log)
573 
574  ! FPM polling
575  if ( fpm_alive .AND. fpm_polling_freq > 0 ) then
576  call prof_rapstart('FPM', 1)
577  if ( fpm_counter > fpm_polling_freq ) then
578  sign_exit = .false.
579  call fpm_polling( .true., sign_exit )
580  if ( sign_exit ) then
581  log_error("scalerm",*) 'receive stop signal'
582  call prc_abort
583  endif
584  fpm_counter = 0
585  endif
586 
587  fpm_counter = fpm_counter + 1
588  call prof_rapend('FPM', 1)
589  endif
590 
591  enddo
592 
593  call prof_rapend('Main_Loop', 0)
594 
595  log_progress(*) 'END TIMESTEP'
596  log_newline
597 
598 #ifdef FIPP
599  call fipp_stop
600 #endif
601 #ifdef PAPI
602  call prof_papi_rapstop
603 #endif
604 
605  !########## Finalize ##########
606 
607  call prof_setprefx('FIN')
608 
609  call prof_rapstart('All', 0)
610 
613  if( land_do ) call land_driver_finalize
615  if( cpl_sw ) call cpl_driver_finalize
616  if( da_do ) call da_driver_finalize
617 
618  ! check data
620 
621  call prof_rapstart('Monit', 1)
622  call monitor_finalize
623  call prof_rapend ('Monit', 1)
624 
625  ! file I/O
626  call prof_rapstart('File', 1)
631  call file_close_all
632  call file_finalize
633  call prof_rapend ('File', 1)
634 
636 
637  ! setup variable container
638  if ( atmos_do ) call atmos_vars_finalize
639  if ( ocean_do ) call ocean_vars_finalize
640  if ( land_do ) call land_vars_finalize
641  if ( urban_do ) call urban_vars_finalize
642  if ( cpl_sw ) call cpl_vars_finalize
643  if ( da_do ) call da_vars_finalize
644 
645 
646  ! finalize external in
648 
649  ! finalize coriolis parameter
650  call coriolis_finalize
651 
652  ! finalize nesting grid
654 
655  ! finalize grid coordinates (real world)
660 
661  ! finalize land use category index/fraction
662  call landuse_finalize
663 
664  ! finalize topography
666 
667  ! finalize communication
668  call comm_finalize
669 
670  ! user module
671  call user_finalize
672 
673  ! finalize tracer
675  call tracer_finalize
676 
677  ! finalize horizontal/vertical grid coordinates (cartesian, idealized)
682 
684 
685  call matrix_finalize
686 
687  call random_finalize
688 
689  call const_finalize
690 
691  call prof_rapend ('All', 0)
692 
693  call prof_rapreport
694 #ifdef PAPI
695  call prof_papi_rapreport
696 #endif
697 
698  ! finalize profiler
699  call prof_finalize
700 
701  ! finalize io
702  call io_finalize
703 
704  return

References mod_admin_restart::admin_restart_setup(), mod_admin_restart::admin_restart_write(), mod_admin_time::admin_time_advance(), mod_admin_time::admin_time_checkstate(), mod_admin_time::admin_time_setup(), mod_admin_versioncheck::admin_versioncheck(), mod_atmos_admin::atmos_admin_setup(), mod_atmos_admin::atmos_do, mod_atmos_driver::atmos_driver_calc_tendency(), mod_atmos_driver::atmos_driver_calc_tendency_from_sflux(), mod_atmos_driver::atmos_driver_finalize(), mod_atmos_driver::atmos_driver_setup(), mod_atmos_driver::atmos_driver_tracer_setup(), mod_atmos_driver::atmos_driver_update(), scale_atmos_grid_cartesc::atmos_grid_cartesc_cy, scale_atmos_grid_cartesc::atmos_grid_cartesc_domain_center_y, scale_atmos_grid_cartesc::atmos_grid_cartesc_finalize(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_finalize(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_mapf, scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_finalize(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_setup(), scale_atmos_grid_cartesc::atmos_grid_cartesc_setup(), scale_atmos_hydrometeor::atmos_hydrometeor_finalize(), scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_hydrostatic::atmos_hydrostatic_setup(), mod_atmos_admin::atmos_phy_mp_type, mod_atmos_vars::atmos_restart_check, scale_atmos_saturation::atmos_saturation_setup(), scale_atmos_solarins::atmos_solarins_constant, scale_atmos_thermodyn::atmos_thermodyn_setup(), mod_atmos_vars::atmos_vars_finalize(), mod_atmos_vars::atmos_vars_history(), mod_atmos_vars::atmos_vars_history_setpres(), mod_atmos_vars::atmos_vars_monitor(), mod_atmos_vars::atmos_vars_restart_check(), mod_atmos_vars::atmos_vars_setup(), scale_bulkflux::bulkflux_setup(), scale_calendar::calendar_setup(), scale_comm_cartesc_nest::comm_cartesc_nest_finalize(), scale_comm_cartesc_nest::comm_cartesc_nest_setup(), scale_comm_cartesc::comm_finalize(), scale_comm_cartesc::comm_regist(), scale_comm_cartesc::comm_setup(), scale_const::const_ci, scale_const::const_cl, scale_const::const_finalize(), scale_const::const_grav, scale_const::const_karman, scale_const::const_lhf0, scale_const::const_lhv0, scale_const::const_rdry, scale_const::const_rvap, scale_const::const_setup(), scale_const::const_stb, scale_const::const_tem00, scale_coriolis::coriolis_finalize(), scale_coriolis::coriolis_setup(), mod_cpl_admin::cpl_admin_setup(), mod_cpl_driver::cpl_driver_finalize(), mod_cpl_driver::cpl_driver_setup(), mod_cpl_admin::cpl_sw, mod_cpl_vars::cpl_vars_finalize(), mod_cpl_vars::cpl_vars_setup(), mod_da_admin::da_admin_setup(), mod_da_admin::da_do, mod_da_driver::da_driver_finalize(), mod_da_driver::da_driver_setup(), mod_da_driver::da_driver_update(), mod_da_vars::da_vars_finalize(), mod_da_vars::da_vars_history(), mod_da_vars::da_vars_monitor(), mod_da_vars::da_vars_setup(), scale_atmos_grid_cartesc::dx, scale_atmos_grid_cartesc::dy, scale_file_cartesc::file_cartesc_finalize(), scale_file_cartesc::file_cartesc_setup(), scale_file::file_close_all(), scale_file_external_input_cartesc::file_external_input_cartesc_finalize(), scale_file_external_input_cartesc::file_external_input_cartesc_setup(), scale_file::file_finalize(), scale_file_grads::file_grads_finalize(), scale_file_history_cartesc::file_history_cartesc_finalize(), scale_file_history_cartesc::file_history_cartesc_setup(), scale_file_history::file_history_finalize(), scale_file_history::file_history_set_nowdate(), scale_file_history::file_history_write(), scale_fpm::fpm_alive, scale_fpm::fpm_polling(), scale_fpm::fpm_polling_freq, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_log, scale_io::io_finalize(), scale_io::io_l, scale_io::io_log_setup(), scale_io::io_setup(), scale_atmos_grid_cartesc_index::ja, mod_lake_admin::lake_admin_setup(), mod_lake_admin::lake_do, mod_land_admin::land_admin_setup(), mod_land_admin::land_do, mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_finalize(), mod_land_driver::land_driver_setup(), mod_land_driver::land_driver_update(), scale_land_grid_cartesc::land_grid_cartesc_finalize(), scale_land_grid_cartesc_index::land_grid_cartesc_index_setup(), scale_land_grid_cartesc_real::land_grid_cartesc_real_finalize(), scale_land_grid_cartesc_real::land_grid_cartesc_real_set_areavol(), scale_land_grid_cartesc_real::land_grid_cartesc_real_setup(), scale_land_grid_cartesc::land_grid_cartesc_setup(), mod_land_vars::land_vars_finalize(), mod_land_vars::land_vars_history(), mod_land_vars::land_vars_monitor(), mod_land_vars::land_vars_setup(), scale_landuse::landuse_finalize(), scale_landuse::landuse_setup(), scale_landuse::landuse_write(), scale_matrix::matrix_finalize(), scale_matrix::matrix_setup(), scale_monitor_cartesc::monitor_cartesc_setup(), scale_monitor::monitor_finalize(), scale_monitor::monitor_write(), mod_ocean_admin::ocean_admin_setup(), mod_ocean_admin::ocean_do, mod_ocean_driver::ocean_driver_calc_tendency(), mod_ocean_driver::ocean_driver_finalize(), mod_ocean_driver::ocean_driver_setup(), mod_ocean_driver::ocean_driver_update(), scale_ocean_grid_cartesc::ocean_grid_cartesc_finalize(), scale_ocean_grid_cartesc_index::ocean_grid_cartesc_index_setup(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_finalize(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_set_areavol(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup(), scale_ocean_grid_cartesc::ocean_grid_cartesc_setup(), mod_ocean_vars::ocean_vars_finalize(), mod_ocean_vars::ocean_vars_history(), mod_ocean_vars::ocean_vars_monitor(), mod_ocean_vars::ocean_vars_setup(), scale_prc::prc_abort(), scale_prc_cartesc::prc_cartesc_finalize(), scale_prc_cartesc::prc_cartesc_setup(), scale_prc::prc_local_setup(), scale_prof::prof_finalize(), scale_prof::prof_rapend(), scale_prof::prof_rapreport(), scale_prof::prof_rapstart(), scale_prof::prof_setprefx(), scale_prof::prof_setup(), mod_atmos_phy_mp_vars::qa_mp, scale_random::random_finalize(), scale_random::random_setup(), restart_read(), scale_statistics::statistics_setup(), mod_admin_time::time_doatmos_step, mod_admin_time::time_doda_step, mod_admin_time::time_doend, mod_admin_time::time_doland_step, mod_admin_time::time_doocean_step, mod_admin_time::time_doresume, mod_admin_time::time_dourban_step, scale_time::time_dtsec, scale_time::time_nowdate, scale_time::time_nowstep, scale_time::time_nowsubsec, scale_topography::topography_finalize(), scale_topography::topography_setup(), scale_topography::topography_write(), scale_tracer::tracer_finalize(), mod_urban_admin::urban_admin_setup(), mod_urban_admin::urban_do, mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_finalize(), mod_urban_driver::urban_driver_setup(), mod_urban_driver::urban_driver_update(), scale_urban_grid_cartesc::urban_grid_cartesc_finalize(), scale_urban_grid_cartesc_index::urban_grid_cartesc_index_setup(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_finalize(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_set_areavol(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_setup(), scale_urban_grid_cartesc::urban_grid_cartesc_setup(), mod_urban_admin::urban_land, mod_urban_vars::urban_vars_finalize(), mod_urban_vars::urban_vars_history(), mod_urban_vars::urban_vars_monitor(), mod_urban_vars::urban_vars_setup(), mod_user::user_calc_tendency(), mod_user::user_finalize(), mod_user::user_setup(), mod_user::user_tracer_setup(), and mod_user::user_update().

Referenced by mod_launcher::launcher().

Here is the caller graph for this function:

◆ restart_read()

subroutine mod_rm_driver::restart_read

Definition at line 709 of file mod_rm_driver.F90.

710  use scale_atmos_grid_cartesc, only: &
711  cz => atmos_grid_cartesc_cz, &
712  fz => atmos_grid_cartesc_fz, &
713  fdz => atmos_grid_cartesc_fdz, &
715  use scale_atmos_grid_cartesc_real, only: &
716  real_cz => atmos_grid_cartesc_real_cz, &
717  real_fz => atmos_grid_cartesc_real_fz, &
718  real_phi => atmos_grid_cartesc_real_phi, &
720  use scale_time, only: &
722  use mod_admin_restart, only: &
724  use mod_atmos_admin, only: &
725  atmos_do
726  use mod_atmos_driver, only: &
730  use mod_atmos_vars, only: &
735  dens, &
736  pott, &
737  temp, &
738  pres, &
739  qv
740  use mod_atmos_bnd_driver, only: &
742  use scale_atmos_refstate, only: &
744  use mod_ocean_admin, only: &
745  ocean_do
746  use mod_ocean_driver, only: &
749  use mod_ocean_vars, only: &
752  use mod_land_admin, only: &
753  land_do
754  use mod_land_driver, only: &
757  use mod_land_vars, only: &
760  use mod_urban_admin, only: &
761  urban_do
762  use mod_urban_driver, only: &
765  use mod_urban_vars, only: &
768  use mod_cpl_admin, only: &
769  cpl_sw
770  use mod_da_admin, only: &
771  da_do
772  use mod_da_vars, only: &
773  da_vars_history, &
775  use mod_user, only: &
777  implicit none
778  !---------------------------------------------------------------------------
779 
780  ! read restart data
781  call admin_restart_read
782 
783  if ( atmos_do ) then
784  ! calc diagnostics
786  call prof_rapstart('ATM_Refstate', 2)
787  call atmos_refstate_update( ka, ks, ke, ia, is, ie, isb, ieb, ja, js, je, jsb, jeb, &
788  dens(:,:,:), pott(:,:,:), temp(:,:,:), pres(:,:,:), qv(:,:,:), & ! [IN]
789  cz(:), fz(:), fdz(:), rcdz(:), & ! [IN]
790  real_cz(:,:,:), real_fz(:,:,:), real_phi(:,:,:), area(:,:), & ! [IN]
792  call prof_rapend('ATM_Refstate', 2)
796  endif
797 
798  ! setup surface condition
799  if( atmos_do ) call atmos_surface_set( countup=.false. )
800  if( ocean_do ) call ocean_surface_set( countup=.false. )
801  if( land_do ) call land_surface_set ( countup=.false. )
802  if( urban_do ) call urban_surface_set( countup=.false. )
803 
804  ! calc tendencies
805  if( atmos_do ) call atmos_driver_calc_tendency ( force=.true. )
806  if( ocean_do ) call ocean_driver_calc_tendency ( force=.true. )
807  if( land_do ) call land_driver_calc_tendency ( force=.true. )
808  if( urban_do ) call urban_driver_calc_tendency ( force=.true. )
809  if( cpl_sw ) call atmos_driver_calc_tendency_from_sflux( force=.true. )
810  call user_calc_tendency
811 
812  !########## History & Monitor ##########
813  if( atmos_do ) call atmos_vars_history
814  if( ocean_do ) call ocean_vars_history
815  if( land_do ) call land_vars_history
816  if( urban_do ) call urban_vars_history
817  if( da_do ) call da_vars_history
818 
819  if( atmos_do ) call atmos_vars_monitor
820  if( ocean_do ) call ocean_vars_monitor
821  if( land_do ) call land_vars_monitor
822  if( urban_do ) call urban_vars_monitor
823  if( da_do ) call da_vars_monitor
824 
825  return

References mod_admin_restart::admin_restart_read(), mod_atmos_bnd_driver::atmos_boundary_driver_set(), mod_atmos_admin::atmos_do, mod_atmos_driver::atmos_driver_calc_tendency(), mod_atmos_driver::atmos_driver_calc_tendency_from_sflux(), scale_atmos_grid_cartesc::atmos_grid_cartesc_cz, scale_atmos_grid_cartesc::atmos_grid_cartesc_fdz, scale_atmos_grid_cartesc::atmos_grid_cartesc_fz, scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_cz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_phi, scale_atmos_refstate::atmos_refstate_update(), mod_atmos_driver::atmos_surface_set(), mod_atmos_vars::atmos_vars_calc_diagnostics(), mod_atmos_vars::atmos_vars_history(), mod_atmos_vars::atmos_vars_history_setpres(), mod_atmos_vars::atmos_vars_monitor(), mod_cpl_admin::cpl_sw, mod_da_admin::da_do, mod_da_vars::da_vars_history(), mod_da_vars::da_vars_monitor(), mod_atmos_vars::dens, scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::ieb, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::isb, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::jsb, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, mod_land_admin::land_do, mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), mod_land_vars::land_vars_history(), mod_land_vars::land_vars_monitor(), mod_ocean_admin::ocean_do, mod_ocean_driver::ocean_driver_calc_tendency(), mod_ocean_driver::ocean_surface_set(), mod_ocean_vars::ocean_vars_history(), mod_ocean_vars::ocean_vars_monitor(), mod_atmos_vars::pott, mod_atmos_vars::pres, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), mod_atmos_vars::qv, mod_atmos_vars::temp, scale_time::time_nowdaysec, mod_urban_admin::urban_do, mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), mod_urban_vars::urban_vars_history(), mod_urban_vars::urban_vars_monitor(), and mod_user::user_calc_tendency().

Referenced by rm_driver().

Here is the call graph for this function:
Here is the caller graph for this function:
scale_const::const_grav
real(rp), public const_grav
standard acceleration of gravity [m/s2]
Definition: scale_const.F90:49
scale_atmos_grid_cartesc_index::isb
integer, public isb
Definition: scale_atmos_grid_cartesC_index.F90:64
mod_ocean_driver
module OCEAN driver
Definition: mod_ocean_driver.F90:11
scale_comm_cartesc::comm_setup
subroutine, public comm_setup
Setup.
Definition: scale_comm_cartesC.F90:200
scale_land_grid_cartesc_real::land_grid_cartesc_real_setup
subroutine, public land_grid_cartesc_real_setup
Setup real grid.
Definition: scale_land_grid_cartesC_real.F90:54
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
mod_atmos_phy_mp_vars
module Atmosphere / Physics Cloud Microphysics
Definition: mod_atmos_phy_mp_vars.F90:12
scale_const::const_lhv0
real(rp), parameter, public const_lhv0
latent heat of vaporizaion at 0C [J/kg]
Definition: scale_const.F90:82
mod_urban_admin::urban_do
logical, public urban_do
Definition: mod_urban_admin.F90:32
scale_atmos_grid_cartesc_index::ke
integer, public ke
end point of inner domain: z, local
Definition: scale_atmos_grid_cartesC_index.F90:52
mod_ocean_driver::ocean_driver_update
subroutine, public ocean_driver_update
Ocean step.
Definition: mod_ocean_driver.F90:994
mod_admin_restart
module administrator for restart
Definition: mod_admin_restart.F90:11
scale_time::time_nowdaysec
real(dp), public time_nowdaysec
second of current time [sec]
Definition: scale_time.F90:72
mod_user
module USER
Definition: mod_user.F90:12
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:350
mod_atmos_phy_mp_vars::qa_mp
integer, public qa_mp
Definition: mod_atmos_phy_mp_vars.F90:78
scale_file_history::file_history_finalize
subroutine, public file_history_finalize
finalization
Definition: scale_file_history.F90:1994
mod_user::user_setup
subroutine, public user_setup
Setup before setup of other components.
Definition: mod_user.F90:84
mod_land_driver
module LAND driver
Definition: mod_land_driver.F90:11
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_cz
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_cz
geopotential height [m] (zxy)
Definition: scale_atmos_grid_cartesC_real.F90:39
mod_cpl_admin::cpl_admin_setup
subroutine, public cpl_admin_setup
Setup.
Definition: mod_cpl_admin.F90:48
mod_atmos_vars::pott
real(rp), dimension(:,:,:), allocatable, target, public pott
Definition: mod_atmos_vars.F90:133
scale_file::file_close_all
subroutine, public file_close_all(skip_abort)
Definition: scale_file.F90:6287
mod_atmos_driver::atmos_driver_tracer_setup
subroutine, public atmos_driver_tracer_setup
Tracer setup.
Definition: mod_atmos_driver.F90:54
mod_user::user_tracer_setup
subroutine, public user_tracer_setup
Config before setup of tracers.
Definition: mod_user.F90:55
mod_ocean_driver::ocean_driver_finalize
subroutine, public ocean_driver_finalize
Finalize.
Definition: mod_ocean_driver.F90:190
mod_da_driver
module Data Assimilation driver
Definition: mod_da_driver.F90:11
scale_atmos_grid_cartesc::atmos_grid_cartesc_setup
subroutine, public atmos_grid_cartesc_setup(basename, aggregate)
Setup.
Definition: scale_atmos_grid_cartesC.F90:109
mod_cpl_vars
module COUPLER Variables
Definition: mod_cpl_vars.F90:12
scale_landuse::landuse_setup
subroutine, public landuse_setup(OCEAN_do, URBAN_do, LAKE_do)
Setup.
Definition: scale_landuse.F90:102
mod_land_vars::land_vars_history
subroutine, public land_vars_history
History output set for land variables.
Definition: mod_land_vars.F90:821
scale_monitor::monitor_write
subroutine, public monitor_write(memo, nowstep)
Flush monitor buffer to formatted file.
Definition: scale_monitor.F90:518
scale_land_grid_cartesc::land_grid_cartesc_finalize
subroutine, public land_grid_cartesc_finalize
Finalize.
Definition: scale_land_grid_cartesC.F90:142
scale_atmos_grid_cartesc_index::ka
integer, public ka
Definition: scale_atmos_grid_cartesC_index.F90:47
mod_atmos_admin
module ATMOS admin
Definition: mod_atmos_admin.F90:11
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup
subroutine, public ocean_grid_cartesc_real_setup
Setup area and volume.
Definition: scale_ocean_grid_cartesC_real.F90:56
scale_coriolis
module Coriolis
Definition: scale_coriolis.F90:12
mod_atmos_admin::atmos_do
logical, public atmos_do
Definition: mod_atmos_admin.F90:33
mod_ocean_admin::ocean_admin_setup
subroutine, public ocean_admin_setup
Setup.
Definition: mod_ocean_admin.F90:62
scale_atmos_solarins::atmos_solarins_constant
real(rp), public atmos_solarins_constant
Definition: scale_atmos_solarins.F90:43
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_finalize
subroutine, public ocean_grid_cartesc_real_finalize
Finalize.
Definition: scale_ocean_grid_cartesC_real.F90:69
scale_const::const_rvap
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
Definition: scale_const.F90:68
scale_comm_cartesc_nest
module Communication CartesianC nesting
Definition: scale_comm_cartesC_nest.F90:12
mod_urban_admin::urban_admin_setup
subroutine, public urban_admin_setup
Setup.
Definition: mod_urban_admin.F90:55
mod_admin_time::time_doland_step
logical, public time_doland_step
execute land component in this step?
Definition: mod_admin_time.F90:60
scale_file_external_input_cartesc
module file / external_input_cartesC
Definition: scale_file_external_input_cartesC.F90:12
scale_time::time_nowsubsec
real(dp), public time_nowsubsec
subsecond part of current time [sec]
Definition: scale_time.F90:71
scale_atmos_grid_cartesc_metric
module Atmosphere Grid CartesianC metirc
Definition: scale_atmos_grid_cartesC_metric.F90:12
scale_bulkflux
module Surface bulk flux
Definition: scale_bulkflux.F90:12
mod_ocean_vars::ocean_vars_monitor
subroutine, public ocean_vars_monitor
monitor output
Definition: mod_ocean_vars.F90:1186
scale_atmos_hydrometeor
module atmosphere / hydrometeor
Definition: scale_atmos_hydrometeor.F90:12
mod_user::user_finalize
subroutine, public user_finalize
Finalization.
Definition: mod_user.F90:117
scale_fpm::fpm_polling
subroutine, public fpm_polling(run_stat, stop_signal)
Main system of FPM.
Definition: scale_fpm.F90:176
mod_da_admin::da_do
logical, public da_do
Definition: mod_da_admin.F90:34
scale_atmos_refstate
module atmosphere / reference state
Definition: scale_atmos_refstate.F90:12
mod_urban_vars::urban_vars_monitor
subroutine, public urban_vars_monitor
monitor output
Definition: mod_urban_vars.F90:880
scale_topography::topography_write
subroutine, public topography_write
Write topography.
Definition: scale_topography.F90:208
scale_random
module RANDOM
Definition: scale_random.F90:11
scale_file_external_input_cartesc::file_external_input_cartesc_finalize
subroutine, public file_external_input_cartesc_finalize
Finalize.
Definition: scale_file_external_input_cartesC.F90:80
scale_topography
module TOPOGRAPHY
Definition: scale_topography.F90:11
scale_calendar
module CALENDAR
Definition: scale_calendar.F90:13
scale_urban_grid_cartesc_index
module urban / grid / icosahedralA / index
Definition: scale_urban_grid_cartesC_index.F90:11
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol
subroutine, public atmos_grid_cartesc_real_calc_areavol(MAPF)
Calc control area/volume.
Definition: scale_atmos_grid_cartesC_real.F90:628
scale_atmos_solarins
module atmosphere / SOLARINS
Definition: scale_atmos_solarins.F90:14
scale_atmos_grid_cartesc::atmos_grid_cartesc_rcdz
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_rcdz
reciprocal of center-dz
Definition: scale_atmos_grid_cartesC.F90:45
scale_ocean_grid_cartesc
module ocean / grid / cartesianC
Definition: scale_ocean_grid_cartesC.F90:12
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
scale_random::random_setup
subroutine, public random_setup
Setup.
Definition: scale_random.F90:69
mod_atmos_driver
module ATMOSPHERE driver
Definition: mod_atmos_driver.F90:12
mod_urban_driver::urban_driver_update
subroutine, public urban_driver_update
Urban step.
Definition: mod_urban_driver.F90:576
mod_admin_time::admin_time_setup
subroutine, public admin_time_setup(setup_TimeIntegration)
Setup.
Definition: mod_admin_time.F90:122
scale_file_history
module file_history
Definition: scale_file_history.F90:15
scale_atmos_grid_cartesc::dx
real(rp), public dx
Definition: scale_atmos_grid_cartesC.F90:39
mod_land_vars::land_vars_monitor
subroutine, public land_vars_monitor
monitor output
Definition: mod_land_vars.F90:956
scale_coriolis::coriolis_setup
subroutine, public coriolis_setup(IA, JA, LAT, CY, DOMAIN_CENTER_Y)
Setup.
Definition: scale_coriolis.F90:60
mod_lake_admin::lake_admin_setup
subroutine, public lake_admin_setup
Setup.
Definition: mod_lake_admin.F90:51
scale_file
module file
Definition: scale_file.F90:15
scale_file_grads::file_grads_finalize
subroutine, public file_grads_finalize
Definition: scale_file_grads.F90:700
scale_atmos_refstate::atmos_refstate_update
subroutine, public atmos_refstate_update(KA, KS, KE, IA, IS, IE, ISB, IEB, JA, JS, JE, JSB, JEB, DENS, POTT, TEMP, PRES, QV, CZ, FZ, FDZ, RCDZ, REAL_CZ, REAL_FZ, REAL_PHI, AREA, nowsec)
Update reference state profile (Horizontal average)
Definition: scale_atmos_refstate.F90:644
scale_prc_cartesc::prc_cartesc_setup
subroutine, public prc_cartesc_setup
Setup Processor topology.
Definition: scale_prc_cartesC.F90:71
scale_file_history::file_history_set_nowdate
subroutine, public file_history_set_nowdate(NOWDATE, NOWSUBSEC, NOWSTEP)
set now step
Definition: scale_file_history.F90:1965
scale_atmos_grid_cartesc::atmos_grid_cartesc_domain_center_y
real(rp), public atmos_grid_cartesc_domain_center_y
center position of global domain [m]: y
Definition: scale_atmos_grid_cartesC.F90:92
mod_da_vars
module Data Assimilation Variables
Definition: mod_da_vars.F90:12
mod_urban_driver::urban_driver_calc_tendency
subroutine, public urban_driver_calc_tendency(force)
Calclate tendency.
Definition: mod_urban_driver.F90:152
mod_atmos_vars::atmos_restart_check
logical, public atmos_restart_check
Check value consistency?
Definition: mod_atmos_vars.F90:71
scale_land_grid_cartesc_index
module land / grid / cartesianC / index
Definition: scale_land_grid_cartesC_index.F90:11
scale_atmos_grid_cartesc_index::jeb
integer, public jeb
Definition: scale_atmos_grid_cartesC_index.F90:67
mod_da_driver::da_driver_finalize
subroutine, public da_driver_finalize
finalize
Definition: mod_da_driver.F90:273
mod_ocean_driver::ocean_surface_set
subroutine, public ocean_surface_set(countup)
Put surface boundary to other model.
Definition: mod_ocean_driver.F90:1248
scale_urban_grid_cartesc::urban_grid_cartesc_finalize
subroutine, public urban_grid_cartesc_finalize
Finalize.
Definition: scale_urban_grid_cartesC.F90:143
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_atmos_vars::atmos_vars_monitor
subroutine, public atmos_vars_monitor
monitor output
Definition: mod_atmos_vars.F90:3714
scale_comm_cartesc_nest::comm_cartesc_nest_setup
subroutine, public comm_cartesc_nest_setup(QA_MP, MP_TYPE_in)
Setup.
Definition: scale_comm_cartesC_nest.F90:239
scale_const::const_finalize
subroutine, public const_finalize
Finalize.
Definition: scale_const.F90:285
scale_file_external_input_cartesc::file_external_input_cartesc_setup
subroutine, public file_external_input_cartesc_setup
Setup.
Definition: scale_file_external_input_cartesC.F90:55
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_mapf
real(rp), dimension(:,:,:,:), allocatable, public atmos_grid_cartesc_metric_mapf
map factor
Definition: scale_atmos_grid_cartesC_metric.F90:35
scale_prc::prc_local_setup
subroutine, public prc_local_setup(comm, myrank, ismaster)
Setup MPI in local communicator.
Definition: scale_prc.F90:229
scale_atmos_grid_cartesc_index::ie
integer, public ie
end point of inner domain: x, local
Definition: scale_atmos_grid_cartesC_index.F90:54
mod_urban_admin::urban_land
logical, public urban_land
Definition: mod_urban_admin.F90:33
scale_ocean_grid_cartesc::ocean_grid_cartesc_finalize
subroutine, public ocean_grid_cartesc_finalize
Finalize.
Definition: scale_ocean_grid_cartesC.F90:144
scale_bulkflux::bulkflux_setup
subroutine, public bulkflux_setup(dx)
Definition: scale_bulkflux.F90:148
mod_atmos_vars::dens
real(rp), dimension(:,:,:), allocatable, target, public dens
Definition: mod_atmos_vars.F90:76
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_set_areavol
subroutine, public ocean_grid_cartesc_real_set_areavol
Definition: scale_ocean_grid_cartesC_real.F90:80
mod_ocean_admin
module Ocean admin
Definition: mod_ocean_admin.F90:11
scale_urban_grid_cartesc_index::urban_grid_cartesc_index_setup
subroutine, public urban_grid_cartesc_index_setup
Setup.
Definition: scale_urban_grid_cartesC_index.F90:63
scale_comm_cartesc_nest::comm_cartesc_nest_finalize
subroutine, public comm_cartesc_nest_finalize
finalize
Definition: scale_comm_cartesC_nest.F90:3139
mod_admin_restart::admin_restart_setup
subroutine, public admin_restart_setup
Setup.
Definition: mod_admin_restart.F90:58
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
mod_land_driver::land_surface_set
subroutine, public land_surface_set(countup)
Put surface boundary to other model.
Definition: mod_land_driver.F90:903
mod_urban_vars::urban_vars_setup
subroutine, public urban_vars_setup
Setup.
Definition: mod_urban_vars.F90:306
mod_urban_vars::urban_vars_history
subroutine, public urban_vars_history
History output set for urban variables.
Definition: mod_urban_vars.F90:781
mod_atmos_vars::atmos_vars_setup
subroutine, public atmos_vars_setup
Setup.
Definition: mod_atmos_vars.F90:468
mod_atmos_vars::atmos_vars_history_setpres
subroutine, public atmos_vars_history_setpres
Set pressure for history output.
Definition: mod_atmos_vars.F90:1214
scale_coriolis::coriolis_finalize
subroutine, public coriolis_finalize
Finalize.
Definition: scale_coriolis.F90:132
scale_topography::topography_setup
subroutine, public topography_setup
Setup.
Definition: scale_topography.F90:67
mod_atmos_driver::atmos_driver_finalize
subroutine, public atmos_driver_finalize(init)
Finalize.
Definition: mod_atmos_driver.F90:523
mod_da_admin
module Data Assimilation admin
Definition: mod_da_admin.F90:11
mod_atmos_vars::atmos_vars_restart_check
subroutine, public atmos_vars_restart_check
Check and compare between last data and sample data.
Definition: mod_atmos_vars.F90:1251
mod_land_admin
module Land admin
Definition: mod_land_admin.F90:11
scale_prc_cartesc::prc_cartesc_finalize
subroutine, public prc_cartesc_finalize
Setup Processor topology.
Definition: scale_prc_cartesC.F90:251
mod_atmos_driver::atmos_driver_update
subroutine, public atmos_driver_update
advance atmospheric state
Definition: mod_atmos_driver.F90:397
scale_comm_cartesc::comm_regist
subroutine, public comm_regist(KA, IA, JA, IHALO, JHALO, gid)
Regist grid.
Definition: scale_comm_cartesC.F90:446
mod_lake_admin::lake_do
logical, public lake_do
Definition: mod_lake_admin.F90:32
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_set_areavol
subroutine, public urban_grid_cartesc_real_set_areavol
Definition: scale_urban_grid_cartesC_real.F90:78
mod_cpl_driver
module CPL driver
Definition: mod_cpl_driver.F90:11
scale_urban_grid_cartesc
module urban / grid / cartesianC
Definition: scale_urban_grid_cartesC.F90:12
scale_land_grid_cartesc_real
module land / grid / cartesianC / real
Definition: scale_land_grid_cartesC_real.F90:11
mod_admin_time::time_doend
logical, public time_doend
finish program in this step?
Definition: mod_admin_time.F90:66
scale_matrix::matrix_finalize
subroutine, public matrix_finalize
Finalize.
Definition: scale_matrix.F90:117
mod_land_vars
module LAND Variables
Definition: mod_land_vars.F90:11
scale_prc_cartesc
module process / cartesC
Definition: scale_prc_cartesC.F90:11
scale_land_grid_cartesc_index::land_grid_cartesc_index_setup
subroutine, public land_grid_cartesc_index_setup
Setup.
Definition: scale_land_grid_cartesC_index.F90:63
mod_urban_driver
module URBAN driver
Definition: mod_urban_driver.F90:11
scale_comm_cartesc::comm_finalize
subroutine, public comm_finalize
Finalize.
Definition: scale_comm_cartesC.F90:626
mod_admin_time::time_doatmos_step
logical, public time_doatmos_step
execute atmosphere component in this step?
Definition: mod_admin_time.F90:46
scale_time::time_nowstep
integer, public time_nowstep
current step [number]
Definition: scale_time.F90:73
scale_random::random_finalize
subroutine, public random_finalize
finalize
Definition: scale_random.F90:229
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_finalize
subroutine, public atmos_grid_cartesc_metric_finalize
Finalize.
Definition: scale_atmos_grid_cartesC_metric.F90:172
mod_ocean_driver::ocean_driver_calc_tendency
subroutine, public ocean_driver_calc_tendency(force)
Calculate tendency.
Definition: mod_ocean_driver.F90:245
mod_atmos_bnd_driver
module ATMOSPHERE / Boundary treatment
Definition: mod_atmos_bnd_driver.F90:13
mod_land_driver::land_driver_setup
subroutine, public land_driver_setup
Setup.
Definition: mod_land_driver.F90:57
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_setup
subroutine, public atmos_grid_cartesc_real_setup
Setup.
Definition: scale_atmos_grid_cartesC_real.F90:110
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_land_grid_cartesc::land_grid_cartesc_setup
subroutine, public land_grid_cartesc_setup
Setup.
Definition: scale_land_grid_cartesC.F90:60
mod_cpl_driver::cpl_driver_setup
subroutine, public cpl_driver_setup
Setup.
Definition: mod_cpl_driver.F90:47
scale_file_grads
module file_grads
Definition: scale_file_grads.F90:11
mod_user::user_calc_tendency
subroutine, public user_calc_tendency
Calculation tendency.
Definition: mod_user.F90:135
scale_file_cartesc::file_cartesc_finalize
subroutine, public file_cartesc_finalize
deallocate buffers
Definition: scale_file_cartesC.F90:320
mod_da_vars::da_vars_monitor
subroutine, public da_vars_monitor
monitor output
Definition: mod_da_vars.F90:124
scale_atmos_grid_cartesc_index::is
integer, public is
start point of inner domain: x, local
Definition: scale_atmos_grid_cartesC_index.F90:53
mod_ocean_vars
module OCEAN Variables
Definition: mod_ocean_vars.F90:12
mod_urban_driver::urban_surface_set
subroutine, public urban_surface_set(countup)
Set surface boundary to other model.
Definition: mod_urban_driver.F90:744
mod_admin_restart::admin_restart_write
subroutine, public admin_restart_write
Write data to restart files.
Definition: mod_admin_restart.F90:389
scale_ocean_grid_cartesc_index
module ocean / grid / cartesianC / index
Definition: scale_ocean_grid_cartesC_index.F90:11
scale_land_grid_cartesc_real::land_grid_cartesc_real_finalize
subroutine, public land_grid_cartesc_real_finalize
Finalize.
Definition: scale_land_grid_cartesC_real.F90:66
mod_atmos_admin::atmos_admin_setup
subroutine, public atmos_admin_setup
Setup.
Definition: mod_atmos_admin.F90:75
mod_atmos_vars::temp
real(rp), dimension(:,:,:), allocatable, target, public temp
Definition: mod_atmos_vars.F90:134
mod_ocean_vars::ocean_vars_history
subroutine, public ocean_vars_history
History output set for ocean variables.
Definition: mod_ocean_vars.F90:868
mod_cpl_vars::cpl_vars_setup
subroutine, public cpl_vars_setup
Setup.
Definition: mod_cpl_vars.F90:177
mod_urban_vars::urban_vars_finalize
subroutine, public urban_vars_finalize
Finalize.
Definition: mod_urban_vars.F90:564
scale_atmos_grid_cartesc_index::ja
integer, public ja
Definition: scale_atmos_grid_cartesC_index.F90:49
scale_fpm::fpm_polling_freq
integer, public fpm_polling_freq
Definition: scale_fpm.F90:31
scale_time
module TIME
Definition: scale_time.F90:11
mod_atmos_vars::qv
real(rp), dimension(:,:,:), allocatable, pointer, target, public qv
Definition: mod_atmos_vars.F90:97
scale_ocean_grid_cartesc_index::ocean_grid_cartesc_index_setup
subroutine, public ocean_grid_cartesc_index_setup
Setup.
Definition: scale_ocean_grid_cartesC_index.F90:65
scale_monitor_cartesc::monitor_cartesc_setup
subroutine, public monitor_cartesc_setup(dt, ATMOS_do, OCEAN_do, LAND_do, URBAN_do)
Setup.
Definition: scale_monitor_cartesC.F90:52
mod_land_driver::land_driver_update
subroutine, public land_driver_update
Land step.
Definition: mod_land_driver.F90:764
mod_admin_time::admin_time_advance
subroutine, public admin_time_advance
Advance the time & evaluate restart & stop.
Definition: mod_admin_time.F90:1113
mod_admin_time::time_doresume
logical, public time_doresume
resume in this step?
Definition: mod_admin_time.F90:65
mod_admin_time::admin_time_checkstate
subroutine, public admin_time_checkstate
Evaluate component execution.
Definition: mod_admin_time.F90:943
scale_tracer
module TRACER
Definition: scale_tracer.F90:12
scale_const::const_stb
real(rp), parameter, public const_stb
Stefan-Boltzman constant [W/m2/K4].
Definition: scale_const.F90:53
scale_atmos_saturation::atmos_saturation_setup
subroutine, public atmos_saturation_setup
Setup.
Definition: scale_atmos_saturation.F90:244
mod_atmos_vars::pres
real(rp), dimension(:,:,:), allocatable, target, public pres
Definition: mod_atmos_vars.F90:135
scale_atmos_grid_cartesc::dy
real(rp), public dy
Definition: scale_atmos_grid_cartesC.F90:39
scale_const::const_ci
real(rp), parameter, public const_ci
specific heat (ice) [J/kg/K]
Definition: scale_const.F90:72
scale_calendar::calendar_setup
subroutine, public calendar_setup
Setup.
Definition: scale_calendar.F90:95
mod_admin_time
module ADMIN TIME
Definition: mod_admin_time.F90:11
scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup
subroutine, public atmos_grid_cartesc_index_setup(KMAX, IMAXG, JMAXG, IMAX, JMAX, KHALO, IHALO, JHALO, IBLOCK, JBLOCK)
setup index
Definition: scale_atmos_grid_cartesC_index.F90:118
scale_atmos_grid_cartesc_index::ks
integer, public ks
start point of inner domain: z, local
Definition: scale_atmos_grid_cartesC_index.F90:51
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_finalize
subroutine, public urban_grid_cartesc_real_finalize
Finalize.
Definition: scale_urban_grid_cartesC_real.F90:67
scale_fpm::fpm_alive
logical, public fpm_alive
Definition: scale_fpm.F90:32
mod_user::user_update
subroutine, public user_update
User step.
Definition: mod_user.F90:144
mod_da_driver::da_driver_update
subroutine, public da_driver_update
Data Assimilation.
Definition: mod_da_driver.F90:336
mod_ocean_vars::ocean_vars_finalize
subroutine, public ocean_vars_finalize
Finalize.
Definition: mod_ocean_vars.F90:608
mod_ocean_admin::ocean_do
logical, public ocean_do
Definition: mod_ocean_admin.F90:32
scale_const::const_tem00
real(rp), parameter, public const_tem00
temperature reference (0C) [K]
Definition: scale_const.F90:99
scale_atmos_hydrostatic
module atmosphere / hydrostatic barance
Definition: scale_atmos_hydrostatic.F90:12
mod_land_vars::land_vars_setup
subroutine, public land_vars_setup
Setup.
Definition: mod_land_vars.F90:283
scale_file_history_cartesc
module file / history_cartesC
Definition: scale_file_history_cartesC.F90:12
mod_urban_driver::urban_driver_setup
subroutine, public urban_driver_setup
Setup.
Definition: mod_urban_driver.F90:56
scale_atmos_grid_cartesc::atmos_grid_cartesc_fz
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_fz
face coordinate [m]: z, local
Definition: scale_atmos_grid_cartesC.F90:42
mod_atmos_driver::atmos_surface_set
subroutine, public atmos_surface_set(countup)
Set surface boundary condition.
Definition: mod_atmos_driver.F90:638
scale_landuse::landuse_finalize
subroutine, public landuse_finalize
Finalize.
Definition: scale_landuse.F90:593
scale_file_history::file_history_write
subroutine, public file_history_write
Definition: scale_file_history.F90:1911
mod_land_driver::land_driver_calc_tendency
subroutine, public land_driver_calc_tendency(force)
Calculate tendency.
Definition: mod_land_driver.F90:150
scale_monitor_cartesc
module MONITOR CartesC
Definition: scale_monitor_cartesC.F90:12
mod_atmos_driver::atmos_driver_setup
subroutine, public atmos_driver_setup(init)
Setup.
Definition: mod_atmos_driver.F90:111
scale_time::time_dtsec
real(dp), public time_dtsec
time interval of model [sec]
Definition: scale_time.F90:33
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
mod_atmos_vars::atmos_vars_finalize
subroutine, public atmos_vars_finalize
finalize
Definition: mod_atmos_vars.F90:3876
scale_fpm
module FPM
Definition: scale_fpm.F90:10
scale_ocean_grid_cartesc::ocean_grid_cartesc_setup
subroutine, public ocean_grid_cartesc_setup
Setup.
Definition: scale_ocean_grid_cartesC.F90:62
scale_const::const_cl
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
Definition: scale_const.F90:71
mod_atmos_vars
module ATMOSPHERIC Variables
Definition: mod_atmos_vars.F90:12
mod_land_driver::land_driver_finalize
subroutine, public land_driver_finalize
finalize
Definition: mod_land_driver.F90:120
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup
subroutine, public atmos_grid_cartesc_metric_setup
Setup.
Definition: scale_atmos_grid_cartesC_metric.F90:73
mod_atmos_vars::atmos_vars_history
subroutine, public atmos_vars_history
History output set for atmospheric variables.
Definition: mod_atmos_vars.F90:1393
scale_land_grid_cartesc_real::land_grid_cartesc_real_set_areavol
subroutine, public land_grid_cartesc_real_set_areavol
Definition: scale_land_grid_cartesC_real.F90:77
mod_land_admin::land_do
logical, public land_do
Definition: mod_land_admin.F90:41
scale_time::time_nowdate
integer, dimension(6), public time_nowdate
current time [YYYY MM DD HH MM SS]
Definition: scale_time.F90:68
scale_urban_grid_cartesc::urban_grid_cartesc_setup
subroutine, public urban_grid_cartesc_setup
Setup.
Definition: scale_urban_grid_cartesC.F90:61
mod_ocean_driver::ocean_driver_setup
subroutine, public ocean_driver_setup
Setup.
Definition: mod_ocean_driver.F90:58
scale_atmos_grid_cartesc_index::js
integer, public js
start point of inner domain: y, local
Definition: scale_atmos_grid_cartesC_index.F90:55
mod_ocean_vars::ocean_vars_setup
subroutine, public ocean_vars_setup
Setup.
Definition: mod_ocean_vars.F90:285
scale_const::const_karman
real(rp), parameter, public const_karman
von Karman constant
Definition: scale_const.F90:54
scale_atmos_grid_cartesc::atmos_grid_cartesc_cy
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cy
center coordinate [m]: y, local
Definition: scale_atmos_grid_cartesC.F90:57
scale_atmos_grid_cartesc::atmos_grid_cartesc_finalize
subroutine, public atmos_grid_cartesc_finalize
Definition: scale_atmos_grid_cartesC.F90:214
scale_file_history_cartesc::file_history_cartesc_finalize
subroutine, public file_history_cartesc_finalize
Setup.
Definition: scale_file_history_cartesC.F90:260
scale_const::const_lhf0
real(rp), public const_lhf0
latent heat of fusion at 0C [J/kg]
Definition: scale_const.F90:86
scale_matrix
module MATRIX
Definition: scale_matrix.F90:17
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_finalize
subroutine, public atmos_grid_cartesc_real_finalize
Finalize.
Definition: scale_atmos_grid_cartesC_real.F90:863
scale_atmos_grid_cartesc_index::ieb
integer, public ieb
Definition: scale_atmos_grid_cartesC_index.F90:65
scale_landuse::landuse_write
subroutine, public landuse_write
Write landuse data.
Definition: scale_landuse.F90:522
mod_cpl_vars::cpl_vars_finalize
subroutine, public cpl_vars_finalize
Finalize.
Definition: mod_cpl_vars.F90:462
scale_file::file_finalize
subroutine, public file_finalize
finalize
Definition: scale_file.F90:277
mod_atmos_admin::atmos_phy_mp_type
character(len=h_short), public atmos_phy_mp_type
Definition: mod_atmos_admin.F90:36
scale_atmos_thermodyn
module atmosphere / thermodyn
Definition: scale_atmos_thermodyn.F90:11
scale_file_history_cartesc::file_history_cartesc_setup
subroutine, public file_history_cartesc_setup
Setup.
Definition: scale_file_history_cartesC.F90:80
scale_const::const_rdry
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
Definition: scale_const.F90:59
mod_atmos_vars::atmos_vars_calc_diagnostics
subroutine, public atmos_vars_calc_diagnostics
Calc diagnostic variables.
Definition: mod_atmos_vars.F90:1747
scale_monitor::monitor_finalize
subroutine, public monitor_finalize
Close file.
Definition: scale_monitor.F90:625
scale_ocean_grid_cartesc_real
module ocean / grid / cartesianC / real
Definition: scale_ocean_grid_cartesC_real.F90:12
mod_land_vars::land_vars_finalize
subroutine, public land_vars_finalize
Finalize.
Definition: mod_land_vars.F90:596
scale_statistics::statistics_setup
subroutine, public statistics_setup
Setup.
Definition: scale_statistics.F90:126
scale_atmos_hydrostatic::atmos_hydrostatic_setup
subroutine, public atmos_hydrostatic_setup
Setup.
Definition: scale_atmos_hydrostatic.F90:120
mod_admin_time::time_dourban_step
logical, public time_dourban_step
execute urban component in this step?
Definition: mod_admin_time.F90:62
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_phi
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_phi
geopotential [m2/s2] (cell center)
Definition: scale_atmos_grid_cartesC_real.F90:64
scale_land_grid_cartesc
module land / grid / cartesianC
Definition: scale_land_grid_cartesC.F90:11
scale_atmos_thermodyn::atmos_thermodyn_setup
subroutine, public atmos_thermodyn_setup
Setup.
Definition: scale_atmos_thermodyn.F90:156
scale_atmos_hydrometeor::atmos_hydrometeor_finalize
subroutine, public atmos_hydrometeor_finalize
Finalize.
Definition: scale_atmos_hydrometeor.F90:255
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_lat
latitude [rad,-pi,pi]
Definition: scale_atmos_grid_cartesC_real.F90:53
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_fz
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_fz
geopotential height [m] (wxy)
Definition: scale_atmos_grid_cartesC_real.F90:43
mod_admin_versioncheck
module ADMIN VERSIONCHECK
Definition: mod_admin_versioncheck.F90:11
scale_atmos_grid_cartesc
module atmosphere / grid / cartesC
Definition: scale_atmos_grid_cartesC.F90:12
mod_da_vars::da_vars_finalize
subroutine, public da_vars_finalize
Finalize.
Definition: mod_da_vars.F90:115
scale_landuse
module LANDUSE
Definition: scale_landuse.F90:19
scale_atmos_grid_cartesc::atmos_grid_cartesc_fdz
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_fdz
z-length of grid(i+1) to grid(i) [m]
Definition: scale_atmos_grid_cartesC.F90:44
mod_urban_admin
module Urban admin
Definition: mod_urban_admin.F90:11
scale_atmos_grid_cartesc::atmos_grid_cartesc_cz
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cz
center coordinate [m]: z, local
Definition: scale_atmos_grid_cartesC.F90:41
scale_topography::topography_finalize
subroutine, public topography_finalize
finalize
Definition: scale_topography.F90:147
scale_file_cartesc::file_cartesc_setup
subroutine, public file_cartesc_setup
Setup.
Definition: scale_file_cartesC.F90:215
scale_tracer::tracer_finalize
subroutine, public tracer_finalize
Definition: scale_tracer.F90:176
scale_urban_grid_cartesc_real
module urban / grid / cartesianC / real
Definition: scale_urban_grid_cartesC_real.F90:12
mod_urban_driver::urban_driver_finalize
subroutine, public urban_driver_finalize
Finalize.
Definition: mod_urban_driver.F90:117
mod_admin_versioncheck::admin_versioncheck
subroutine, public admin_versioncheck
Setup.
Definition: mod_admin_versioncheck.F90:45
mod_admin_restart::admin_restart_read
subroutine, public admin_restart_read
Read from restart files.
Definition: mod_admin_restart.F90:463
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_setup
subroutine, public urban_grid_cartesc_real_setup
Setup real grid.
Definition: scale_urban_grid_cartesC_real.F90:55
mod_atmos_bnd_driver::atmos_boundary_driver_set
subroutine, public atmos_boundary_driver_set(time)
set
Definition: mod_atmos_bnd_driver.F90:548
scale_atmos_hydrometeor::atmos_hydrometeor_setup
subroutine, public atmos_hydrometeor_setup
Setup.
Definition: scale_atmos_hydrometeor.F90:176
mod_lake_admin
module Lake admin
Definition: mod_lake_admin.F90:11
mod_admin_time::time_doda_step
logical, public time_doda_step
execute DA component in this step?
Definition: mod_admin_time.F90:64
scale_atmos_grid_cartesc_index::jsb
integer, public jsb
Definition: scale_atmos_grid_cartesC_index.F90:66
scale_matrix::matrix_setup
subroutine, public matrix_setup
Setup.
Definition: scale_matrix.F90:80
mod_admin_time::time_doocean_step
logical, public time_doocean_step
execute ocean component in this step?
Definition: mod_admin_time.F90:58
scale_atmos_saturation
module atmosphere / saturation
Definition: scale_atmos_saturation.F90:12
mod_da_vars::da_vars_setup
subroutine, public da_vars_setup
Setup.
Definition: mod_da_vars.F90:68
mod_land_admin::land_admin_setup
subroutine, public land_admin_setup
Setup.
Definition: mod_land_admin.F90:57
scale_atmos_grid_cartesc_index::je
integer, public je
end point of inner domain: y, local
Definition: scale_atmos_grid_cartesC_index.F90:56
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11
mod_cpl_admin::cpl_sw
logical, public cpl_sw
Definition: mod_cpl_admin.F90:33
mod_urban_vars
module URBAN Variables
Definition: mod_urban_vars.F90:12
mod_cpl_driver::cpl_driver_finalize
subroutine, public cpl_driver_finalize
finalize
Definition: mod_cpl_driver.F90:56
mod_da_admin::da_admin_setup
subroutine, public da_admin_setup
Setup.
Definition: mod_da_admin.F90:49
mod_da_driver::da_driver_setup
subroutine, public da_driver_setup
Setup.
Definition: mod_da_driver.F90:100
mod_atmos_driver::atmos_driver_calc_tendency_from_sflux
subroutine, public atmos_driver_calc_tendency_from_sflux(force)
Calculation tendency from surface flux with coupler.
Definition: mod_atmos_driver.F90:354
mod_cpl_admin
module Coupler admin
Definition: mod_cpl_admin.F90:11
mod_atmos_driver::atmos_driver_calc_tendency
subroutine, public atmos_driver_calc_tendency(force)
Calculation tendency.
Definition: mod_atmos_driver.F90:199
scale_const::const_setup
subroutine, public const_setup
Setup.
Definition: scale_const.F90:128
mod_da_vars::da_vars_history
subroutine, public da_vars_history
History output set for data-assimilation variables.
Definition: mod_da_vars.F90:106
scale_monitor
module MONITOR
Definition: scale_monitor.F90:12