This module contains the CoSTA simulators 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 applications and typing
git clone https://github.com/OPM/IFEM-AdvectionDiffusion
git clone https://github.com/OPM/IFEM-Darcy
The source code for this module should be placed alongside the others. The build system uses sibling directory logic to locate the modules.
sudo apt install libpython3-dev
sudo apt install pybind11-dev
To compile, first navigate to the root catalogue <App root>.
cdIFEM-CoSTAmkdir Debugcd Debugcmake -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=/usr/bin/python3 ..make
This will compile the python modules.
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>/IFEM-CoSTA/Debug) and type
make check