Changeset 26525


Ignore:
Timestamp:
11/02/21 05:33:26 (3 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added Marshall to Cfsurfacesquare

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

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

    r26090 r26525  
    8383/*}}}*/
    8484void Cfsurfacesquare::Marshall(MarshallHandle* marshallhandle){/*{{{*/
    85         _error_("not implemented yet!");
     85
     86        int object_enum=CfsurfacesquareEnum;
     87        marshallhandle->call(object_enum);
     88
     89        marshallhandle->call(this->definitionenum);
     90        marshallhandle->call(this->local);
     91        marshallhandle->call(this->model_enum);
     92        marshallhandle->call(this->name);
     93        marshallhandle->call(this->observation_enum);
     94        marshallhandle->call(this->weights_enum);
     95        marshallhandle->call(this->datatime);
     96        marshallhandle->call(this->timepassedflag);
     97        marshallhandle->call(this->misfit);
    8698}
    8799/*}}}*/
  • issm/trunk-jpl/src/c/classes/Cfsurfacesquare.h

    r26469 r26525  
    2222                char*       name;
    2323                int         observation_enum;
    24                 char*       timeinterpolation;
    2524                int         weights_enum;
    2625                IssmDouble      datatime;
  • issm/trunk-jpl/src/c/datastructures/DataSet.cpp

    r26281 r26525  
    256256                                this->AddObject(Cflevelset);
    257257                        }
     258                        else if(obj_enum==CfsurfacesquareEnum){
     259                                Cfsurfacesquare* cfsurf=new Cfsurfacesquare();
     260                                cfsurf->Marshall(marshallhandle);
     261                                this->AddObject(cfsurf);
     262                        }
    258263                        else if(obj_enum==MassfluxatgateEnum){
    259264                                Massfluxatgate<IssmDouble>* massfluxgate=new Massfluxatgate<IssmDouble>();
Note: See TracChangeset for help on using the changeset viewer.