Changeset 19545


Ignore:
Timestamp:
09/10/15 10:57:29 (10 years ago)
Author:
Mathieu Morlighem
Message:

BUG: for thermal only, smbmodel is not present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/transient_core.cpp

    r19527 r19545  
    5757        femmodel->parameters->FindParam(&isFS,FlowequationIsFSEnum);
    5858        femmodel->parameters->FindParam(&iscalving,TransientIscalvingEnum);
    59         femmodel->parameters->FindParam(&smb_model,SmbEnum);
    6059        if(isgroundingline) femmodel->parameters->FindParam(&groundingline_migration,GroundinglineMigrationEnum);
    6160        femmodel->parameters->FindParam(&numoutputs,TransientNumRequestedOutputsEnum);
     
    8786                femmodel->parameters->SetParam(save_results,SaveResultsEnum);
    8887
    89                 if(isthermal && domaintype==Domain3DEnum){
     88                if(issmb && isthermal && domaintype==Domain3DEnum){
     89                        femmodel->parameters->FindParam(&smb_model,SmbEnum);
    9090                        if(VerboseSolution()) _printf0_("   computing thermal regime\n");
    9191                        if(smb_model==SMBpddEnum) ResetBoundaryConditions(femmodel,ThermalAnalysisEnum);
Note: See TracChangeset for help on using the changeset viewer.