"Fossies" - the Fresh Open Source Software Archive

Member "netcdf-fortran-4.4.5/libsrc/nfconfig.in.cmake" (31 Jan 2019, 2889 Bytes) of package /linux/misc/netcdf-fortran-4.4.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "nfconfig.in.cmake": 4.4.4_vs_4.4.5.

    1 #if 0
    2     $Id: nfconfig.in,v 1.11 1997/12/03 17:41:42 steve Exp $ 
    3 #endif
    4 
    5 #cmakedefine NF_RELAX_COORD_BOUND 1
    6 #cmakedefine NF_HAS_PARALLEL4 1
    7 #cmakedefine NF_HAS_PNETCDF 1
    8 #cmakedefine ENABLE_CDF5 1
    9 
   10 #ifndef UD_NETCDF_CPP_INC
   11 #define UD_NETCDF_CPP_INC
   12 
   13 
   14 #if 0
   15     Do not have C-style comments in here because this file is processed
   16     by both the FORTRAN compiler (for the nf_test/ stuff) and the C
   17     compiler (for the FORTRAN-callable interface routines) and some 
   18     FORTRAN preprocessors do not understand the /*...*/ syntax.
   19 #endif
   20 
   21 
   22 #if 0
   23     The following macros define the supplementary FORTRAN arithmetic
   24     datatypes beyond the standard INTEGER, REAL, and DOUBLEPRECISION --
   25     ostensibly corresponding to 8-bit and 16-bit integers, respectively.
   26     For example:
   27 
   28     #define NF_INT1_T        byte
   29     #define NF_INT2_T        integer*2
   30 
   31     These are the types of the relevant arguments in the NF_*_INT1() and
   32     NF_*_INT2() netCDF FORTRAN function calls.  The word "ostensibly"
   33     is used advisedly: on some systems an "integer*2" datatype,
   34     nevertheless, occupies 64 bits (we are not making this up).
   35 
   36     If your FORTRAN system does not have the respective supplementary
   37     datatype, then do not define the corresponding macro.
   38 #endif
   39 #cmakedefine NF_INT1_T byte
   40 #cmakedefine NF_INT2_T integer*2
   41 
   42 
   43 #if 0
   44    Define the following NF_*_IS_C_* macros appropriatly for your system.
   45    The "INT1", "INT2" and "INT" after the "NF_" refer to the NF_INT1_T
   46    FORTRAN datatype, the NF_INT2_T FORTRAN datatype, and the INTEGER
   47    FORTRAN datatype, respectively.  If the respective FORTRAN datatype
   48    does not exist, then do not define the corresponding macro.
   49 #endif
   50 #cmakedefine NF_INT1_IS_C_SIGNED_CHAR  1
   51 #cmakedefine NF_INT1_IS_C_SHORT  1
   52 #cmakedefine NF_INT1_IS_C_INT  1
   53 #cmakedefine NF_INT1_IS_C_LONG  1
   54 #cmakedefine NF_INT2_IS_C_SHORT  1
   55 #cmakedefine NF_INT2_IS_C_INT  1
   56 #cmakedefine NF_INT2_IS_C_LONG  1
   57 #cmakedefine NF_INT_IS_C_INT  1
   58 #cmakedefine NF_INT_IS_C_LONG  1
   59 #cmakedefine NF_REAL_IS_C_FLOAT  1
   60 #cmakedefine NF_REAL_IS_C_DOUBLE  1
   61 #cmakedefine NF_DOUBLEPRECISION_IS_C_DOUBLE  1
   62 #cmakedefine NF_DOUBLEPRECISION_IS_C_FLOAT  1
   63 
   64 
   65 #if 0
   66    Whether the system uses something besides the IEEE floating-point
   67    format to represent floating-point values.
   68 #endif
   69 #cmakedefine NO_IEEE_FLOAT
   70 
   71 
   72 #if 0
   73    END OF CUSTOMIZATION
   74 #endif
   75 
   76 
   77 #if 0
   78     FORTRAN data types corresponding to netCDF version 2 "byte" and "short"
   79     data types (e.g. INTEGER*1, INTEGER*2).  See file "ftest.F" for usage.
   80 #endif
   81 #if !defined(NO_NETCDF_2)
   82 #cmakedefine NCBYTE_T byte
   83 #cmakedefine NCSHORT_T integer*2
   84 #endif
   85 
   86 #if 0
   87   Set configuration flags for Fortran 2003 processing
   88 #endif
   89 
   90 #if 0
   91   Set NO_NETCDF_2 to undefined - include netCDF2
   92 #endif
   93 #cmakedefine NO_NETCDF_2
   94 
   95 #if 0
   96   Set USE_NETCDF4 to defined - include netCDF4 code
   97 #endif
   98 #cmakedefine USE_NETCDF4  1
   99 
  100 #endif /*UD_NETCDF_CPP_INC*/
  101