Changeset 2095
- Timestamp:
- 09/02/09 16:30:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/isresultconsistent.m
r1651 r2095 26 26 27 27 %DIAGNOSTIC 28 if analysis_type==DiagnosticAnalysisEnum() ,28 if analysis_type==DiagnosticAnalysisEnum() & md.control_analysis==0, 29 29 30 30 if strcmpi(md.type,'3d') … … 59 59 60 60 %CONTROL 61 if analysis_type== ControlAnalysisEnum(),62 63 fields1={'results. control.vx','results.control.vy','results.control.vel','results.control.parameter'};64 fields2={'results. control.vel','results.control.J'};61 if analysis_type==DiagnosticAnalysisEnum() & md.control_analysis==1, 62 63 fields1={'results.diagnostic.vx','results.diagnostic.vy','results.diagnostic.vel','results.diagnostic.parameter'}; 64 fields2={'results.diagnostic.vel','results.diagnostic.J'}; 65 65 66 66 %check size … … 86 86 %check inversed parameter 87 87 if ~isnan(md.maxcontrolconstraint), 88 if any(md.results. control.parameter>md.maxcontrolconstraint)88 if any(md.results.diagnostic.parameter>md.maxdiagnosticconstraint) 89 89 disp(['''control'' result not consistent: inverse parameter is greater than ' num2str(md.maxcontrolconstraint)]); 90 90 bool=0; return; … … 92 92 end 93 93 if ~isnan(md.mincontrolconstraint), 94 if any(md.results. control.parameter<md.mincontrolconstraint)94 if any(md.results.diagnostic.parameter<md.mindiagnosticconstraint) 95 95 disp(['''control'' result not consistent: inverse parameter is smaller than ' num2str(md.mincontrolconstraint)]); 96 96 bool=0; return;
Note:
See TracChangeset
for help on using the changeset viewer.