Ignore:
Timestamp:
11/19/18 15:52:54 (5 years ago)
Author:
yushan
Message:

branch_openmp merged with trunk r1597

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/filter/spatial_transform_filter.hpp

    r1542 r1601  
    141141 
    142142      //! The allocated engines 
    143       static std::map<CGridTransformation*, std::shared_ptr<CSpatialTransformFilterEngine> > engines; 
     143 
     144      static std::map<CGridTransformation*, std::shared_ptr<CSpatialTransformFilterEngine> > *engines_ptr; 
     145      #pragma omp threadprivate(engines_ptr) 
    144146  }; // class CSpatialTransformFilterEngine 
    145147} // namespace xios 
Note: See TracChangeset for help on using the changeset viewer.