Changeset 27296


Ignore:
Timestamp:
10/05/22 10:33:09 (2 years ago)
Author:
Mathieu Morlighem
Message:

CHG: time stepping may be looking for vxhydro/vyhydro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r27294 r27296  
    52895289        /*Check hydro timestep also and take the minimum*/
    52905290        if(ishydro){
    5291                 Input* vx_input = this->GetInput(HydrologyWaterVxEnum); _assert_(vx_input);
    5292                 Input* vy_input = this->GetInput(HydrologyWaterVyEnum); _assert_(vy_input);
    5293                 IssmDouble maxabsvx = vx_input->GetInputMaxAbs();
    5294                 IssmDouble maxabsvy = vy_input->GetInputMaxAbs();
     5291                Input* vx_input = this->GetInput(HydrologyWaterVxEnum);
     5292                Input* vy_input = this->GetInput(HydrologyWaterVyEnum);
     5293                IssmDouble maxabsvx = 0.03;
     5294                IssmDouble maxabsvy = 0.03;
     5295                if(vx_input) maxabsvx = vx_input->GetInputMaxAbs();
     5296                if(vy_input) maxabsvy = vy_input->GetInputMaxAbs();
    52955297
    52965298                /*CFL criterion: */
Note: See TracChangeset for help on using the changeset viewer.