Changeset 972


Ignore:
Timestamp:
06/12/09 20:30:55 (16 years ago)
Author:
Eric.Larour
Message:

Include analysis_type in models. Swapped arguments for models and results in processresults

Location:
issm/trunk/src/m/solutions/cielo
Files:
6 edited

Legend:

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

    r971 r972  
    4141                %process results
    4242                if ~isstruct(md.results), md.results=struct(); end
    43                 md.results.diagnostic=processresults(results,models);
     43                md.results.diagnostic=processresults(models,results);
    4444        else
    4545                %launch dakota driver for diagnostic core solution
  • issm/trunk/src/m/solutions/cielo/modelsize.m

    r940 r972  
    1313%get max dof
    1414for i=1:length(modelsname);
    15         if ~isempty(models.(modelsname{i}).nodesets),
    16                 dof=max(dof,models.(modelsname{i}).nodesets.fsize);
     15        if ~strcmpi(modelsname,'analysis_type'),
     16                if ~isempty(models.(modelsname{i}).nodesets),
     17                        dof=max(dof,models.(modelsname{i}).nodesets.fsize);
     18                end
    1719        end
    1820end
  • issm/trunk/src/m/solutions/cielo/processresults.m

    r971 r972  
    1 function newresults=processresults(results,models)
     1function newresults=processresults(models,results)
    22%PROCESSRESULTS - process results from core solution
    33%
  • issm/trunk/src/m/solutions/cielo/prognostic.m

    r971 r972  
    3131        displaystring(md.debug,'\n%s',['load results...']);
    3232        if ~isstruct(md.results), md.results=struct(); end
    33         md.results.prognostic=processresults(results,models);
     33        md.results.prognostic=processresults(models, results);
    3434
    3535        %stop timing
  • issm/trunk/src/m/solutions/cielo/thermal.m

    r971 r972  
    3232        %plug onto the model
    3333        if ~isstruct(md.results), md.results=struct(); end
    34         md.results.thermal=processresults(results,models);
     34        md.results.thermal=processresults(models,results);
    3535
    3636        %stop timing
  • issm/trunk/src/m/solutions/cielo/transient3d.m

    r971 r972  
    139139%process results
    140140if ~isstruct(md.results), md.results=struct(); end
    141 md.results.transient=processresults(results,models);
     141md.results.transient=processresults(models, results);
Note: See TracChangeset for help on using the changeset viewer.