Changeset 16476


Ignore:
Timestamp:
10/21/13 09:48:52 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: for steadystate, we cannot call PostprocessingEnthalpyx...

Location:
issm/trunk-jpl/src/c
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/steadystate_core.cpp

    r16470 r16476  
    5252                #ifdef _HAVE_THERMAL_
    5353                thermal_core(femmodel);
    54                 femmodel->SetCurrentConfiguration(ThermalAnalysisEnum);/*Could be MeltingAnalysis...*/
     54                if(!isenthalpy)femmodel->SetCurrentConfiguration(ThermalAnalysisEnum);/*Could be MeltingAnalysis...*/
    5555                GetSolutionFromInputsx(&tg,femmodel);
    5656                #else
  • issm/trunk-jpl/src/c/analyses/thermal_core.cpp

    r16470 r16476  
    4747
    4848                /*Post process*/
    49                 PostprocessingEnthalpyx(femmodel);
     49                if(solution_type!=SteadystateSolutionEnum) PostprocessingEnthalpyx(femmodel);
    5050        }
    5151        else{
    52                 if(VerboseSolution()) _printf0_("   setting basal Dirichlet boundary conditions\n");
    53                 femmodel->UpdateBasalConstraintsEnthalpyx();
    54 
    5552                if(VerboseSolution()) _printf0_("   computing temperatures\n");
    5653                femmodel->SetCurrentConfiguration(ThermalAnalysisEnum);
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r16473 r16476  
    14021402/*}}}*/
    14031403#endif
    1404 #ifdef _HAVE_THERMAL_
    1405 void FemModel::UpdateBasalConstraintsEnthalpyx(void){ /*{{{*/
    1406 
    1407         for(int i=0;i<elements->Size();i++){
    1408                 Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    1409                 element->UpdateBasalConstraintsEnthalpy();
    1410         }
    1411 
    1412 }
    1413 /*}}}*/
    1414 #endif
  • issm/trunk-jpl/src/c/classes/FemModel.h

    r16461 r16476  
    103103                void HydrologyEPLupdateDomainx(void);
    104104                #endif
    105                 #ifdef _HAVE_THERMAL_
    106                 void UpdateBasalConstraintsEnthalpyx(void);
    107                 #endif
    108105};
    109106
Note: See TracChangeset for help on using the changeset viewer.