Last change
on this file since 1686 was
786,
checked in by mhnguyen, 9 years ago
|
Generating interface for transformations
+) Update Fortran interface for other transformations
+) Remove some redundant files
+) Update test to new interface
Test
+) On Curie
+) test_client and test_complete are correct
|
File size:
995 bytes
|
Rev | Line | |
---|
[786] | 1 | #include "xios_fortran_prefix.hpp" |
---|
| 2 | |
---|
| 3 | MODULE IINTERPOLATE_DOMAIN |
---|
| 4 | USE, INTRINSIC :: ISO_C_BINDING |
---|
| 5 | USE INTERPOLATE_DOMAIN_INTERFACE |
---|
| 6 | |
---|
| 7 | TYPE txios(interpolate_domain) |
---|
| 8 | INTEGER(kind = C_INTPTR_T) :: daddr |
---|
| 9 | END TYPE txios(interpolate_domain) |
---|
| 10 | |
---|
| 11 | CONTAINS ! Fonctions disponibles pour les utilisateurs. |
---|
| 12 | |
---|
| 13 | SUBROUTINE xios(get_interpolate_domain_handle)(idt,ret) |
---|
| 14 | IMPLICIT NONE |
---|
| 15 | CHARACTER(len = *), INTENT(IN) :: idt |
---|
| 16 | TYPE(txios(interpolate_domain)) , INTENT(OUT):: ret |
---|
| 17 | CALL cxios_interpolate_domain_handle_create(ret%daddr, idt, len(idt)) |
---|
| 18 | END SUBROUTINE xios(get_interpolate_domain_handle) |
---|
| 19 | |
---|
| 20 | LOGICAL FUNCTION xios(is_valid_interpolate_domain)(idt) |
---|
| 21 | IMPLICIT NONE |
---|
| 22 | CHARACTER(len = *) , INTENT(IN) :: idt |
---|
| 23 | LOGICAL (kind = 1) :: val |
---|
| 24 | |
---|
| 25 | CALL cxios_interpolate_domain_valid_id(val, idt, len(idt)) |
---|
| 26 | xios(is_valid_interpolate_domain) = val |
---|
| 27 | |
---|
| 28 | END FUNCTION xios(is_valid_interpolate_domain) |
---|
| 29 | |
---|
| 30 | END MODULE IINTERPOLATE_DOMAIN |
---|
Note: See
TracBrowser
for help on using the repository browser.