This module contains the poro-elasticity libraries and applications built using the IFEM library.
- Install IFEM from https://github.com/OPM/IFEM
This is done by first navigating to a folder <App root>
in which you want
the application typing
git clone https://github.com/OPM/IFEM-Elasticity Elasticity
git clone https://github.com/OPM/IFEM-PoroElasticity PoroElasticity
The build system uses sibling directory logic to locate the IFEM-Elasticity module.
To compile, first navigate to the root catalogue <App root>
.
cd PoroElasticity
mkdir Debug
cd Debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make
This will compile the library and application.
The executable can be found in the 'bin' sub-folder.
Change all instances of Debug
with Release
to drop debug-symbols,
and get a faster running code.
IFEM uses the cmake test system.
To compile and run all regression- and unit-tests, navigate to your build
folder (i.e. <App root>/PoroElasticity/Debug
) and type
make check