This directory contains a dry firn densification model, written in C++, which is used to evaluate different parametrizations of snow metamorphism, compaction and fresh snow density.
First, download the code from github:
git clone [email protected]:kampe004/compaction.git
Compile the firn model:
mkdir build && cd build
cmake -D CMAKE_C_COMPILER=gcc -D CMAKE_CXX_COMPILER=g++ -D CMAKE_CXX_FLAGS=-fPIC ..
make -j
Prepare an INI file with settings. Find example INI under examples/
./dfdm.exe settings.ini
Please use git branches for feature development.
Leo van Kampenhout ([email protected])