ResInsight/OctavePlugin/OctaveScripts/InputPropTest.m
Gaute Lindkvist 930abbf02f Python: added tests and made Octave InputPropTest.m general
* removed non-general hard-coded grid sizes and added timing to Octave test
* added two Pythonbenchmarks (sync and async) for the same test
2019-06-04 10:49:35 +02:00

13 lines
334 B
Matlab

addpath("/home/builder/Projects/ResInsightBuildDir/OctavePlugin");
tic();
PORO = riGetActiveCellProperty("PORO");
PERMX = riGetActiveCellProperty("PERMX");
IJK = riGetMainGridDimensions();
GENERATED = PORO .* PERMX;
riSetActiveCellProperty(GENERATED, "PORO*PERMX");
elapsed_time = toc();
disp("Elapsed time: "), disp(elapsed_time)