Changeset 8650
- Timestamp:
- 06/16/11 14:47:20 (14 years ago)
- Location:
- issm/trunk/src/m
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/version/7.6/model.m
r8592 r8650 230 230 optscal=[]; 231 231 eps_cm=0; 232 cm_noisedmp=0;233 232 cm_min=NaN; 234 233 cm_max=NaN; … … 399 398 num_control_type; 400 399 verbose_binary; 400 cm_noisedmp; 401 401 % }}} 402 402 end -
issm/trunk/src/m/classes/version/7.7/model.m
r8592 r8650 230 230 optscal=[]; 231 231 eps_cm=0; 232 cm_noisedmp=0;233 232 cm_min=NaN; 234 233 cm_max=NaN; … … 399 398 num_control_type; 400 399 verbose_binary; 400 cm_noisedmp; 401 401 % }}} 402 402 end -
issm/trunk/src/m/model/display/displaycontrol.m
r5704 r8650 20 20 fielddisplay(md,'tolx','minimum tolerance which will stop one optimization search'); 21 21 fielddisplay(md,'cm_jump','decrease threshold for misfit, default is 30%'); 22 fielddisplay(md,'cm_noisedmp','noise dampening coefficient, 0 if not applied');23 22 fielddisplay(md,'cm_min','absolute minimum acceptable value of the inversed parameter'); 24 23 fielddisplay(md,'cm_max','absolute maximum acceptable value of the inversed parameter'); -
issm/trunk/src/m/model/ismodelselfconsistent.m
r8611 r8650 224 224 end 225 225 end 226 227 %parameters228 fields={'cm_noisedmp'};229 checknan(md,fields);230 226 end 231 227 %}}} -
issm/trunk/src/m/model/marshall.m
r8592 r8650 170 170 WriteData(fid,md.tolx,'Scalar','tolx'); 171 171 WriteData(fid,md.maxiter,'Mat','maxiter'); 172 WriteData(fid,md.cm_noisedmp,'Scalar','cm_noisedmp');173 172 WriteData(fid,md.cm_min,'Mat','cm_min'); 174 173 WriteData(fid,md.cm_max,'Mat','cm_max'); -
issm/trunk/src/m/model/parametercontroloptimization.m
r8298 r8650 3 3 % 4 4 % It is possible to specify the number of steps, values for the 5 % minimum and maximum values of the drag, specify a noise dampening,the5 % minimum and maximum values of the drag, specify the 6 6 % kind of fit to use or the the optscal. 7 7 % … … 29 29 md2.cm_min=1; 30 30 md2.eps_cm=NaN; 31 md2.cm_noisedmp=0;32 31 md2.nsteps=getfieldvalue(options,'nsteps',5); 33 32 md2.control_type=getfieldvalue(options,'md2.control_type',DragCoefficientEnum); -
issm/trunk/src/m/model/parameterization/parametercontrolB.m
r8454 r8650 3 3 % 4 4 % It is possible to specify the number of steps, values for the 5 % minimum and maximum values of B, specify a noise dampening,the5 % minimum and maximum values of B, the 6 6 % kind of cm_responses to use or the the optscal. 7 7 % … … 11 11 % Example: 12 12 % md=parametercontrolB(md) 13 % md=parametercontrolB(md,'nsteps',20,'cm_ noisedmp',10^-15,'cm_responses',0)13 % md=parametercontrolB(md,'nsteps',20,'cm_responses',0) 14 14 % md=parametercontrolB(md,'cm_min',10,'cm_max',10^8,'cm_jump',0.99,'maxiter',20) 15 15 % md=parametercontrolB(md,eps_cm',10^-4,'optscal',[10^7 10^8]) … … 58 58 else 59 59 md.cm_max=cm_max; 60 end61 62 %cm_noisedmp63 cm_noisedmp=getfieldvalue(options,'cm_noisedmp',0);64 if (length(cm_noisedmp)~=1)65 md.cm_noisedmp=0;66 else67 md.cm_noisedmp=cm_noisedmp;68 60 end 69 61 -
issm/trunk/src/m/model/parameterization/parametercontroldrag.m
r8298 r8650 3 3 % 4 4 % It is possible to specify the number of steps, values for the 5 % minimum and maximum values of the drag, specify a noise dampening,the5 % minimum and maximum values of the drag, the 6 6 % kind of cm_responses to use or the the optscal. 7 7 % … … 11 11 % Example: 12 12 % md=parametercontroldrag(md) 13 % md=parametercontroldrag(md,'nsteps',20,'cm_ noisedmp',10^-8,'cm_responses',0)13 % md=parametercontroldrag(md,'nsteps',20,'cm_responses',0) 14 14 % md=parametercontroldrag(md,'cm_min',1,'cm_max',150,'cm_jump',0.99,'maxiter',20) 15 15 % md=parametercontroldrag(md,eps_cm',10^-4,'optscal',[10^7 10^8]) … … 57 57 else 58 58 md.cm_max=cm_max; 59 end60 61 %cm_noisedmp62 cm_noisedmp=getfieldvalue(options,'cm_noisedmp',0);63 if (length(cm_noisedmp)~=1)64 md.cm_noisedmp=0;65 else66 md.cm_noisedmp=cm_noisedmp;67 59 end 68 60
Note:
See TracChangeset
for help on using the changeset viewer.