Ignore:
Timestamp:
01/23/19 10:31:44 (5 years ago)
Author:
yushan
Message:

dev on ADA. add flag switch _usingEP/_usingMPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/object_factory.hpp

    r1545 r1642  
    3838         template <typename U> 
    3939            static  const std::vector<std::shared_ptr<U> > & 
    40                GetObjectVector(const StdString & context); 
     40               GetObjectVector(const StdString & context = CObjectFactory::GetCurrentContextId()); 
    4141 
    4242         /// Tests /// 
     
    5858 
    5959         /// Propriétés statiques /// 
    60          static StdString *CurrContext_ptr; 
    61          #pragma omp threadprivate(CurrContext_ptr) 
     60         static StdString CurrContext; 
    6261 
    6362   }; // class CObjectFactory 
Note: See TracChangeset for help on using the changeset viewer.