Ignore:
Timestamp:
01/05/21 10:12:00 (4 years ago)
Author:
ymipsl
Message:

Some cleaning of old transformation dead code

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/file.cpp

    r1962 r2002  
    734734 
    735735        // Now complete domain and axis associated with this field 
    736         enabledFields[idx]->solveGenerateGrid(); 
     736        
     737       //ym => this a problem in wich order are done the grid generation. Probably metadata are read in file and after the grid is ditributed by the filter 
     738       // => must be checked in detail. But solveGenerated grid is not existing any more with new transformation framework 
     739       // enabledFields[idx]->solveGenerateGrid(); 
    737740 
    738741        // Read necessary value from file 
     
    818821 
    819822   //---------------------------------------------------------------- 
    820  
    821    /*! 
    822    \brief Resolve all reference of active fields. 
    823       In order to know exactly which data each active field has, a search for all its 
    824    reference to find its parents or/and its base reference object must be done. Moreover 
    825    during this search, there are some information that can only be sent to server AFTER 
    826    all information of active fields are created on server side, e.g: checking mask or index 
    827    \param [in] sendToServer: Send all info to server (true) or only a part of it (false) 
    828    */ 
    829    void CFile::solveOnlyRefOfEnabledFields(void) 
    830    TRY 
    831    { 
    832      int size = this->enabledFields.size(); 
    833      for (int i = 0; i < size; ++i) 
    834      { 
    835        this->enabledFields[i]->solveOnlyReferenceEnabledField(); 
    836      } 
    837    } 
    838    CATCH_DUMP_ATTR 
    839823 
    840824   void CFile::checkGridOfEnabledFields() 
     
    927911   CATCH_DUMP_ATTR 
    928912 
    929    void CFile::generateNewTransformationGridDest() 
    930    TRY 
    931    { 
    932      int size = this->enabledFields.size(); 
    933      for (int i = 0; i < size; ++i) 
    934      { 
    935        this->enabledFields[i]->generateNewTransformationGridDest(); 
    936      } 
    937    } 
    938    CATCH_DUMP_ATTR 
    939  
    940    /*! 
    941    \brief Resolve all reference of active fields. 
    942       In order to know exactly which data each active field has, a search for all its 
    943    reference to find its parents or/and its base reference object must be done. Moreover 
    944    during this search, there are some information that can only be sent to server AFTER 
    945    all information of active fields are created on server side, e.g: checking mask or index 
    946    \param [in] sendToServer: Send all info to server (true) or only a part of it (false) 
    947    */ 
    948    void CFile::solveAllRefOfEnabledFieldsAndTransform(void) 
    949    TRY 
    950    { 
    951      int size = this->enabledFields.size(); 
    952      for (int i = 0; i < size; ++i) 
    953      {        
    954       this->enabledFields[i]->solveAllEnabledFieldsAndTransform(); 
    955      } 
    956    } 
    957    CATCH_DUMP_ATTR 
    958  
    959    /*! 
    960     * Constructs the filter graph for each active field. 
    961     * 
    962     * \param gc the garbage collector to use when building the filter graph 
    963     */ 
    964    void CFile::buildFilterGraphOfEnabledFields(CGarbageCollector& gc) 
    965    TRY 
    966    { 
    967      int size = this->enabledFields.size(); 
    968      for (int i = 0; i < size; ++i) 
    969      { 
    970        this->enabledFields[i]->buildFilterGraph(gc, true); 
    971      } 
    972    } 
    973    CATCH_DUMP_ATTR 
    974913 
    975914   /*! 
Note: See TracChangeset for help on using the changeset viewer.