Ignore:
Timestamp:
07/13/16 17:56:22 (8 years ago)
Author:
oabramkina
Message:

Sequential version of new functionalities for mesh connectivity:

edge_faces
face_edges
face_face.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/node/mesh.hpp

    r881 r900  
    99  
    1010#include "array_new.hpp" 
    11 #include "client_client_dht_template.hpp" 
     11#include "client_client_dht_template_impl.hpp" 
     12#include "dht_auto_indexing.hpp" 
    1213 
    1314namespace xios { 
     
    3536      int nbFaces; 
    3637      int nvertex;   
    37        
     38 
    3839      bool nodesAreWritten; 
    3940      bool edgesAreWritten; 
     
    5051      CArray<double, 1> face_lat; 
    5152      CArray<int, 2> face_nodes; 
     53      CArray<int, 2> face_edges; 
     54      CArray<int, 2> edge_faces; 
     55      CArray<int, 2> face_faces; 
    5256 
    5357      void createMesh(const CArray<double, 1>&, const CArray<double, 1>&,  
    5458            const CArray<double, 2>&, const CArray<double, 2>& ); 
    5559                         
    56       void createMeshEpsilon(const CArray<double, 1>&, const CArray<double, 1>&, 
     60      void createMeshEpsilon(const MPI_Comm&, const CArray<double, 1>&, const CArray<double, 1>&, 
    5761            const CArray<double, 2>&, const CArray<double, 2>& ); 
    5862             
     
    6266 
    6367      static std::map <StdString, CMesh> meshList; 
     68      vector<size_t> createHashes (double, double); 
    6469 
    65       size_t nodeIndex (double, double);       
    66       boost::unordered_map <size_t, size_t> hashed_map_nodes; 
    67       boost::unordered_map <pair<double,double>, int> map_nodes; 
    68       boost::unordered_map <pair<int,int>, int> map_edges; 
     70      size_t nodeIndex (double, double);                           // redundant in parallel version with epsilon precision 
     71      boost::unordered_map <size_t, size_t> hashed_map_nodes;      // redundant in parallel version with epsilon precision 
     72      boost::unordered_map <pair<double,double>, int> map_nodes;   // redundant in parallel version with epsilon precision 
     73      boost::unordered_map <pair<int,int>, int> map_edges;         // redundant in parallel version with epsilon precision 
    6974 
    7075  };  
Note: See TracChangeset for help on using the changeset viewer.