TheBB / IFEM-Darcy

Darcy application built using IFEM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IFEM Darcy

Introduction

This module contains Darcy application built using the IFEM library.

Getting all dependencies

  1. Install IFEM from https://github.com/OPM/IFEM

Getting the code

This is done by first navigating to the folder in which you want IFEM installed and typing

mkdir Apps
cd Apps
git clone https://github.com/SintefMath/IFEM-Darcy

Compiling the code

To compile, first navigate to the root catalogue <App root>.

  1. cd <App root>
  2. mkdir Debug
  3. cd Debug
  4. cmake -DCMAKE_BUILD_TYPE=Debug ..
  5. make

this will compile the Darcy application. The binaries can be found in the 'bin' subfolder. Change all instances of Debug with Release to drop debug-symbols, but get faster running code.

Testing the code

IFEM is using cmake test system. To compile run all regression- and unit-tests, navigate to your build folder (i.e. <App root>/Debug) and type

make check

About

Darcy application built using IFEM


Languages

Language:C 59.0%Language:C++ 36.5%Language:CMake 3.4%Language:Shell 1.1%