fix error
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
function [Times, OutputRs, Wellpara, trun] = solver_NR(r, flow_model, f, os, state0, yitap,yitas,omega,Nmax,epsave,epsmax,dtmin,dtmax,Wellc,time,well_schedules)
|
||||
function [Times, OutputRs, Wellpara, trun] = solver_NR(r, flow_model, f, os, state0, yitap,yitas,omega,Nmax,epsave,epsmax,dtmin,dtmax,Wellc,time,well_schedules, progress_callback)
|
||||
if nargin < 17
|
||||
progress_callback = [];
|
||||
end
|
||||
|
||||
w.yitap = yitap;
|
||||
w.yitas = yitas;
|
||||
w.omega = omega;
|
||||
@@ -12,6 +16,7 @@ w.dtmax = dtmax;
|
||||
w.Wellc = Wellc;
|
||||
w.time = time;
|
||||
w.well_schedules = well_schedules;
|
||||
w.progress_callback = progress_callback;
|
||||
%% 计算
|
||||
if r.modelflag==1 || r.modelflag==4 || r.modelflag==5
|
||||
if flow_model == 1
|
||||
@@ -25,4 +30,4 @@ if r.modelflag==1 || r.modelflag==4 || r.modelflag==5
|
||||
end
|
||||
% [Times, OutputRs, Wellpara, trun] = mainRS_MB_2014(r, f, os, w, state0);
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user