Skip to content
Darcy application built using IFEM
C++ C CMake Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Test
doc
jenkins
CMakeLists.txt
Darcy.C
Darcy.h
DarcySolutions.C
DarcySolutions.h
README.md
SIMDarcy.h
main_Darcy.C

README.md

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
You can’t perform that action at this time.