fix error

This commit is contained in:
kk
2026-03-23 22:50:00 +08:00
parent 03c7a1ab40
commit b92444ef57
10 changed files with 2621 additions and 10 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
function [r, Times, OutputRs, Wellpara, trun] = run_case(config)
function [r, Times, OutputRs, Wellpara, trun] = run_case(config, progress_callback)
%RUN_CASE Execute a simulation from unified config.
%
% This is the first migration step from hard-coded main1.m scripts toward a
@@ -8,6 +8,7 @@ function [r, Times, OutputRs, Wellpara, trun] = run_case(config)
arguments
config (1,1) struct
progress_callback = []
end
project_root = fileparts(fileparts(fileparts(mfilename('fullpath'))));
@@ -81,7 +82,8 @@ Wellc = handle_well1_well2(well1, well2, welloc, r);
config.schedule.dtmax, ...
Wellc, ...
config.schedule.time, ...
config.schedule.well_schedules);
config.schedule.well_schedules, ...
progress_callback);
trun.run_time = toc(overall_tic);
end