<i>FORTRAN</i> Interface



next up previous contents
Next: LISP Interface Up: 6.1.8 Application Layer and Previous: 6.1.8 Application Layer and

FORTRAN Interface

   

As the application layer is written in C and important simulators and many TCAD tools are written in FORTRAN, we have developed language bindings for most application layer functions and all inquiry functions to FORTRAN. This binding is strongly dependent on the two compilers, since there is no standard in parameter passing of strings in FORTRAN and the implementation of logical values (.TRUE. may be represented as the cardinal number 1 or -1). So all binding functions are generated automatically out of a formal description and additional information about the specific FORTRAN compiler. All string and logical variable conversions to C types are done automatically before the user-supplied C code is called. Adding a new binding or another compiler requires only few additions in the configuration files.



Martin Stiftinger
Tue Nov 29 19:41:50 MET 1994