Note: This repository is now archived and read-only. If you wish to contribute to this project please consider forking it.
This repository contains a C++ wrapper for the thermodynamic code Perple_X (written in Fortran 77).
-
CMake version
2.8.12+
-
A Fortran 2003 compatible Fortran compiler (e.g.
gfortran
) -
A C++ 2011 compatible C++ compiler (e.g.
gcc
)
An out of source build is recommended:
mkdir build
cd build
cmake ..
make -j<N>
Unit testing is done using CMake and GoogleTest (installed as part of main build).
To run the tests just run ctest
from the root build directory.
Two Perple_X data sets are provided in the repository, both modelling KLB-1 peridotite.
The klb-1
data set was taken from here.
The simple
data set is practically the same but has been altered to reduce the complexity and run time.
data/ data files
extern/perplex Perple_X source code
include/ header files
src/ source code
test/ unit tests