Changeset 1121
- Timestamp:
- 06/26/09 10:44:01 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/cielo/control_core.m
r1046 r1121 73 73 %generate output 74 74 displaystring(debug,'\n%s',[' preparing final velocity solution...']); 75 results=controlfinalsol(c,m_dh,param_g,inputs,'diagnostic','horiz'); 75 76 %compute final velocity from diagnostic_core (horiz+vertical) 77 inputs=add(inputs,m_dh.parameters.control_type,param_g,'doublevec',1,m_dh.parameters.numberofnodes); 78 results_diag=diagnostic_core(models,inputs); 79 80 %Recover misfit at each iteration of the control method 81 J=zeros(length(c),1); 82 for i=1:length(c), 83 J(i)=c(i).J; 84 end 85 86 %build results 87 results.time=0; 88 results.step=1; 89 results.J=J; 90 results.param_g=param_g; 91 results.u_g=results_diag.u_g;
Note:
See TracChangeset
for help on using the changeset viewer.