Changeset 2218
- Timestamp:
- 09/11/09 15:05:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/cielo/objectivefunctionC.m
r2027 r2218 17 17 18 18 %Run diagnostic with updated parameters. 19 if ~m.parameters.control_steady; 20 %do a simple diagnostic, with the current temperature profile, do not look for steady state. 21 u_g=diagnostic_core_nonlinear(m,inputs,analysis_type,sub_analysis_type); 22 else 23 %do a full thermal mechanical steady state converged computation, much slower! 24 results=steadystate_core(models,inputs); u_g=results.u_g; 25 26 %u_g ships with 3 or 4 dofs, we only want the horizontal ones! 27 if ~models.dh.parameters.isstokes, 28 u_g=u_g(dofsetgen([1,2],3,m.parameters.numberofnodes*3)); 29 end 30 end 19 u_g=diagnostic_core_nonlinear(m,inputs,analysis_type,sub_analysis_type); 31 20 32 21 %add velocity to inputs.
Note:
See TracChangeset
for help on using the changeset viewer.