https://github.com/certik/fortran-utils
Various utilities for Fortran programs
https://github.com/certik/fortran-utils
Last synced: 6 months ago
JSON representation
Various utilities for Fortran programs
- Host: GitHub
- URL: https://github.com/certik/fortran-utils
- Owner: certik
- License: mit
- Created: 2012-01-20T23:44:49.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2019-10-16T01:16:56.000Z (over 6 years ago)
- Last Synced: 2025-03-27T16:37:29.057Z (over 1 year ago)
- Language: Fortran
- Homepage:
- Size: 197 KB
- Stars: 214
- Watchers: 29
- Forks: 68
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Fortran Utilities
=================
Various Fortran utilities, that can be included into any Fortran
program.
The modules are mostly independent of each other. Simply copy any modules that
you need into your project. Tests are in the ``tests`` directory, you can look
there for examples of usage.
License
-------
All code is MIT licensed.
Functionality
-------------
Main features:
* Types (``dp``)
* Constants (``pi``, ``e_``, ``i_``)
* Sorting
* Saving/loading 2D arrays (``savetxt``, ``loadtxt``)
* Meshes (exponential, uniform)
* Cubic splines
* Saving/loading PPM images
* Lapack interface (and a few simple f90 wrappers like ``eigh``, ``inv``)
* HDF5 interface
Requirements
------------
The modules utils and ppm in ``utils.f90`` and ``ppm.f90`` use the
``newunit`` option to ``open()``. This option is part of Fortran 2008 and
requires at least gfortran 4.5 to compile.
Contributors
------------
See the `AUTHORS
`_ file.