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/icontext_attr.F90

    r581 r966  
    1919      CHARACTER(len = *) , OPTIONAL, INTENT(IN) :: output_dir 
    2020 
    21       CALL xios(get_context_handle)(context_id,context_hdl) 
     21      CALL xios(get_context_handle) & 
     22      (context_id,context_hdl) 
    2223      CALL xios(set_context_attr_hdl_)   & 
    2324      ( context_hdl, output_dir ) 
     
    4546 
    4647      IF (PRESENT(output_dir_)) THEN 
    47         CALL cxios_set_context_output_dir(context_hdl%daddr, output_dir_, len(output_dir_)) 
     48        CALL cxios_set_context_output_dir & 
     49      (context_hdl%daddr, output_dir_, len(output_dir_)) 
    4850      ENDIF 
    4951 
     
    5860      CHARACTER(len = *) , OPTIONAL, INTENT(OUT) :: output_dir 
    5961 
    60       CALL xios(get_context_handle)(context_id,context_hdl) 
     62      CALL xios(get_context_handle) & 
     63      (context_id,context_hdl) 
    6164      CALL xios(get_context_attr_hdl_)   & 
    6265      ( context_hdl, output_dir ) 
     
    8487 
    8588      IF (PRESENT(output_dir_)) THEN 
    86         CALL cxios_get_context_output_dir(context_hdl%daddr, output_dir_, len(output_dir_)) 
     89        CALL cxios_get_context_output_dir & 
     90      (context_hdl%daddr, output_dir_, len(output_dir_)) 
    8791      ENDIF 
    8892 
     
    98102      LOGICAL(KIND=C_BOOL) :: output_dir_tmp 
    99103 
    100       CALL xios(get_context_handle)(context_id,context_hdl) 
     104      CALL xios(get_context_handle) & 
     105      (context_id,context_hdl) 
    101106      CALL xios(is_defined_context_attr_hdl_)   & 
    102107      ( context_hdl, output_dir ) 
     
    126131 
    127132      IF (PRESENT(output_dir_)) THEN 
    128         output_dir__tmp = cxios_is_defined_context_output_dir(context_hdl%daddr) 
     133        output_dir__tmp = cxios_is_defined_context_output_dir & 
     134      (context_hdl%daddr) 
    129135        output_dir_ = output_dir__tmp 
    130136      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.