mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
930abbf02f
* removed non-general hard-coded grid sizes and added timing to Octave test * added two Pythonbenchmarks (sync and async) for the same test
13 lines
334 B
Matlab
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) |