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.3.tar.gz
(188.9 kB
view details)
Built Distribution
origen_ai_ecl-0.1.3-py3-none-any.whl
(189.8 kB
view details)
File details
Details for the file origen_ai_ecl-0.1.3.tar.gz
.
File metadata
- Download URL: origen_ai_ecl-0.1.3.tar.gz
- Upload date:
- Size: 188.9 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 | 286ee338f5ea86553c470bd1592296956bb1114306f02fdb9778dc3176fdb455 |
|
MD5 | edfc4c64176212b4537290fa4a6ca63f |
|
BLAKE2b-256 | 5d2541f01c5c697a164c92ee340593596279a47ff082cde1cbed5b511a6437f8 |
File details
Details for the file origen_ai_ecl-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: origen_ai_ecl-0.1.3-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 | 8cf96dfbf336b6ed66514a8ddb188ae14cf1c35c58e3345598e1540a9d3aa051 |
|
MD5 | c30dea5b68a0b7ce3d47f7c13016abdc |
|
BLAKE2b-256 | 8fc2e182a868b0ac39d93e71aadc5a43e933597f75a1f2c1673a3ca012fbf76d |