Changeset 1860
- Timestamp:
- 08/25/09 09:58:04 (16 years ago)
- Location:
- issm/trunk/src/m/solutions/cielo
- Files:
-
- 2 added
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/cielo/objectivefunctionC.m
r1850 r1860 8 8 fit=m.parameters.fit(n); 9 9 control_type=m.parameters.control_type; 10 thermalstatic=m.parameters.thermalstatic;10 steadystate=m.parameters.steadystate; 11 11 12 12 %Update along gradient using scalar supplied by fmincon optimization routine … … 17 17 18 18 %Run diagnostic with updated parameters. 19 if ~ thermalstatic,19 if ~steadystate, 20 20 %do a simple diagnostic, with the current temperature profile, do not look for steady state. 21 21 u_g=diagnostic_core_nonlinear(m,inputs,analysis_type,sub_analysis_type); 22 22 else 23 23 %do a full thermal mechanical steady state converged computation, much slower! 24 results= thermalstatic_core(models,inputs); u_g=results.u_g;24 results=steadystate_core(models,inputs); u_g=results.u_g; 25 25 26 26 %u_g ships with 3 or 4 dofs, we only want the horizontal ones!
Note:
See TracChangeset
for help on using the changeset viewer.