Changeset 16197


Ignore:
Timestamp:
09/20/13 07:36:42 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: temporary fix, all penalty models use the same modules, which will be renamed later today

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ConstraintsStatex/ConstraintsStatex.cpp

    r16188 r16197  
    3737        #endif
    3838
     39        /*FIXME: this function is actually called by Hydrology and damage evolution. Should be renamed*/
    3940        #ifdef _HAVE_THERMAL_
    40 
    41         if(PengridIsPresent(femmodel->loads,ThermalAnalysisEnum)){
    42 
     41        if(PengridIsPresent(femmodel->loads,analysis_type)){
    4342                ThermalConstraintsState(femmodel->loads,&converged,&num_unstable_constraints,analysis_type);
    4443        }
    4544        #endif
    46 
    47         #ifdef _HAVE_DAMAGE_
    48 
    49         if(PengridIsPresent(femmodel->loads,DamageEvolutionAnalysisEnum)){
    50 
    51                 DamageConstraintsState(femmodel->loads,&converged,&num_unstable_constraints,analysis_type);
    52         }
    53         #endif
    54 
    5545
    5646        /*Assign output pointers: */
Note: See TracChangeset for help on using the changeset viewer.