Changeset 5463
- Timestamp:
- 08/20/10 16:24:56 (15 years ago)
- Location:
- issm/trunk/src/m/solutions
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/solutions/control_core.m
r5438 r5463 19 19 cm_gradient=femmodel.parameters.CmGradient; 20 20 dim=femmodel.parameters.Dim; 21 isstokes=femmodel.parameters.IsStokes; 21 22 22 23 %Initialise options with tolerance and maxiter … … 31 32 adjointcore=AdjointCorePointerFromSolutionEnum(solution_type); 32 33 33 %Preprocess models 34 % if(solution_type==SteadystateSolutionEnum || solution_type==DiagnosticSolutionEnum) 35 % femmodel=stokescontrolinit(femmodel); 36 % end 34 %Launch once a complete solution to set up all inputs 35 disp(' preparing initial solution'); 36 isstokes 37 if isstokes, 38 eval(['femmodel=' solutioncore '(femmodel);']); 39 end 37 40 38 41 for n=1:nsteps,
Note:
See TracChangeset
for help on using the changeset viewer.