Ignore:
Timestamp:
04/12/17 11:55:38 (7 years ago)
Author:
yushan
Message:

save modif from local. context_init/finalize OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/object_template.hpp

    r1085 r1087  
    9898         /// Propriétés statiques /// 
    9999         // bkp 
    100          static xios_map<StdString, 
    101                 xios_map<StdString, 
    102                 boost::shared_ptr<DerivedType> > > AllMapObj; 
    103          static xios_map<StdString, 
    104                 std::vector<boost::shared_ptr<DerivedType> > > AllVectObj; 
     100         // static xios_map<StdString, 
     101         //        xios_map<StdString, 
     102         //        boost::shared_ptr<DerivedType> > > AllMapObj; 
     103         // static xios_map<StdString, 
     104         //        std::vector<boost::shared_ptr<DerivedType> > > AllVectObj; 
    105105 
    106          static xios_map< StdString, long int > GenId ; 
     106         // static xios_map< StdString, long int > GenId ; 
    107107 
    108108         // xios_map<StdString, xios_map<StdString, boost::shared_ptr<DerivedType> > > AllMapObj; 
     
    110110         // xios_map< StdString, long int > GenId ; 
    111111 
    112          // static xios_map<StdString, xios_map<StdString, boost::shared_ptr<DerivedType> > > *AllMapObj_ptr; 
    113          // static xios_map<StdString, std::vector<boost::shared_ptr<DerivedType> > > *AllVectObj_ptr; 
    114          // static xios_map< StdString, long int > *GenId_ptr ; 
     112         static xios_map<StdString, xios_map<StdString, boost::shared_ptr<DerivedType> > > *AllMapObj; 
     113         static xios_map<StdString, std::vector<boost::shared_ptr<DerivedType> > > *AllVectObj; 
     114         static xios_map< StdString, long int > *GenId; 
    115115 
    116          // #pragma omp threadprivate(AllMapObj_ptr, AllVectObj_ptr, GenId_ptr) 
    117  
     116         #pragma omp threadprivate(AllMapObj, AllVectObj, GenId) 
    118117 
    119118   }; // class CObjectTemplate 
Note: See TracChangeset for help on using the changeset viewer.