Changeset 554 for issm/trunk


Ignore:
Timestamp:
05/21/09 09:43:45 (16 years ago)
Author:
Mathieu Morlighem
Message:

stop if min_thermal_cons reached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/parallel/thermal_core.cpp

    r472 r554  
    9393
    9494                if (!converged){
    95                         if(debug)_printf_("%s%i\n","#unstable constraints",num_unstable_constraints);
    96                        
    97                         if (num_unstable_constraints<min_thermal_constraints)converged=1;
     95                        if(debug)_printf_("%s%i\n","   #unstable constraints = ",num_unstable_constraints);
     96                        if (num_unstable_constraints <= min_thermal_constraints)converged=1;
    9897                }
    9998                count++;
     
    105104        *ptg=tg;
    106105        *pmelting_offset=melting_offset;
    107 
    108106}
    109 
Note: See TracChangeset for help on using the changeset viewer.