Ignore:
Timestamp:
10/10/16 16:01:11 (8 years ago)
Author:
mhnguyen
Message:

Reducing length of line of auto-generate Fortran interface

+) Break line into smaller ones to make sure each line is not longer than 132 character

Test
+) Local with gcc4.8
+) Compilation passed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/interface/fortran_attr/icompute_connectivity_domain_attr.F90

    r934 r966  
    2222      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: type 
    2323 
    24       CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
     24      CALL xios(get_compute_connectivity_domain_handle) & 
     25      (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
    2526      CALL xios(set_compute_connectivity_domain_attr_hdl_)   & 
    2627      ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) 
     
    5455 
    5556      IF (PRESENT(local_neighbor_)) THEN 
    56         CALL cxios_set_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 
     57        CALL cxios_set_compute_connectivity_domain_local_neighbor & 
     58      (compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 
    5759      ENDIF 
    5860 
    5961      IF (PRESENT(n_neighbor_)) THEN 
    60         CALL cxios_set_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 
     62        CALL cxios_set_compute_connectivity_domain_n_neighbor & 
     63      (compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 
    6164      ENDIF 
    6265 
    6366      IF (PRESENT(n_neighbor_max_)) THEN 
    64         CALL cxios_set_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 
     67        CALL cxios_set_compute_connectivity_domain_n_neighbor_max & 
     68      (compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 
    6569      ENDIF 
    6670 
    6771      IF (PRESENT(type_)) THEN 
    68         CALL cxios_set_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr, type_, len(type_)) 
     72        CALL cxios_set_compute_connectivity_domain_type & 
     73      (compute_connectivity_domain_hdl%daddr, type_, len(type_)) 
    6974      ENDIF 
    7075 
     
    8287      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: type 
    8388 
    84       CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
     89      CALL xios(get_compute_connectivity_domain_handle) & 
     90      (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
    8591      CALL xios(get_compute_connectivity_domain_attr_hdl_)   & 
    8692      ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) 
     
    114120 
    115121      IF (PRESENT(local_neighbor_)) THEN 
    116         CALL cxios_get_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 
     122        CALL cxios_get_compute_connectivity_domain_local_neighbor & 
     123      (compute_connectivity_domain_hdl%daddr, local_neighbor_, SHAPE(local_neighbor_)) 
    117124      ENDIF 
    118125 
    119126      IF (PRESENT(n_neighbor_)) THEN 
    120         CALL cxios_get_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 
     127        CALL cxios_get_compute_connectivity_domain_n_neighbor & 
     128      (compute_connectivity_domain_hdl%daddr, n_neighbor_, SHAPE(n_neighbor_)) 
    121129      ENDIF 
    122130 
    123131      IF (PRESENT(n_neighbor_max_)) THEN 
    124         CALL cxios_get_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 
     132        CALL cxios_get_compute_connectivity_domain_n_neighbor_max & 
     133      (compute_connectivity_domain_hdl%daddr, n_neighbor_max_) 
    125134      ENDIF 
    126135 
    127136      IF (PRESENT(type_)) THEN 
    128         CALL cxios_get_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr, type_, len(type_)) 
     137        CALL cxios_get_compute_connectivity_domain_type & 
     138      (compute_connectivity_domain_hdl%daddr, type_, len(type_)) 
    129139      ENDIF 
    130140 
     
    146156      LOGICAL(KIND=C_BOOL) :: type_tmp 
    147157 
    148       CALL xios(get_compute_connectivity_domain_handle)(compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
     158      CALL xios(get_compute_connectivity_domain_handle) & 
     159      (compute_connectivity_domain_id,compute_connectivity_domain_hdl) 
    149160      CALL xios(is_defined_compute_connectivity_domain_attr_hdl_)   & 
    150161      ( compute_connectivity_domain_hdl, local_neighbor, n_neighbor, n_neighbor_max, type ) 
     
    186197 
    187198      IF (PRESENT(local_neighbor_)) THEN 
    188         local_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_local_neighbor(compute_connectivity_domain_hdl%daddr) 
     199        local_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_local_neighbor & 
     200      (compute_connectivity_domain_hdl%daddr) 
    189201        local_neighbor_ = local_neighbor__tmp 
    190202      ENDIF 
    191203 
    192204      IF (PRESENT(n_neighbor_)) THEN 
    193         n_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor(compute_connectivity_domain_hdl%daddr) 
     205        n_neighbor__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor & 
     206      (compute_connectivity_domain_hdl%daddr) 
    194207        n_neighbor_ = n_neighbor__tmp 
    195208      ENDIF 
    196209 
    197210      IF (PRESENT(n_neighbor_max_)) THEN 
    198         n_neighbor_max__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor_max(compute_connectivity_domain_hdl%daddr) 
     211        n_neighbor_max__tmp = cxios_is_defined_compute_connectivity_domain_n_neighbor_max & 
     212      (compute_connectivity_domain_hdl%daddr) 
    199213        n_neighbor_max_ = n_neighbor_max__tmp 
    200214      ENDIF 
    201215 
    202216      IF (PRESENT(type_)) THEN 
    203         type__tmp = cxios_is_defined_compute_connectivity_domain_type(compute_connectivity_domain_hdl%daddr) 
     217        type__tmp = cxios_is_defined_compute_connectivity_domain_type & 
     218      (compute_connectivity_domain_hdl%daddr) 
    204219        type_ = type__tmp 
    205220      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.