Changeset 22016


Ignore:
Timestamp:
08/26/17 21:05:35 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: returning int instead of double

Location:
issm/trunk-jpl/src/c/classes/Materials
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Materials/Matpar.cpp

    r22011 r22016  
    656656}
    657657/*}}}*/
    658 IssmDouble Matpar::GetIntegerMaterialParameter(int enum_in){/*{{{*/
     658int        Matpar::GetIntegerMaterialParameter(int enum_in){/*{{{*/
    659659
    660660        switch(enum_in){
  • issm/trunk-jpl/src/c/classes/Materials/Matpar.h

    r22011 r22016  
    124124                IssmDouble GetEnthalpyDiffusionParameterVolume(int numvertices,IssmDouble* enthalpy,IssmDouble* pressure);
    125125                IssmDouble GetMaterialParameter(int in_enum);
    126                 IssmDouble GetIntegerMaterialParameter(int in_enum);
     126                int        GetIntegerMaterialParameter(int in_enum);
    127127                IssmDouble PureIceEnthalpy(IssmDouble pressure);
    128128                void       ThermalToEnthalpy(IssmDouble* penthalpy,IssmDouble temperature,IssmDouble waterfraction,IssmDouble pressure);
Note: See TracChangeset for help on using the changeset viewer.