Changeset 27169


Ignore:
Timestamp:
08/01/22 10:44:01 (3 years ago)
Author:
Cheng Gong
Message:

NEW: add Tikhonov regularization for AD inversion

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

Legend:

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

    r26888 r27169  
    6969/*}}}*/
    7070void Cfdragcoeffabsgrad::Marshall(MarshallHandle* marshallhandle){/*{{{*/
    71         _error_("not implemented yet!");
     71
     72        /*ok, marshall operations: */
     73   int object_enum=CfdragcoeffabsgradEnum;
     74   marshallhandle->call(object_enum);
     75
     76        marshallhandle->call(this->definitionenum);
     77        marshallhandle->call(this->name);
     78        marshallhandle->call(this->weights_enum);
     79        marshallhandle->call(this->timepassedflag);
    7280}
    7381/*}}}*/
  • issm/trunk-jpl/src/c/datastructures/DataSet.cpp

    r26868 r27169  
    266266                                this->AddObject(cfsurf);
    267267                        }
     268                        else if(obj_enum==CfdragcoeffabsgradEnum){
     269                                Cfdragcoeffabsgrad* cfdragcoeff=new Cfdragcoeffabsgrad();
     270                                cfdragcoeff->Marshall(marshallhandle);
     271                                this->AddObject(cfdragcoeff);
     272                        }
    268273                        else if(obj_enum==MassfluxatgateEnum){
    269274                                Massfluxatgate<IssmDouble>* massfluxgate=new Massfluxatgate<IssmDouble>();
Note: See TracChangeset for help on using the changeset viewer.