Ignore:
Timestamp:
05/24/22 02:33:47 (3 years ago)
Author:
Cheng Gong
Message:

CHG: speedfactor to TranientParam in calvingTest

File:
1 edited

Legend:

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

    r27009 r27020  
    373373        IssmDouble  calvingrate[NUMVERTICES];
    374374        IssmDouble  vx,vy;
     375        IssmDouble  time;
     376        IssmDouble  coeff;
    375377
    376378        /*Retrieve all inputs and parameters we will need*/
    377         IssmDouble coeff = parameters->FindParam(CalvingTestSpeedfactorEnum);
     379        parameters->FindParam(&time,TimeEnum);
     380        parameters->FindParam(&coeff,CalvingTestSpeedfactorEnum,time);
     381
    378382        Input* vx_input = this->GetInput(VxEnum); _assert_(vx_input);
    379383        Input* vy_input = this->GetInput(VyEnum); _assert_(vy_input);
Note: See TracChangeset for help on using the changeset viewer.