Changeset 27593


Ignore:
Timestamp:
02/20/23 08:16:07 (2 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added md.basalforcings.deepwater_melting_rate as a possible control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/io/Marshalling/IoCodeConversions.cpp

    r27462 r27593  
    216216                const char* field = "md.basalforcings.meltrate_factor";
    217217                input_enum        = BasalforcingsMeltrateFactorEnum;
     218                fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
     219        }
     220        else if(strcmp(string_in,"BasalforcingsSpatialDeepwaterMeltingRate")==0){
     221                const char* field = "md.basalforcings.deepwater_melting_rate";
     222                input_enum        = BasalforcingsSpatialDeepwaterMeltingRateEnum;
    218223                fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
    219224        }
Note: See TracChangeset for help on using the changeset viewer.