Changeset 26281


Ignore:
Timestamp:
05/19/21 08:59:57 (4 years ago)
Author:
Cheng Gong
Message:

BUG: fixing Massfluxgate in AD when using checkpoint

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

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Massfluxatgate.h

    r25508 r26281  
    3232                Massfluxatgate(){/*{{{*/
    3333                        this->definitionenum        = -1;
    34                         this->name        = 0;
     34                        this->name        = NULL;
    3535                        this->numsegments = 0;
    36                         this->segments    = 0;
     36                        this->elements    = NULL;
     37                        this->x1                                = NULL;
     38                        this->x2                                = NULL;
     39                        this->y1                                = NULL;
     40                        this->y2                                = NULL;
    3741                }
    3842                /*}}}*/
  • issm/trunk-jpl/src/c/datastructures/DataSet.cpp

    r26255 r26281  
    256256                                this->AddObject(Cflevelset);
    257257                        }
     258                        else if(obj_enum==MassfluxatgateEnum){
     259                                Massfluxatgate<IssmDouble>* massfluxgate=new Massfluxatgate<IssmDouble>();
     260                                massfluxgate->Marshall(marshallhandle);
     261                                this->AddObject(massfluxgate);
     262                        }
    258263                        else _error_("could not recognize enum type: " << obj_enum << ": " << EnumToStringx(obj_enum) );
    259264                }
Note: See TracChangeset for help on using the changeset viewer.