standard WRF version 3.0.1.1
[wrffire.git] / wrfv2_fire / main / wrf.F
blob58ef5dcec67ac7e1776ac471166f84bbcda81a8c
1 !WRF:DRIVER_LAYER:MAIN
4 PROGRAM wrf
6    USE module_wrf_top, only : wrf_init, wrf_dfi, wrf_run, wrf_finalize
8 !<DESCRIPTION>
9 ! Main program of WRF model.  Responsible for starting up the model, reading in (and
10 ! broadcasting for distributed memory) configuration data, defining and initializing
11 ! the top-level domain, either from initial or restart data, setting up time-keeping, and
12 ! then calling the <a href=integrate.html>integrate</a> routine to advance the domain
13 ! to the ending time of the simulation. After the integration is completed, the model
14 ! is properly shut down.
16 !</DESCRIPTION>
18    IMPLICIT NONE
20    ! Set up WRF model.  
21    CALL wrf_init
23    ! Run digital filter initialization if requested.
24    CALL wrf_dfi
26    ! WRF model time-stepping.  Calls integrate().  
27    CALL wrf_run
29    ! WRF model clean-up.  This calls MPI_FINALIZE() for DM parallel runs.  
30    CALL wrf_finalize
32 END PROGRAM wrf