Changeset 27073


Ignore:
Timestamp:
06/17/22 15:53:03 (3 years ago)
Author:
Eric.Larour
Message:

CHG: these mmes are now resolved in the initial geometry core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-SLPS2022/src/c/analyses/OceantransportAnalysis.cpp

    r26468 r27073  
    3939        iomodel->FetchDataToInput(inputs,elements,"md.dsl.sea_surface_height_above_geoid",  OceantransportSpcdslEnum);
    4040        iomodel->FetchDataToInput(inputs,elements,"md.dsl.global_average_thermosteric_sea_level",OceantransportSpcstrEnum);
    41 
    42         /*Resolve mmes if we not running Dakota. Otherwise, Dakota will provide a modelid, which will be use to resolve Mme,
    43          *but it will be done in InputUpdateFromDakota:*/
    44         iomodel->FetchData(&isdakota,"md.qmu.isdakota");
    45         if (inputs->GetInputObjectEnum(OceantransportSpcbottompressureEnum)==DatasetInputEnum && isdakota){
    46                 int modelid;
    47 
    48                 /*retrieve model id: */
    49                 iomodel->FetchData(&modelid,"md.dsl.modelid");
    50 
    51                 /*replace dataset of forcings with only one, the modelid'th:*/
    52                 MmeToInputFromIdx(inputs,elements,modelid,OceantransportSpcbottompressureEnum, P1Enum);
    53                 MmeToInputFromIdx(inputs,elements,modelid,OceantransportSpcdslEnum, P1Enum);
    54                 MmeToInputFromIdx(inputs,elements,modelid,OceantransportSpcstrEnum, P0Enum);
    55         }
    5641
    5742        /*Initialize sea level cumulated sea level loads :*/
Note: See TracChangeset for help on using the changeset viewer.