AIRES Library Reference. |
The AIRES library is a collection of modules that are useful in several applications, including (but not limited to) special primary modules, output file processing, particularly compressed generated by the AIRES compressed i/o unit (CIO), and many other analysis procedures.
C/C++ interface. This online reference includes the recommended C/C++ calling sequence for every of the documented routines. The modules of the AIRES library are callable from C/C++ programs. In general the calling statement is similar to the FORTRAN one, taking into account that all arguments are passed by reference. That means that the actual arguments must be pointers to the corresponding data items. In general, all the FORTRAN routines of the library can be directly called from a C/C++ program. In a few cases it was necessary to develop special C routines, which were named appending a ``c'' to the original FORTRAN name. It is also worthwhile mentioning that most currently used FORTRAN compilers do place an underscore "_" after the names of the routines. In such cases, this character must be manually appended to all the FORTRAN routines called from the C/C++ program, excluding, of course, all the cases where a special C routine is present in the library, as already mentioned.
Calls from Python. All the members of the AIRES library can be called from Python programs/scripts (requirements: Python 3 or later, and installation of the Python libraries ctypes and numpy), using the same calling sequence recommended for the C/C++ interface. For details about how to use the AIRES library from Python see the file "AIRES-Python-README.txt" located inside the doc directory of the AIRES distribution.
These pages are maintained by Sergio J. Sciutto |
Back to AIRES home |