mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Cleaned up example Octave Scripts
This commit is contained in:
parent
44b5eab736
commit
0a78d72db9
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user