The following routines have been written to read CompOSE data files, provide an interpolation scheme and allow to generate output.
The usage is described in Section 7.4 of the CompOSE manual: Handling and transforming EoS data .
code.zip - all files necessary to use CompOSE-data without HDF5-support (23kB), containing in addition to the Fortran source files a Makefile building the compose code.
With the following routines it is possible to write the output generated from the compose code in HDF5-format. If this doesn’t mean anything to you, it is very likely that you don’t need it. However, many people do. You should be familiar with HDF5 and be able to use it on your computer. This means in particular that the HDF5 library is installed. On many Linux distributions, it exists as pre-compiled package. For more information visit www.hdfgroup.org
codehdf5.zip - all files necessary to use CompOSE-data with HDF5-support (54kB)
In addition to the compose code, the Makefile allows to build two sample codes, one test_read_hdf5 reading an EoS data from the HDF5 table generated by the compose code and another one test_read_opacities showing how to extract charged current neutrino-nucleon opacities (electron neutrinos and anti-neutrinos) from the data provided together with some EoS (under development).
We recommend in either case, with or without HDF5-support, to carefully read the manual.
If you just intend to use an EoS, the package eosform.zip is of no use for you. If you intend to provide an EoS, we will happily explain the details in direct communication. This package containes a C++ code which generates a first draft of an EoS data sheet from an eos.report - file. It is thought to avoid missing or wrong entries in the data sheet. Furthermore the archive contains the data sheet template which can be used without the C++ form generator. However, we strongly recommend to use the automated form generator!