Ignore:
Timestamp:
04/23/20 16:04:22 (4 years ago)
Author:
ymipsl
Message:

Some update on XIOS_COUPLING branch...

YM

File:
1 edited

Legend:

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

    r1871 r1872  
    144144 
    145145         void sendFieldToFileServer(void) ; 
     146         void sendFieldToInputFileServer(void) ; 
    146147 
    147148         /// Vérifications /// 
     
    248249 
    249250         CGrid*  grid_=nullptr; 
    250          CFile*  file; 
     251//         CFile*  file; 
    251252          
    252253         CFile* fileIn_ = nullptr ; //<! pointer to input related file 
    253          bool hasFileIn(void) { return fileIn_==nullptr ? false : true ;} 
     254         bool hasFileIn(void) const { return fileIn_==nullptr ? false : true ;}  
    254255         CFile* getFileIn(void) {return fileIn_;} 
    255256         void setFileIn(CFile* fileIn) { fileIn_ = fileIn ;} 
     
    257258 
    258259         CFile* fileOut_ = nullptr ; //<! pointer to output related file 
    259          bool hasFileOut(void) { return fileOut_==nullptr ? false : true ;} 
     260         bool hasFileOut(void) const { return fileOut_==nullptr ? false : true ;}  
    260261         CFile* getFileOut(void) {return fileOut_;} 
    261262         void setFileOut(CFile* fileOut) { fileOut_ = fileOut ;} 
     
    263264 
    264265         CCouplerIn* couplerIn_ = nullptr ; //<!pointer to input related coupler 
    265          bool hasCouplerIn(void) { return couplerIn_==nullptr ? false : true ;} 
     266         bool hasCouplerIn(void) const { return couplerIn_==nullptr ? false : true ;} 
    266267         CCouplerIn* getCouplerIn(void) {return couplerIn_;} 
    267268         void setCouplerIn(CCouplerIn* couplerIn) { couplerIn_ = couplerIn ;} 
     
    269270 
    270271         CCouplerOut* couplerOut_ = nullptr ; //<!pointer to output related coupler 
    271          bool hasCouplerOut(void) { return couplerOut_==nullptr ? false : true ;} 
     272         bool hasCouplerOut(void) const { return couplerOut_==nullptr ? false : true ;} 
    272273         CCouplerOut* getCouplerOut(void) {return couplerOut_;} 
    273274         void setCouplerOut(CCouplerOut* couplerOut) { couplerOut_ = couplerOut ;} 
Note: See TracChangeset for help on using the changeset viewer.