Changeset 1849


Ignore:
Timestamp:
08/24/09 18:04:32 (16 years ago)
Author:
Eric.Larour
Message:

Brachning back from issm.controlstatic, by hand

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/cielo/thermal.m

    r1720 r1849  
    2626        inputs=add(inputs,'pressure',models.t.parameters.p_g,'doublevec',1,models.t.parameters.numberofnodes);
    2727        inputs=add(inputs,'dt',models.t.parameters.dt*models.t.parameters.yts,'double');
     28
     29        %compute solution
     30        if ~models.t.parameters.qmu_analysis,
     31                %launch core of diagnostic solution.
     32                results=thermal_core(models,inputs);
    2833       
    29         %call core
    30         results=thermal_core(models,inputs);
    31 
    32         %plug onto the model
    33         if ~isstruct(md.results), md.results=struct(); end
    34         md.results.thermal=processresults(models,results);
     34                %process results
     35                if ~isstruct(md.results), md.results=struct(); end
     36                md.results.thermal=processresults(models,results);
     37        else
     38                %launch dakota driver for diagnostic core solution
     39                Qmu(models,inputs,models.t.parameters);
     40        end
    3541
    3642        %stop timing
Note: See TracChangeset for help on using the changeset viewer.