[5182] | 1 | ! reprobus SUBROUTINE wrappers |
---|
[4600] | 2 | |
---|
[5182] | 3 | MODULE lmdz_reprobus_wrappers |
---|
[4600] | 4 | |
---|
[5182] | 5 | #ifdef REPROBUS |
---|
[5185] | 6 | USE CHEM_REP, ONLY: init_chem_rep_trac, itroprep |
---|
[5182] | 7 | #else |
---|
[4600] | 8 | |
---|
[5185] | 9 | ! TODO ugly temp solution until we properly wrap the REPROBUS code |
---|
| 10 | USE lmdz_dimensions, ONLY: iim, jjm |
---|
| 11 | INTEGER :: itroprep(iim), iter, ndimozon |
---|
| 12 | REAL :: rsuntime(2), pdt_rep, daynum, solaireTIME, ptrop(iim), ttrop(iim), ztrop(iim), gravit, Z1, & |
---|
| 13 | Z2, fac, B |
---|
| 14 | REAL, DIMENSION(iim, jjm) :: pdel, d_q_rep, d_ql_rep, d_qi_rep, rch42d, rn2o2d, rcfc112d, rcfc122d |
---|
| 15 | LOGICAL :: ok_suntime, ok_rtime2d |
---|
| 16 | |
---|
[5182] | 17 | CONTAINS |
---|
[4600] | 18 | |
---|
[5182] | 19 | SUBROUTINE lmdz_reprobus_wrapper_abort |
---|
| 20 | STOP 'REPROBUS key undefined, must not enter in REPROBUS wrappers ==> aborting' |
---|
| 21 | END SUBROUTINE lmdz_reprobus_wrapper_abort |
---|
[4600] | 22 | |
---|
[5185] | 23 | ! TODO replace ugly wrappers below with actual signatures from REPROBUS code |
---|
| 24 | |
---|
| 25 | SUBROUTINE init_chem_rep_trac(nbtr, nqo, name) |
---|
| 26 | INTEGER :: nbtr, nqo |
---|
| 27 | CHARACTER(len = 256) :: name(:) |
---|
| 28 | CALL lmdz_reprobus_wrapper_abort |
---|
| 29 | END SUBROUTINE init_chem_rep_trac |
---|
| 30 | |
---|
| 31 | SUBROUTINE init_chem_rep_phys(klon, klev) |
---|
| 32 | INTEGER :: klon, klev |
---|
| 33 | CALL lmdz_reprobus_wrapper_abort |
---|
| 34 | END SUBROUTINE init_chem_rep_phys |
---|
| 35 | |
---|
| 36 | SUBROUTINE init_chem_rep_xjour(j) |
---|
| 37 | REAL :: j |
---|
| 38 | CALL lmdz_reprobus_wrapper_abort |
---|
| 39 | END SUBROUTINE init_chem_rep_xjour |
---|
| 40 | |
---|
[4600] | 41 | #endif |
---|
[5182] | 42 | END MODULE lmdz_reprobus_wrappers |
---|