Changeset 6247
- Timestamp:
- 10/12/10 10:35:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/model/tres.m
r6130 r6247 40 40 end 41 41 if md.control_analysis==1, 42 if (md.control_type==DragCoefficientEnum) 43 md.drag_coefficient=PatchToVec(md.results.DiagnosticSolution.(md.results.DiagnosticSolution.ControlType)); 44 elseif (md.control_type==RheologyBbarEnum) 45 md.rheology_B=PatchToVec(md.results.DiagnosticSolution.(md.results.DiagnosticSolution.ControlType)); 46 elseif (md.control_type==DhDtEnum) 47 md.dhdt=PatchToVec(md.results.DiagnosticSolution.(md.results.DiagnosticSolution.ControlType)); 48 else 49 error('control type not implemented yet') 42 for control_type=md.control_type 43 md.(EnumToModelField(control_type))=PatchToVec(md.results.DiagnosticSolution.(md.results.DiagnosticSolution.(control_type))); 50 44 end 51 45 end
Note:
See TracChangeset
for help on using the changeset viewer.