Giter Site home page Giter Site logo

icepack-thesis's Introduction

icepack Build Status

This library is for simulating the flow of glaciers and ice sheets using the finite element method.

Compilation & installation

You will first need a working deal.II installation. If deal.II is not installed in some standard directory, e.g. /usr or /usr/local, the environment variable DEAL_II_DIR can be set to the directory of your deal.II installation.

We also rely on several C++14 features -- lambda, move semantics, etc. -- so you will need to compile deal.II with C++14 support. When configuring deal.II with CMake, add the flag -DDEAL_II_WITH_CXX14=True. If your compiler supports C++14, this should be detected automatically, but adding this flag will cause the build to fail immediately if not.

To build the icepack sources, run the following:

mkdir <build>
cd <build>
cmake <path/to/icepack>
make

To run the unit tests, run

make test

from the build directory. To generate test coverage information, configure icepack with

cmake -DCMAKE_BUILD_TYPE=Debug -DICEPACK_TEST_COVERAGE=True <path/to/icepack>

and run

make coverage

from the build directory. Checking test coverage requires the program lcov. To build documentation, configure icepack with

cmake -DICEPACK_DOCUMENTATION=True <path/to/icepack>

and run

make doc

from the build directory. Building the documentation requires doxygen and graphviz.

Dependencies

You will need the following packages installed in order to use icepack:

  • a C++14 compiler, e.g. clang 3.8+, GCC 5.4+
  • CMake 3+. Both deal.II and icepacke use the CMake build system.
  • deal.II development branch. General-purpose finite element library on which icepack is built.

icepack-thesis's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.