Ignore:
Timestamp:
05/12/20 11:52:13 (4 years ago)
Author:
ymipsl
Message:

XIOS coupling branch
Some updates.

First coupling test is beginning to work...

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/group_template_impl.hpp

    r1784 r1875  
    370370 
    371371   template <class U, class V, class W> 
    372    void CGroupTemplate<U, V, W>::sendCreateChild(const string& id, CContextClient* client) 
     372   void CGroupTemplate<U, V, W>::sendCreateChild(const string& id, CContextClient* client, const string& objectId) 
    373373   { 
    374374 
     
    377377    { 
    378378      CMessage msg ; 
    379       msg<<this->getId() ; 
     379      if (objectId.empty()) msg << this->getId(); 
     380      else msg << objectId; 
    380381      msg<<id ; 
    381382      const std::list<int>& ranks = client->getRanksServerLeader(); 
     
    388389 
    389390   template <class U, class V, class W> 
    390    void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id, CContextClient* client) 
     391   void CGroupTemplate<U, V, W>::sendCreateChildGroup(const string& id, CContextClient* client, const string& objectId) 
    391392   { 
    392393     CEventClient event(this->getType(),EVENT_ID_CREATE_CHILD_GROUP) ; 
     
    394395     { 
    395396       CMessage msg ; 
    396        msg<<this->getId() ; 
     397       if (objectId.empty()) msg << this->getId(); 
     398       else msg << objectId; 
    397399       msg<<id ; 
    398400       const std::list<int>& ranks = client->getRanksServerLeader(); 
Note: See TracChangeset for help on using the changeset viewer.