source: LMDZ6/trunk/libf/misc/lmdz_reprobus_wrappers.F90

Last change on this file was 5325, checked in by abarral, 3 days ago

Add missing inca/reprobus wrappers
Revert lmdz_cppkeys_wrapper.F90 PARAMETER modified by mistake in previous commit

File size: 2.9 KB
Line 
1! reprobus SUBROUTINE wrappers
2
3MODULE lmdz_reprobus_wrappers
4
5#ifdef REPROBUS
6  USE CHEM_REP
7#else
8  USE dimensions_mod, ONLY: iim, jjm, llm, ndm
9
10  IMPLICIT NONE
11
12  ! TODO ugly temp solution until we properly wrap the REPROBUS code
13  INTEGER :: itroprep(iim), iter, ndimozon
14  REAL :: rsuntime(2), pdt_rep, daynum, solaireTIME, ptrop(iim), ttrop(iim), ztrop(iim), gravit, Z1, &
15          Z2, fac, B
16  REAL, DIMENSION(iim, jjm) :: pdel, d_q_rep, d_ql_rep, d_qi_rep, rch42d, rn2o2d, rcfc112d, rcfc122d
17  LOGICAL :: ok_suntime, ok_rtime2d
18
19CONTAINS
20
21  SUBROUTINE lmdz_reprobus_wrapper_abort
22    STOP 'REPROBUS key undefined, must not enter in REPROBUS wrappers ==> aborting'
23  END SUBROUTINE lmdz_reprobus_wrapper_abort
24
25  ! TODO replace ugly wrappers below with actual signatures from REPROBUS code
26
27  SUBROUTINE init_chem_rep_trac(nbtr, nqo, name)
28    INTEGER :: nbtr, nqo
29    CHARACTER(len = 256) :: name(:)
30    CALL lmdz_reprobus_wrapper_abort
31  END SUBROUTINE init_chem_rep_trac
32
33  SUBROUTINE init_chem_rep_phys(klon, klev)
34    INTEGER :: klon, klev
35    CALL lmdz_reprobus_wrapper_abort
36  END SUBROUTINE init_chem_rep_phys
37
38  SUBROUTINE init_chem_rep_xjour(j)
39    REAL :: j
40    CALL lmdz_reprobus_wrapper_abort
41  END SUBROUTINE init_chem_rep_xjour
42
43  SUBROUTINE finalize_reprobus
44    CALL lmdz_reprobus_wrapper_abort
45  END SUBROUTINE finalize_reprobus
46
47  SUBROUTINE init_reprobus_para(nlon, nlat, nlev, klon, mpi_size, distrib_phys, communicator)
48    INTEGER :: nlon, nlat, nlev, klon, mpi_size, distrib_phys(:), communicator
49    CALL lmdz_reprobus_wrapper_abort
50  END SUBROUTINE init_reprobus_para
51
52  SUBROUTINE chemini_rep(presnivs, pdtphys, annee_ref, day_ref, day_ini, start_time, itau_phy, io_lon, io_lat)
53    INTEGER :: annee_ref, day_ref, day_ini, itau_phy
54    REAL :: presnivs(:), pdtphys, start_time, io_lon(:), io_lat(:)
55    CALL lmdz_reprobus_wrapper_abort
56  END SUBROUTINE chemini_rep
57
58  SUBROUTINE chemtime_rep(it, date, tstep, itap)
59    INTEGER :: it, itap
60    REAL :: date, tstep
61    CALL lmdz_reprobus_wrapper_abort
62  END SUBROUTINE chemtime_rep
63
64  SUBROUTINE coord_hyb_rep(paprs, pplay, aps, bps, ap, bp, cell_area)
65    REAL :: paprs(:,:), pplay(:,:), aps(:), bps(:), ap(:), bp(:), cell_area(:)
66    CALL lmdz_reprobus_wrapper_abort
67  END SUBROUTINE coord_hyb_rep
68
69  SUBROUTINE chemmain_rlong_1401(tr_seri, xlon, xlat, t_seri, pplay, paprs, pphi, pphis, presnivs, sh, debutphy)
70    REAL :: tr_seri(:,:,:), xlon(:), xlat(:), t_seri(:,:), pplay(:,:), paprs(:,:), pphi(:,:), pphis(:), presnivs(:), sh(:,:)
71    LOGICAL :: debutphy
72    CALL lmdz_reprobus_wrapper_abort
73  END SUBROUTINE chemmain_rlong_1401
74
75  SUBROUTINE rtime(debut)
76    LOGICAL :: debut
77    CALL lmdz_reprobus_wrapper_abort
78  END SUBROUTINE rtime
79
80  SUBROUTINE rad_interactif(pozon, iof)
81    real :: pozon(:,:,:)
82    integer :: iof
83    CALL lmdz_reprobus_wrapper_abort
84  END SUBROUTINE rad_interactif
85
86#endif
87END MODULE lmdz_reprobus_wrappers
Note: See TracBrowser for help on using the repository browser.