Ignore:
Timestamp:
11/16/17 16:20:41 (6 years ago)
Author:
yushan
Message:

dev_omp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/node/mesh.hpp

    r1328 r1331  
    8080      int nbFaces_; 
    8181 
    82       //static std::map <StdString, CMesh> meshList; 
    8382      static std::map <StdString, CMesh> *meshList_ptr; 
    84       //static std::map <StdString, vector<int> > domainList; 
     83      #pragma omp threadprivate(meshList_ptr) 
    8584      static std::map <StdString, vector<int> > *domainList_ptr; 
     85      #pragma omp threadprivate(domainList_ptr) 
    8686      CClientClientDHTSizet* pNodeGlobalIndex;                    // pointer to a map <nodeHash, nodeIdxGlo> 
    8787      CClientClientDHTSizet* pEdgeGlobalIndex;                    // pointer to a map <edgeHash, edgeIdxGlo> 
Note: See TracChangeset for help on using the changeset viewer.