next up previous contents index
Next: Operating Modes Up: Code Structure Previous: Source Code Organization   Contents   Index

Calling Tree

The following is a brief outline of the calling sequence for the main CLM driver routine contained in driver.F90 (Section A.53). Conditionally-executed routines are denoted by the inclusion of the associated pre-processor variable in brackets after the routine name. An exclamation point preceding the variable reverses its meaning. The comprehensive listing of source code prologs contained in Appendix A provides a brief synopsis of the functionality provided by each of the routines listed below.

  1. csm_dosndrcv (Section A.42.6) [COUP_CSM]
  2. csm_recv (Section A.42.7) [COUP_CSM]
  3. interpMonthlyVeg (Section A.28.3) [!DGVM]
    1. readMonthlyVegetation (Section A.28.4)
  4. get_proc_clumps (Section A.50.14)
  5. Begin Loop 1 Over Clumps
    1. get_clump_bounds (Section A.50.10)
    2. DriverInit (Section A.19.1)
    3. Hydrology1 (Section A.22.1)
      1. FracWet (Section A.20.1)
      2. p2c (Section A.87)
    4. SurfaceRadiation (Section A.33.1)
    5. Biogeophysics1 (Section A.3.1)
      1. QSat (Section A.25.1)
    6. BareGroundFluxes (Section A.2.1)
      1. MoninObukIni (Section A.21.4)
      2. FrictionVelocity (Section A.21.1)
    7. CanopyFluxes (Section A.6.1)
      1. QSat (Section A.25.1)
      2. MoninObukIni (Section A.21.4)
      3. FrictionVelocity (Section A.21.1)
      4. Stomata (Section A.6.2)
      5. Stomata (Section A.6.2)
      6. QSat (Section A.25.1)
    8. BiogeophysicsLake (Section A.5.1)
      1. QSat (Section A.25.1)
      2. MoninObukIni (Section A.21.4)
      3. FrictionVelocity (Section A.21.1)
      4. QSat (Section A.25.1)
      5. Tridiagonal (Section A.34.1)
    9. VOCEmission (Section A.35.1) [VOC]
    10. DGVMRespiration (Section A.8.3) [DGVM]
    11. DGVMEcosystemDyn (Section A.8.2) [DGVM]
      1. Phenology (Section A.8.4)
      2. FireSeason (Section A.8.5)
      3. LitterSOM (Section A.8.6)
    12. EcosystemDyn (Section A.28.2) [!DGVM]
    13. SurfaceAlbedo (Section A.32.1)
      1. SnowAlbedo (Section A.32.2)
      2. SoilAlbedo (Section A.32.3)
      3. TwoStream (Section A.32.4)
    14. Biogeophysics2 (Section A.4.1)
      1. SoilTemperature (Section A.31.1)
      2. p2c (Section A.87)
  6. csm_flxave (Section A.42.9) [COUP_CSM]
  7. csm_send (Section A.42.8) [COUP_CSM]
  8. Begin Loop 2 Over Clumps
    1. get_clump_bounds (Section A.50.10)
    2. Hydrology2 (Section A.23.1)
      1. BuildSnowFilter (Section A.29.6)
      2. SnowWater (Section A.29.1)
      3. SurfaceRunoff (Section A.30.1)
      4. Infiltration (Section A.30.2)
      5. SoilWater (Section A.30.3)
      6. Drainage (Section A.30.4)
      7. SnowCompaction (Section A.29.2)
      8. CombineSnowLayers (Section A.29.3)
      9. DivideSnowLayers (Section A.29.4)
      10. BuildSnowFilter (Section A.29.6)
    3. HydrologyLake (Section A.24.1)
    4. SnowAge (Section A.32.5)
    5. BalanceCheck (Section A.1.1)
  9. lnd2atm (Section A.65.1) [OFFLINE]
  10. get_nstep (Section A.91.6)
  11. write_diagnostic (Section A.53.1)
  12. Rtmriverflux (Section A.26.4) [RTM]
  13. updateAccFlds (Section A.37.2)
  14. update_hbuf (Section A.57.8)
  15. get_curr_date (Section A.91.7) [DGVM]
  16. Begin Loop Over Clumps [DGVM]
    1. get_clump_bounds (Section A.50.10)
    2. lpj (Section A.13.1)
      1. get_curr_date (Section A.91.7)
      2. get_ref_date (Section A.91.10)
      3. BuildNatVegFilter (Section A.13.9)
      4. Reproduction (Section A.15.1)
      5. Turnover (Section A.17.1)
      6. Kill (Section A.11.1)
      7. BuildNatVegFilter (Section A.13.9)
      8. Allocation (Section A.7.1)
      9. Light (Section A.12.1)
      10. Mortality (Section A.14.1)
      11. Fire (Section A.10.1)
      12. Establishment (Section A.9.1)
    3. lpjreset1 (Section A.13.2)
      1. DGVMEcosystemDyn (Section A.8.2)
      2. SurfaceAlbedo (Section A.32.1)
        1. SnowAlbedo (Section A.32.2)
        2. SoilAlbedo (Section A.32.3)
        3. TwoStream (Section A.32.4)
      3. resetTimeConstDGVM (Section A.13.5)
  17. htapes_wrapup (Section A.57.16)
  18. Begin Loop Over Clumps [DGVM]
    1. get_clump_bounds (Section A.50.10)
    2. lpjreset2 (Section A.13.3)
      1. c2g (Section A.87)
      2. c2g (Section A.87)
      3. resetWeightsDGVM (Section A.13.6)
      4. c2g (Section A.87)
      5. c2g (Section A.87)
  19. gatherWeightsDGVM (Section A.13.7) [DGVM] [SPMD]
  20. histDGVM (Section A.13.4) [DGVM]
  21. restart (Section A.83.1)
  22. inicfile (Section A.61.1)


next up previous contents index
Next: Operating Modes Up: Code Structure Previous: Source Code Organization   Contents   Index
Mariana Vertenstein 2004-06-21