mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#2661 Update ecllib from statoil master repo
This commit is contained in:
Vendored
+1
-1
@@ -17,7 +17,7 @@ if (SPHINX_FOUND)
|
||||
configure_file(index.rst.in ${PROJECT_BINARY_DIR}/doc-src/index.rst)
|
||||
configure_file(conf.py.in ${PROJECT_BINARY_DIR}/doc-src/conf.py)
|
||||
|
||||
if (BUILD_PYTHON)
|
||||
if (ENABLE_PYTHON)
|
||||
add_custom_target(api-doc ALL
|
||||
COMMAND ${CMAKE_COMMAND} -E create_symlink "${CMAKE_CURRENT_SOURCE_DIR}/code" "${PROJECT_BINARY_DIR}/doc-src/code"
|
||||
COMMAND sphinx-apidoc -e -o doc-src/API/python/ecl ${PROJECT_BINARY_DIR}/${PYTHON_INSTALL_PREFIX}
|
||||
|
||||
@@ -851,9 +851,9 @@ ministep sequence, but there will never be holes in this range. It is
|
||||
closely coupled to the simulator timestep and what the user of ECLIPSE
|
||||
has chosen to store, so no further meaning should be attached to these
|
||||
indices. Ultimately all lookups will be based on :code:`time_index`; in the C
|
||||
code it is therefor often denoted :code:`internal_index`.
|
||||
code it is therefore often denoted :code:`internal_index`.
|
||||
|
||||
ministep
|
||||
ministep
|
||||
,,,,,,,,,
|
||||
|
||||
Each simulator timestep corresponds to one ministep, but an arbitrary
|
||||
|
||||
Vendored
+2
-2
@@ -20,14 +20,13 @@ for c in classes:
|
||||
for v in vars[c]:
|
||||
4*b : The variable names
|
||||
8*b : Skipped
|
||||
4*b : Skipped
|
||||
|
||||
----> : This is the position of first timestep
|
||||
|
||||
while classname != STOP:
|
||||
8*b : classname
|
||||
8*b : skipped
|
||||
f : timestep (will cast to int)
|
||||
f : timestep (cast to int)
|
||||
f : time
|
||||
f : num_items (cast to int)
|
||||
f : max_items (cast to int)
|
||||
@@ -49,3 +48,4 @@ while classname != STOP:
|
||||
8*b : skipped
|
||||
72*b : skipped
|
||||
var_in_class*f : The real data
|
||||
8*b : skipped
|
||||
|
||||
Vendored
+4
-4
@@ -94,7 +94,7 @@ it. In the configuration file both GEN_DATA and GEN_PARAM can be used:
|
||||
GEN_PARAM: For parameters which are not changed by the forward
|
||||
model, i.e. like porosity and permeability.
|
||||
|
||||
GEN_DATA: Data which is changed by the forward model, and therefor
|
||||
GEN_DATA: Data which is changed by the forward model, and therefore
|
||||
must be loaded at the end of each timestep. The arch-typical
|
||||
example of a GEN_DATA instance would be seismic data.
|
||||
|
||||
@@ -436,14 +436,14 @@ The block_fs driver is based on creating block_fs instances
|
||||
(block_fs_type is implemented in libutil/src/block_fs.c). The block_fs
|
||||
instances are binary files which are open through the duration of the
|
||||
program, the block_fs system then has an api for reading and writing
|
||||
(key,value) pairs to this file.
|
||||
(key,value) pairs to this file.
|
||||
|
||||
The block_fs_driver/block_fs combination is quite complex, but it has
|
||||
not had any hickups for about 1.5 years of extensive use in
|
||||
Statoil. Observe that if you pull the plug on ERT you might loose some
|
||||
of the data which has been stored with the block_fs driver, but partly
|
||||
written and malformed data will be detected and discarded at the next
|
||||
boot. You are therefor guaranteed (add as many quotes you like to the
|
||||
boot. You are therefore guaranteed (add as many quotes you like to the
|
||||
guarantee - but this has at least worked 100% up until now) that no
|
||||
bogus data will be loaded after an unclean shutdown. When shut down
|
||||
cleanly the block_fs will create an index file which can be used for
|
||||
@@ -551,7 +551,7 @@ SConstruct files:
|
||||
|
||||
Unfortunately it has been a major pain in the ass to get SCons to
|
||||
behave according to the requirements listed above; for the more
|
||||
extensive installation procedures there are therefor simple Python
|
||||
extensive installation procedures there are therefore simple Python
|
||||
scripts "install.py" which should be invoked after the SCons build is
|
||||
complete.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user