Common components for OPM, in particular build system (cmake).
This commit introduces a new member function EclFile::seekPosition(arrayIndex) that retrieves the file (seek) position of the start of the header of the arrayIndex-th keyword. The expected use case for this is seeking to the start of a particular SEQNUM value in a unified restart file. If the array index exceeds all supported index values, then we return the position of the file's EOF mark (captured as the last item in the EclFile constructor). The member function is protected to be accessible in derived classes and by friends of derived classes. |
||
---|---|---|
cmake | ||
debian | ||
docs | ||
etc | ||
examples | ||
external/cjson | ||
jenkins | ||
msim | ||
opm | ||
python | ||
redhat | ||
src/opm | ||
test_util | ||
tests | ||
.gitignore | ||
changelog.md | ||
CMakeLists_files.cmake | ||
CMakeLists.txt | ||
CopyHeaders.cmake | ||
dune.module | ||
ExtraTests.cmake | ||
GenerateKeywords.cmake | ||
LICENSE | ||
opm-common-prereqs.cmake | ||
README.md |
opm-common
Contains common components used throughout all of OPM, in particular CMake modules for the build system.