Ignore:
Timestamp:
09/01/20 14:46:34 (5 years ago)
Author:
Mathieu Morlighem
Message:

CHG: cleanup

File:
1 edited

Legend:

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

    r25506 r25507  
    145145int  Matlitho::Id(void){ return mid; }/*{{{*/
    146146/*}}}*/
    147 void Matlitho::Marshall(char** pmarshalled_data,int* pmarshalled_data_size, int marshall_direction){ /*{{{*/
    148 
    149         MARSHALLING_ENUM(MatlithoEnum);
    150 
    151         MARSHALLING(numlayers);
    152         if(numlayers) {
    153                 MARSHALLING_DYNAMIC(radius,IssmDouble,numlayers+1);
    154                 MARSHALLING_DYNAMIC(viscosity,IssmDouble,numlayers);
    155                 MARSHALLING_DYNAMIC(lame_lambda,IssmDouble,numlayers);
    156                 MARSHALLING_DYNAMIC(lame_mu,IssmDouble,numlayers);
    157                 MARSHALLING_DYNAMIC(burgers_viscosity,IssmDouble,numlayers);
    158                 MARSHALLING_DYNAMIC(burgers_mu,IssmDouble,numlayers);
    159                 MARSHALLING_DYNAMIC(density,IssmDouble,numlayers);
    160                 MARSHALLING_DYNAMIC(isburgers,IssmDouble,numlayers);
    161                 MARSHALLING_DYNAMIC(issolid,IssmDouble,numlayers);
    162         }
    163         else{
    164                 radius=NULL;
    165                 viscosity=NULL;
    166                 lame_lambda=NULL;
    167                 lame_mu=NULL;
    168                 burgers_viscosity=NULL;
    169                 burgers_mu=NULL;
    170                 density=NULL;
    171                 isburgers=NULL;
    172                 issolid=NULL;
    173         }
    174 
    175 }
    176 /*}}}*/
    177147void Matlitho::Marshall2(MarshallHandle* marshallhandle){ /*{{{*/
    178148
Note: See TracChangeset for help on using the changeset viewer.