Changeset 27254


Ignore:
Timestamp:
08/31/22 13:36:04 (3 years ago)
Author:
Cheng Gong
Message:

BUG: only calculate maxvel in movingfront when stressbalance is solved

File:
1 edited

Legend:

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

    r27253 r27254  
    5353
    5454        /* compute the maximal velocity over the whole domain */
    55         femmodel->MaxVelx(&maxVel);
    56         femmodel->parameters->SetParam(maxVel, CalvingVelMaxEnum);
     55        if(isstressbalance){
     56                femmodel->MaxVelx(&maxVel);
     57                femmodel->parameters->SetParam(maxVel, CalvingVelMaxEnum);
     58        }
    5759
    5860        /* start the work from here */
Note: See TracChangeset for help on using the changeset viewer.