Ignore:
Timestamp:
01/25/24 09:34:42 (14 months ago)
Author:
schlegel
Message:

CHG: cleaning up GEMB if statement time step calculation for thermo

File:
1 edited

Legend:

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

    r28067 r28073  
    899899        bool maxfound=false;
    900900        for(int i=0;i<45;i++){
    901                 if (f[i]<dt-Dtol)if(f[i]>=max_fdt-Dtol){
    902                         max_fdt=f[i];
    903                         maxfound=true;
     901                if (f[i]<dt-Dtol){
     902                        if (f[i]>=max_fdt-Dtol){
     903                                max_fdt=f[i];
     904                                maxfound=true;
     905                        }
    904906                }
    905907        }
Note: See TracChangeset for help on using the changeset viewer.