HEDTOOLS is a set of modelling utilities and tools (implemented as portable Fortran modules, not object-oriented) that have general applicability and are used for data conversion, input/output, random number generation and execution logging. There are also a few computational tools. Even though HEDTOOLS modules are primarily designed to be used in the AHA Model, they are designed such that they can be used in many different simulation projects.
HEDTOOLS use modules and pieces from these sources:
- FLIBS - A collection of Fortran modules, by by Arjen Markus and Michael Baudin;
- Source Codes in Fortran90 by John Burkardt;
- Fortran Strings Module by George Benthien;
- ORDERPACK 2.0 by Michel Olagnon;
- Linear interpolation by David G. Simpson;
- Non-intrinsic IEEE modules for gfortran by R. J. Hanson.
The code is covered by the GNU GPL 3.0 or GNU LGPL 3.0 license.
Normally HEDTOOLS are intended for use in a particular modelling project as
source code. Consult the Makefile
that is provided in the AHA Model and the AHA Model
README for details. A template
Makefile is included in the template
subdirectory.
The Makefile
that is found in the HEDTOOLS directory is used to build it as
a static library. Normally, the build system produces a zip archive with a
"distribution" of the static library and headers ready to use in other
projects. Here are the main build commands:
- Build the static library with the default compiler and options:
make
; - Build the static library using specific compiler, e.g. Intel
Fortran (ifort):
make FC=ifort
; - Build plotting tools:
make tools
; - Clean all temporary files and the library that is built:
make distclean
; - Short help on the build commands:
make help
.
For more details about using HEDTOOLS as a static library see AHA Modelling Tools Manual.
Recent pre-built versions of the static library for Intel Fortran on Windows 64 are available here.