Changeset 5463


Ignore:
Timestamp:
08/20/10 16:24:56 (15 years ago)
Author:
Mathieu Morlighem
Message:

Got rid of Stokes control init

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  
    1919        cm_gradient=femmodel.parameters.CmGradient;
    2020        dim=femmodel.parameters.Dim;
     21        isstokes=femmodel.parameters.IsStokes;
    2122
    2223        %Initialise options with tolerance and maxiter
     
    3132        adjointcore=AdjointCorePointerFromSolutionEnum(solution_type);
    3233
    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
    3740
    3841        for n=1:nsteps,
Note: See TracChangeset for help on using the changeset viewer.