Changeset 20646


Ignore:
Timestamp:
05/25/16 11:02:15 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: not needed here anymore, moved Parameters marshall functions to Parameters directly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/datastructures/DataSet.cpp

    r20635 r20646  
    161161                                this->AddObject(vertex);
    162162                        }
    163                         //else if(obj_enum==DoubleParamEnum){
    164                         //      DoubleParam* doubleparam=NULL;
    165                         //      doubleparam=new DoubleParam();
    166                         //      doubleparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    167                         //      this->AddObject(doubleparam);
    168                         //}
    169                         //else if(obj_enum==IntParamEnum){
    170                         //      IntParam* intparam=NULL;
    171                         //      intparam=new IntParam();
    172                         //      intparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    173                         //      this->AddObject(intparam);
    174                         //}
    175                         //else if(obj_enum==IntMatParamEnum){
    176                         //      IntMatParam* intmparam=NULL;
    177                         //      intmparam=new IntMatParam();
    178                         //      intmparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    179                         //      this->AddObject(intmparam);
    180                         //}
    181                         //else if(obj_enum==IntVecParamEnum){
    182                         //      IntVecParam* intvparam=NULL;
    183                         //      intvparam=new IntVecParam();
    184                         //      intvparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    185                         //      this->AddObject(intvparam);
    186                         //}
    187                         //else if(obj_enum==BoolParamEnum){
    188                         //      BoolParam* boolparam=NULL;
    189                         //      boolparam=new BoolParam();
    190                         //      boolparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    191                         //      this->AddObject(boolparam);
    192                         //}
    193                         //else if(obj_enum==DataSetParamEnum){
    194                         //      DataSetParam* dsparam=NULL;
    195                         //      dsparam=new DataSetParam();
    196                         //      dsparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    197                         //      this->AddObject(dsparam);
    198                         //}
    199                         //else if(obj_enum==DoubleMatArrayParamEnum){
    200                         //      DoubleMatArrayParam* dmaparam=NULL;
    201                         //      dmaparam=new DoubleMatArrayParam();
    202                         //      dmaparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    203                         //      this->AddObject(dmaparam);
    204                         //}
    205                         //else if(obj_enum==DoubleMatParamEnum){
    206                         //      DoubleMatParam* dmparam=NULL;
    207                         //      dmparam=new DoubleMatParam();
    208                         //      dmparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    209                         //      this->AddObject(dmparam);
    210                         //}
    211                         //else if(obj_enum==DoubleVecParamEnum){
    212                         //      DoubleVecParam* dvparam=NULL;
    213                         //      dvparam=new DoubleVecParam();
    214                         //      dvparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    215                         //      this->AddObject(dvparam);
    216                         //}
    217                         //else if(obj_enum==FileParamEnum){
    218                         //      FileParam* fileparam=NULL;
    219                         //      fileparam=new FileParam();
    220                         //      fileparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    221                         //      delete fileparam;
    222                         //      /* No need to add this object, the pointer is not valid             
    223                         //         The FemModel should reset all FileParams in the restart function */
    224                         //}
    225                         //else if(obj_enum==StringParamEnum){
    226                         //      StringParam* sparam=NULL;
    227                         //      sparam=new StringParam();
    228                         //      sparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    229                         //      this->AddObject(sparam);
    230                         //}
    231                         //else if(obj_enum==StringArrayParamEnum){
    232                         //      StringArrayParam* saparam=NULL;
    233                         //      saparam=new StringArrayParam();
    234                         //      saparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    235                         //      this->AddObject(saparam);
    236                         //}
    237                         //else if(obj_enum==TransientParamEnum){
    238                         //      TransientParam* transparam=NULL;
    239                         //      transparam=new TransientParam();
    240                         //      transparam->Marshall(pmarshalled_data,pmarshalled_data_size,marshall_direction);
    241                         //      this->AddObject(transparam);
    242                         //}
    243                         //else if(obj_enum==GenericParamEnum){
    244                         //      /*Skip for now (we don't want to Marhsall Comms*/
    245                         //}
    246163                        else if(obj_enum==MaticeEnum){
    247164                                Matice* matice=NULL;
Note: See TracChangeset for help on using the changeset viewer.