Changeset 1872 for XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field.hpp
- Timestamp:
- 04/23/20 16:04:22 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/node/field.hpp
r1871 r1872 144 144 145 145 void sendFieldToFileServer(void) ; 146 void sendFieldToInputFileServer(void) ; 146 147 147 148 /// Vérifications /// … … 248 249 249 250 CGrid* grid_=nullptr; 250 CFile* file;251 // CFile* file; 251 252 252 253 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 ;} 254 255 CFile* getFileIn(void) {return fileIn_;} 255 256 void setFileIn(CFile* fileIn) { fileIn_ = fileIn ;} … … 257 258 258 259 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 ;} 260 261 CFile* getFileOut(void) {return fileOut_;} 261 262 void setFileOut(CFile* fileOut) { fileOut_ = fileOut ;} … … 263 264 264 265 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 ;} 266 267 CCouplerIn* getCouplerIn(void) {return couplerIn_;} 267 268 void setCouplerIn(CCouplerIn* couplerIn) { couplerIn_ = couplerIn ;} … … 269 270 270 271 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 ;} 272 273 CCouplerOut* getCouplerOut(void) {return couplerOut_;} 273 274 void setCouplerOut(CCouplerOut* couplerOut) { couplerOut_ = couplerOut ;}
Note: See TracChangeset
for help on using the changeset viewer.