Ignore:
Timestamp:
05/21/10 14:51:20 (15 years ago)
Author:
Eric.Larour
Message:

New call to cores, starting to cleanup the results API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Qmux/SpawnCoreParallel.cpp

    r3775 r3887  
    9292        _printf_("qmu iteration: %i\n",counter);
    9393
    94         //initialize results:
    95         results=new DataSet(ResultsEnum);
    96 
    9794        /*Modify core inputs in objects contained in model, to reflect the dakota variables inputs: */
    9895        model->UpdateFromDakota(variables,variables_descriptors,numvariables,model->GetFormulation(DiagnosticAnalysisEnum,HorizAnalysisEnum)->parameters,qmu_part,qmu_npart); //diagnostic horiz model is the one holding the parameters for Dakota.
     
    103100                if(verbose)_printf_("Starting diagnostic core\n");
    104101
    105                 diagnostic_core(results,model);
     102                results=diagnostic_core(model);
    106103
    107104        }
     
    109106               
    110107                if(verbose)_printf_("Starting thermal core\n");
    111                 thermal_core(results,model);
     108                results=thermal_core(model);
    112109
    113110        }
     
    115112
    116113                if(verbose)_printf_("Starting prognostic core\n");
    117                 prognostic_core(results,model);
     114                results=prognostic_core(model);
    118115
    119116        }
     
    121118
    122119                if(verbose)_printf_("Starting transient core\n");
    123                 transient_core(results,model);
     120                results=transient_core(model);
    124121
    125122        }
Note: See TracChangeset for help on using the changeset viewer.