Name | Modified | Size | Downloads / Week |
---|---|---|---|
inline_fortran_src-2014-07-08.tar.gz | 2014-07-08 | 43.0 kB | |
README | 2012-04-26 | 1.9 kB | |
inline_fortran_src-2012-04-28.tar.gz | 2012-04-26 | 43.2 kB | |
inline_fortran_src-2012-04-27.tar.gz | 2012-04-26 | 43.0 kB | |
inline_fortran_src-2012-04-26.tar.gz | 2012-04-26 | 43.0 kB | |
inline_fortran_src-2012-03-27.tar.gz | 2012-03-27 | 43.6 kB | |
Totals: 6 Items | 217.8 kB | 0 |
------------------------------------------- INLINE FORTRAN FUNCTIONS ------------------------------------------- This is a set of Fortran 2003 modules that allow to call "formulas" that resemble the Matlab inline functions. User can give a formula in a string and evaluate it through an eval procedure. These modules also permit to define "expressions". A expression is an uniform way to work with several data types: constants, interpolation tables, formulas and precompiled functions. Finally, it is possible to work with "referenced expressions", that is, arrays of expressions associated to reference numbers. =========================================== Installation =========================================== Decompress referenced_expressions_src_<date>.tar.gz =========================================== Usage =========================================== Just add the 'source' folder to your Fortran project. There are some examples in the 'source/test_*' folders. To compile them you must have installed 'make' in your system. Open a Terminal in GNU/Linux or a Command Window in Windows and type: make -f Makefile.<module>.<compiler>.<os> where <compiler> can be "gfortran" or "ifort", <os> can be "linux" or "windows" and <module> can be "formula", "expression" or "referenced_expressions". For Mac OS X, choose "linux". =========================================== Testing =========================================== This code has been tested in the following platforms: Ubuntu 10.10: ifort 12.0, make 3.81 Mac OS X 10.5.8: ifort 11.1, make 3.81 GNU/Linux, CentOS 5.6: gfortran 4.7, make 3.81 Compilation errors have been reported for gfortran, version 4.6.1 and below. =========================================== Additional information =========================================== To get additional information, please open doc/index.html.