source: LMDZ6/trunk/libf/phylmd/ecrad.v1.5.1/yomhook.F90 @ 5327

Last change on this file since 5327 was 3908, checked in by idelkadi, 3 years ago

Online implementation of the radiative transfer code ECRAD in the LMDZ model.

  • Inclusion of the ecrad directory containing the sources of the ECRAD code
    • interface routine : radiation_scheme.F90
  • Adaptation of compilation scripts :
    • compilation under CPP key CPP_ECRAD
    • compilation with option "-rad ecard" or "-ecard true"
    • The "-rad old/rtm/ecran" build option will need to replace the "-rrtm true" and "-ecrad true" options in the future.
  • Runing LMDZ simulations with ecrad, you need :
    • logical key iflag_rrtm = 2 in physiq.def
    • namelist_ecrad (DefLists?)
    • the directory "data" containing the configuration files is temporarily placed in ../libfphylmd/ecrad/
  • Compilation and execution are tested in the 1D case. The repository under svn would allow to continue the implementation work: tests, verification of the results, ...
File size: 930 bytes
Line 
1! (C) Copyright 2014- ECMWF.
2!
3! This software is licensed under the terms of the Apache Licence Version 2.0
4! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5!
6! In applying this licence, ECMWF does not waive the privileges and immunities
7! granted to it by virtue of its status as an intergovernmental organisation
8! nor does it submit to any jurisdiction.
9!
10! DR_HOOK is a profiling and debugging system for the IFS, and should
11! be called at the beginning and end of each subroutine. This is a
12! dummy implementation for offline packages.
13
14module yomhook
15
16  public
17
18  save
19
20  logical :: lhook = .false.
21
22contains
23
24  subroutine dr_hook(proc_name, iswitch, proc_key)
25
26    use parkind1, only : jprb
27
28    character(len=*), intent(in)    :: proc_name
29    integer,          intent(in)    :: iswitch
30    real(jprb),       intent(inout) :: proc_key
31    ! Do nothing!
32
33  end subroutine dr_hook
34
35end module yomhook
Note: See TracBrowser for help on using the repository browser.