mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Cleaned up example Octave Scripts
This commit is contained in:
1 parent
44b5eab736
commit
0a78d72db9
4 files changed
+7
-7
No files matched your search
@@ -1,4 +1,4 @@
|
||||
addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
|
||||
|
||||
CInfo = riGetActiveCellInfo();
|
||||
SOIL = riGetActiveCellProperty("SOIL");
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
|
||||
SATNUM = riGetActiveCellProperty("MSW_CASE", "SATNUM");
|
||||
SOIL = riGetActiveCellProperty("MSW_CASE", "SOIL");
|
||||
|
||||
SATNUM = riGetActiveCellProperty("SATNUM");
|
||||
SOIL = riGetActiveCellProperty( "SOIL");
|
||||
|
||||
# Set all SOIL data to 0.0 for all cells with SATNUM different
|
||||
# from 7 for timestep 1
|
||||
|
||||
GENERATED = (SATNUM == 7) .* SOIL(:, 1);
|
||||
|
||||
riSetActiveCellProperty(GENERATED, "MSW_CASE", "SOIL_IN_SATNUM_Eq_7");
|
||||
riSetActiveCellProperty(GENERATED, "SOIL_IN_SATNUM_Eq_7");
|
||||
@@ -1,4 +1,4 @@
|
||||
addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
|
||||
|
||||
SOIL = riGetActiveCellProperty("SOIL");
|
||||
|
||||
SOILDIFF = SOIL;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
|
||||
|
||||
CInfo = riGetActiveCellInfo();
|
||||
SOIL = riGetActiveCellProperty("SOIL");
|
||||
|
||||
|
||||
Reference in new issue
Block a user