"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "eas3pkg/eas3/c_in_fortran.h" of archive eas3pkg_v1.6.3.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*-------------------------------------------------------------------------------------------------------*/
    2 /* EAS3 License                                                                                          */
    3 /*                                                                                                       */
    4 /* Copyright (c) 2006 Institut fuer Aerodynamik und Gasdynamik, Universitaet Stuttgart                   */
    5 /*                                                                                                       */
    6 /* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and     */
    7 /* associated documentation files (the "Software"), to deal in the Software without restriction,         */
    8 /* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, */
    9 /* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, */
   10 /* subject to the following conditions:                                                                  */
   11 /*                                                                                                       */
   12 /* The above copyright notice and this permission notice shall be included in all copies or substantial  */
   13 /* portions of the Software.										 */
   14 /*                                                                                                       */
   15 /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT */
   16 /* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   */
   17 /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER          */
   18 /* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION */
   19 /* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                                       */
   20 /*-------------------------------------------------------------------------------------------------------*/
   21 /* ----------------------------------------------------------------------
   22  * project: EAS3
   23  * file:    c-fortran-io.h
   24  * author:  Kai Augustin <augustin@iag.uni-stuttgart.de>
   25  *          Stefan Bretschneider <stefan.bretschneider@gmx.de>
   26  *          Juli 2000 - Juli 2002
   27  * ----------------------------------------------------------------------
   28  * Header fuer die Einbindung von C-Routinen in Fortran
   29  * ----------------------------------------------------------------------
   30  */
   31 
   32 
   33 /* Typen abhaengig vom Maschinentyp */
   34 
   35 /* sgi 32bit und 64bit Workstations */
   36 #if defined(SGI32) || defined(SGI64)
   37 
   38 /* Typen     */
   39 # define Int32             int
   40 # define Int64             long long int
   41 # define Float32           float
   42 # define Float64           double
   43 # define Float128          long double
   44 # define QUAD_SUPPORT      1
   45 
   46 /* IA64 64bit and IA32 32-bit Workstations */
   47 #elif defined(IA64) || defined(IA32)
   48 
   49 /* Typen     */
   50 # define Int32             int
   51 # define Int64             long long int
   52 # define Float32           float
   53 # define Float64           double
   54 # define Float128          long double
   55 # define QUAD_SUPPORT      0
   56 
   57 #elif defined(SX4EW8)      /* NEC SX4 */
   58 
   59 /* Typen     */
   60 # define Int32             int
   61 # define Int64             long int
   62 # define Float32           float
   63 # define Float64           double
   64 # define Float128          long double
   65 # define QUAD_SUPPORT      1
   66 
   67 #elif defined(HPV64)       /* HP V-Class */
   68 
   69 /* Typen     */
   70 # define Int32             int
   71 # define Int64             long int
   72 # define Float32           float
   73 # define Float64           double
   74 # define Float128          long double
   75 # define QUAD_SUPPORT      1
   76 
   77 #elif defined(T3E)         /* Cray T3E */
   78 
   79 /* kein Covise Support auf T3E, hier nur implementiert, */
   80 /* damit auf T3E weiterhin compilierbar */
   81 
   82 /* Typen     */
   83 # define Int32             int
   84 # define Int64             long long int
   85 # define Float32           float
   86 # define Float64           double
   87 # define Float128          long double
   88 # define QUAD_SUPPORT      0
   89 
   90 #endif