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/declare_attribute.hpp

    r1229 r1875  
    4242      public :                                                    \ 
    4343         using CAttributeArray<T_num, T_rank>::operator = ;       \ 
    44          name##_attr(void) : CAttributeArray<T_num, T_rank> (#name, *CAttributeMap::Current) {} \ 
     44         bool alwaysFalse=false;\ 
     45         name##_attr(void) : CAttributeArray<T_num, T_rank> (#name, *CAttributeMap::Current) {if (alwaysFalse) TV_ttf_display_type(this);} \ 
    4546         virtual bool doSend() const { return helper(__VA_ARGS__); }   \ 
    4647         bool helper(bool returnTrue=true) const { return returnTrue; }   \ 
     48         static int TV_ttf_display_type ( const name##_attr* array )\ 
     49         {\ 
     50           cout<<"TV_ttf_display_type"<<endl ;\ 
     51           return CArray<T_num,T_rank>::TV_ttf_display_type((const CArray<T_num,T_rank>*)array) ;\ 
     52         }\ 
    4753         virtual ~name##_attr(void) {}                            \ 
    4854   } name; 
Note: See TracChangeset for help on using the changeset viewer.