Ignore:
Timestamp:
02/21/17 08:40:09 (7 years ago)
Author:
yushan
Message:

one file mode OK. Tested with test_client

Location:
XIOS/dev/branch_yushan/src/node
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/node/context.cpp

    r1053 r1056  
    2020  shared_ptr<CContextGroup> CContext::root; 
    2121 
    22    /// ////////////////////// Définitions ////////////////////// /// 
     22   /// ////////////////////// Dfinitions ////////////////////// /// 
    2323 
    2424   CContext::CContext(void) 
     
    177177      if (!this->hasChild()) 
    178178      { 
    179          //oss << "<!-- No definition -->" << std::endl; // fait planter l'incrémentation 
     179         //oss << "<!-- No definition -->" << std::endl; // fait planter l'incrmentation 
    180180      } 
    181181      else 
     
    404404     setClientServerBuffer(); //printf("myRank = %d, setClientServerBuffer OK\n", myRank); 
    405405 
     406     //printf("hasClient = %d, hasServer = %d\n", hasClient, hasServer); 
     407 
    406408     if (hasClient && !hasServer) 
    407409     { 
     
    550552   void CContext::solveAllInheritance(bool apply) 
    551553   { 
    552      // Résolution des héritages descendants (càd des héritages de groupes) 
     554     // Rsolution des hritages descendants (cd des hritages de groupes) 
    553555     // pour chacun des contextes. 
    554556      solveDescInheritance(apply); 
    555557 
    556      // Résolution des héritages par référence au niveau des fichiers. 
     558     // Rsolution des hritages par rfrence au niveau des fichiers. 
    557559      const vector<CFile*> allFiles=CFile::getAll(); 
    558560      const vector<CGrid*> allGrids= CGrid::getAll(); 
     
    577579 
    578580      for (unsigned int i = 0; i < allFiles.size(); i++) 
    579          if (!allFiles[i]->enabled.isEmpty()) // Si l'attribut 'enabled' est défini. 
     581         if (!allFiles[i]->enabled.isEmpty()) // Si l'attribut 'enabled' est dfini. 
    580582         { 
    581             if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fixé à vrai. 
     583            if (allFiles[i]->enabled.getValue()) // Si l'attribut 'enabled' est fix  vrai. 
    582584               enabledFiles.push_back(allFiles[i]); 
    583585         } 
     
    586588 
    587589      if (enabledFiles.size() == 0) 
    588          DEBUG(<<"Aucun fichier ne va être sorti dans le contexte nommé \"" 
     590         DEBUG(<<"Aucun fichier ne va tre sorti dans le contexte nomm \"" 
    589591               << getId() << "\" !"); 
    590592   } 
     
    827829      prepareTimeseries();  //printf("myRank = %d, prepareTimeseries OK\n", myRank); 
    828830 
    829       //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers à sortir. 
     831      //Initialisation du vecteur 'enabledFiles' contenant la liste des fichiers sortir. 
    830832      this->findEnabledFiles();  //printf("myRank = %d, this->findEnabledFiles OK\n", myRank); 
    831833      this->findEnabledReadModeFiles();  //printf("myRank = %d, this->findEnabledReadModeFiles OK\n", myRank); 
  • XIOS/dev/branch_yushan/src/node/field_impl.hpp

    r1053 r1056  
    2020    if (clientSourceFilter) 
    2121    { 
    22       printf("file_impl.hpp : clientSourceFilter->streamData\n"); 
    2322      clientSourceFilter->streamData(CContext::getCurrent()->getCalendar()->getCurrentDate(), _data); 
    24       printf("file_impl.hpp : clientSourceFilter->streamData OKOK\n"); 
    2523    } 
    2624    else if (!field_ref.isEmpty() || !content.empty()) 
Note: See TracChangeset for help on using the changeset viewer.