Changeset 25294


Ignore:
Timestamp:
07/20/20 22:59:59 (5 years ago)
Author:
Eric.Larour
Message:

CHG: adding step and time to get the eustatic contribution in the correct place!

File:
1 edited

Legend:

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

    r25282 r25294  
    405405        int  gsize;
    406406        IssmDouble oceanarea;
     407        int        step;
     408        IssmDouble time;
    407409
    408410        /*outputs:*/
     
    415417        gsize = femmodel->nodes->NumberOfDofs(GsetEnum);
    416418
     419        /*some parameters:*/
     420        femmodel->parameters->FindParam(&step,StepEnum);
     421        femmodel->parameters->FindParam(&time,TimeEnum);
     422
    417423        /*Initialize:*/
    418424        RSLgi = new Vector<IssmDouble>(gsize);
     
    429435
    430436        /*save eustatic value for results: */
    431         femmodel->results->AddResult(new GenericExternalResult<IssmDouble>(femmodel->results->Size()+1,SealevelRSLEustaticEnum,-eustatic));
     437        femmodel->results->AddResult(new GenericExternalResult<IssmDouble>(femmodel->results->Size()+1,SealevelRSLEustaticEnum,-eustatic,step,time));
    432438
    433439        /*Assign output pointers and return: */
Note: See TracChangeset for help on using the changeset viewer.