source: XIOS/dev/XIOS_DEV_CMIP6/src/interface/fortran/itemporal_splitting.F90 @ 1492

Last change on this file since 1492 was 1492, checked in by oabramkina, 6 years ago

Updating fortran interface for attributes that have been recently introduced and the following filters:

duplicate_scalar_to_axis
reduce_axis_to_axis
reduce_scalar_to_scalar
reorder_domain
temporal_splitting.

File size: 995 bytes
Line 
1#include "xios_fortran_prefix.hpp"
2
3MODULE ITEMPORAL_SPLITTING
4   USE, INTRINSIC :: ISO_C_BINDING
5   USE TEMPORAL_SPLITTING_INTERFACE
6
7   TYPE txios(temporal_splitting)
8      INTEGER(kind = C_INTPTR_T) :: daddr
9   END TYPE txios(temporal_splitting)
10
11   CONTAINS ! Fonctions disponibles pour les utilisateurs.
12
13   SUBROUTINE xios(get_temporal_splitting_handle)(idt,ret)
14      IMPLICIT NONE
15      CHARACTER(len = *), INTENT(IN) :: idt
16      TYPE(txios(temporal_splitting)) , INTENT(OUT):: ret
17      CALL cxios_temporal_splitting_handle_create(ret%daddr, idt, len(idt))
18   END SUBROUTINE xios(get_temporal_splitting_handle)
19
20   LOGICAL FUNCTION xios(is_valid_temporal_splitting)(idt)
21      IMPLICIT NONE
22      CHARACTER(len  = *)    , INTENT(IN) :: idt
23      LOGICAL  (kind = 1)                 :: val
24
25      CALL cxios_temporal_splitting_valid_id(val, idt, len(idt))
26      xios(is_valid_temporal_splitting) = val
27
28   END FUNCTION  xios(is_valid_temporal_splitting)
29
30END MODULE ITEMPORAL_SPLITTING
Note: See TracBrowser for help on using the repository browser.