Subroutine : MODEL_TO_GRID_CONFIG_REC

Defined in: frame/module_configure.F

Description:

This routine is called to populate a domain specific configuration record of TYPE(grid_config_rec_type) with the configuration information for that domain that is stored in TYPE(model_config_rec). Both types are defined in frame/module_configure.F. The input argument is the record of type model_config_rec_type contains the model-wide configuration information (that is, settings that apply to the model in general) and configuration information for each individual domain. The output argument is the record of type grid_config_rec_type which contains the model-wide configuration information and the domain-specific information for this domain only. In the model_config_rec, the domain specific information is arrays, indexed by the grid ids. In the grid_config_rec the domain-specific information is scalar and for the specific domain. The first argument to this routine is the grid id (top-most domain is always 1) as specified in the domain-specific namelist variable grid_id.

The actual assignments form the model_config_rec_type to the grid_config_rec_type are generate from the rconfig entries in the Registry file and included by this routine from the file inc/config_assigns.inc.

NOTE: generated subroutines from Registry file rconfig entries are renamed nl_ instead of rconfig_ due to length limits for subroutine names.

Called by :

init_domain_rk (dyn_em/module_initialize_real.F)
shift_domain_em (dyn_em/shift_domain_em.F)
      med_nest_move (share/mediation_nest_move.F)
            integrate (frame/module_integrate.F)
                  wrf_run (share/module_wrf_top.F)
start_domain_em (dyn_em/start_em.F)
integrate (frame/module_integrate.F)
      wrf_run (share/module_wrf_top.F)
ndown_em (main/ndown_em.F)
real_data (main/real_em.F)
med_sidata_input (main/real_em.F)
      real_data (main/real_em.F)
med_feedback_domain (share/mediation_feedback_domain.F)
      med_nest_feedback (share/mediation_integrate.F)
            integrate (frame/module_integrate.F)
            med_nest_initial (share/mediation_integrate.F)
                  integrate (frame/module_integrate.F)
                        wrf_run (share/module_wrf_top.F)
            med_nest_move (share/mediation_nest_move.F)
                  integrate (frame/module_integrate.F)
med_force_domain (share/mediation_force_domain.F)
      med_nest_force (share/mediation_integrate.F)
            integrate (frame/module_integrate.F)
                  wrf_run (share/module_wrf_top.F)
med_nest_initial (share/mediation_integrate.F)
      integrate (frame/module_integrate.F)
            wrf_run (share/module_wrf_top.F)
med_restart_out (share/mediation_integrate.F)
      med_before_solve_io (share/mediation_integrate.F)
            integrate (frame/module_integrate.F)
                  wrf_run (share/module_wrf_top.F)
      med_last_solve_io (share/mediation_integrate.F)
            integrate (frame/module_integrate.F)
      wrf_init (share/module_wrf_top.F)
med_read_wrf_chem_emiss (share/mediation_integrate.F)
med_interp_domain (share/mediation_interp_domain.F)
      ndown_em (main/ndown_em.F)
      med_nest_initial (share/mediation_integrate.F)
            integrate (frame/module_integrate.F)
      med_nest_move (share/mediation_nest_move.F)
            integrate (frame/module_integrate.F)
med_nest_move (share/mediation_nest_move.F)
      integrate (frame/module_integrate.F)
            wrf_run (share/module_wrf_top.F)
wrf_init (share/module_wrf_top.F)
solve_interface (share/solve_interface.F)
      integrate (frame/module_integrate.F)
Arguments:

  1. id_id        :: INTEGER , INTENT( IN )    
  2. model_config_rec :: TYPE(MODEL_CONFIG_REC_TYPE), INTENT( IN )    
  3. grid_config_rec :: TYPE(GRID_CONFIG_REC_TYPE), INTENT( OUT )