mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
10 lines
377 B
Matlab
10 lines
377 B
Matlab
addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
|
|
SATNUM = riGetActiveCellProperty("MSW_CASE", "SATNUM");
|
|
SOIL = riGetActiveCellProperty("MSW_CASE", "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"); |