Ignore:
Timestamp:
10/10/13 09:55:10 (11 years ago)
Author:
Eric.Larour
Message:

CHG: changing requested outputs from enums to strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/transient_core.cpp

    r16322 r16363  
    2020
    2121        /*parameters: */
     22        int    i;
    2223        IssmDouble starttime,finaltime,dt,yts;
    2324        bool   isstressbalance,ismasstransport,isFS,isthermal,isgroundingline,isenthalpy,isdelta18o,isgia;
     
    2728        int    meshtype,groundingline_migration;
    2829        int    numoutputs         = 0;
    29         int   *requested_outputs = NULL;
     30        char** requested_outputs = NULL;
     31
    3032
    3133        /*intermediary: */
     
    184186        femmodel->RequestedDependentsx();
    185187
    186         /*Free ressources:*/
    187         xDelete<int>(requested_outputs);
     188        /*Free ressources:*/   
     189        if(numoutputs){ for (i=0;i<numoutputs;i++){char* string=requested_outputs[i];xDelete<char>(string);} xDelete<char*>(requested_outputs);}
    188190}
Note: See TracChangeset for help on using the changeset viewer.