Changeset 25975


Ignore:
Timestamp:
02/03/21 20:11:46 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed coulomb inversion

File:
1 edited

Legend:

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

    r25958 r25975  
    120120        else if(strcmp(string_in,"FrictionCoefficient")==0 || strcmp(string_in,"md.friction.coefficient")==0){
    121121                const char* field = "md.friction.coefficient";
     122                input_enum        = FrictionCoefficientEnum;
     123                fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
     124        }
     125        else if(strcmp(string_in,"FrictionC")==0 || strcmp(string_in,"md.friction.C")==0){
     126                const char* field = "md.friction.C";
    122127                input_enum        = FrictionCoefficientEnum;
    123128                fieldname=xNew<char>((strlen(field)+1)); xMemCpy<char>(fieldname,field,(strlen(field)+1));
Note: See TracChangeset for help on using the changeset viewer.