Is there a library defining a datatype and services to deal with quantities associated to a unit of measure in fortran ?
units of measure in fortran
237 Views Asked by Stefano Borini At
2
There are 2 best solutions below
0

Do mean something like UDUNITS? I find it really useful for time calculations, but most other conversions are just simple multiplication/addition combinations. These are usually too easy to code manually to warrant the extra library dependency of UDUNITS. Note that the more recent version, UDUNITS-2, does not yet have a Fortran interface.
There is the PHYSUNITS F90 module, which might do what you want.