Changeset 113
- Timestamp:
- 04/28/09 16:39:07 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/cielo/diagnostic_core_nonlinear.m
r79 r113 2 2 %INPUT function [ru_g varargout]=cielodiagnostic_core_nonlinear(m,inputs) 3 3 4 %check inputs5 if isempty(inputs),6 clear inputs;7 end8 9 4 % first off! We are going to modify the loads dataset. We need to shield the loads from those changes once we return; 10 5 loads=m.loads; … … 16 11 count=1; 17 12 converged=0; 18 soln(count).u_g=[]; 13 [velocity_param velocity_is_present]=recover_input(inputs,'velocity'); 14 if velocity_is_present 15 soln(count).u_g=velocity_param; 16 else 17 soln(count).u_g=[]; 18 end 19 19 soln(count).u_f=[]; 20 20 … … 30 30 if count>1, 31 31 inputs.old_velocity=full(soln(count-1).u_g); 32 else 33 inputs.old_velocity=full(soln(count).u_g); 32 34 end 33 35
Note:
See TracChangeset
for help on using the changeset viewer.