No project description provided
Project description
opm-origen
Prerequisites
- Install make, cmake and g++
- Build/Install Opm-Common
- Build/Install Opm-Grid
Install opm packages
sudo apt-add-repository ppa:opm/ppa
sudo apt-get update
sudo apt-get install libopm-common-dev
sudo apt-get install libopm-grid-dev
How to build
git clone git@github.com:OriGenAI/opm-origen.git
cd opm-origen
mkdir build
cd build
cmake ..
make
How to use
- Copy the binary under
build/lib
folder - Import the binary from your Python code
- Call the library functions
Example
from origen.ai.ecl import read_transmissibility
trans = read_transmissibility("path-to-data.DATA")
print(trans)
Develop
You can use the main.cpp file to debug. Just call your function from there and compile the code. You will find the binary in build/bin/main
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
origen_ai_ecl-0.1.0.tar.gz
(189.0 kB
view details)
Built Distribution
origen_ai_ecl-0.1.0-py3-none-any.whl
(189.8 kB
view details)
File details
Details for the file origen_ai_ecl-0.1.0.tar.gz
.
File metadata
- Download URL: origen_ai_ecl-0.1.0.tar.gz
- Upload date:
- Size: 189.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.11-100.fc36.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb0ebbeb575730977ce7b56d7da828aa373c2f11070cd7cf9d5282e134067f8 |
|
MD5 | 26742a51ed62118fdfead4518007410d |
|
BLAKE2b-256 | 694b995503f20fae44f6d79c36b46cab563d087af3630335d75297b83f518b86 |
File details
Details for the file origen_ai_ecl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: origen_ai_ecl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 189.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/6.1.11-100.fc36.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7f808baf9ab13ddae02970659438611e8587f521c9d45be373fab4d970621e |
|
MD5 | 8140ac7481ee99204075dc5523296634 |
|
BLAKE2b-256 | d69ba8d98172216c92032a2a2f0b808d574e4f8d71d4d7924b0f2f5e5dad825e |