Tools

HEDTOOLS is a set of modelling utilities and tools implemented as portable Fortran modules 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.

AHA Modelling Tools Manual

HEDTOOLS documentation is available in the AHA Modelling Tools Manual. It can also be downloaded as a PDF document.

Modules

HEDTOOLS consists of the following Fortran modules:

  • Module BASE_UTILS — utility functions.

  • Module CSV_IO — Data output in CSV (comma separated values) format.

  • Module BASE_RANDOM — Utilities for random number generation.

  • Module LOGGER — Logging facility.

  • Module BASE_STRINGS — String manipulation utilities.

  • Non-intrinsic IEEE modules —  for older versions of GNU gfortran.

License

The code is covered by the GNU GPL 3.0 or GNU LGPL 3.0 license.

Source code

The source code of HEDTOOLS is maintained in an internal Subversion repository at the University of Bergen and is mirrored to

The latest source release of HEDTOOLS — r10276 — is available as a tag.gz archive.

Downloads

Here are pre-built version(s) of the HEDTOOLS static library for Windows (64):

  • HEDTOOLS Intel Fortran 19: LIBHEDUTILS ZIP 1.4 r10276 (built with Intel Visual Fortran 64 Version 19.1.3.311 Build 20201010_000000).

  • Plotting tools (latest 64 bit built with gfortran): tools_windows_64bit-….zip. (Note: plotting tools would work but only produce PostScript (.ps) file output if GrWin library is not installed, i.e. no screen output).

Note that the binary builds of HEDTOOLS library are provided only for Intel Fortran on the Windows (x86_64) platform. It is trivial to build it on Linux as make and other tools are provided by default.