Last change
on this file since 6607 was
6607,
checked in by acosce, 10 months ago
|
XIOS used for ICOLMDZORINCA_CO2_Transport_GMD_2023
|
File size:
935 bytes
|
Line | |
---|
1 | #include "xios_fortran_prefix.hpp" |
---|
2 | |
---|
3 | MODULE CALENDAR_INTERFACE |
---|
4 | USE, INTRINSIC :: ISO_C_BINDING |
---|
5 | |
---|
6 | INTERFACE ! Ne pas appeler directement/Interface FORTRAN 2003 <-> C99 |
---|
7 | |
---|
8 | SUBROUTINE cxios_update_calendar(step) BIND(C) |
---|
9 | IMPORT C_INT |
---|
10 | INTEGER (kind = C_INT), VALUE :: step |
---|
11 | END SUBROUTINE cxios_update_calendar |
---|
12 | |
---|
13 | SUBROUTINE cxios_get_current_date(current_date) BIND(C) |
---|
14 | USE IDATE |
---|
15 | TYPE(txios(date)) :: current_date |
---|
16 | END SUBROUTINE cxios_get_current_date |
---|
17 | |
---|
18 | INTEGER(kind = C_INT) FUNCTION cxios_get_year_length_in_seconds(year) BIND(C) |
---|
19 | USE ISO_C_BINDING |
---|
20 | INTEGER(kind = C_INT), VALUE :: year |
---|
21 | END FUNCTION cxios_get_year_length_in_seconds |
---|
22 | |
---|
23 | INTEGER(kind = C_INT) FUNCTION cxios_get_day_length_in_seconds() BIND(C) |
---|
24 | USE ISO_C_BINDING |
---|
25 | END FUNCTION cxios_get_day_length_in_seconds |
---|
26 | |
---|
27 | END INTERFACE |
---|
28 | |
---|
29 | END MODULE CALENDAR_INTERFACE |
---|
Note: See
TracBrowser
for help on using the repository browser.