Changeset 900 for XIOS/trunk/src/node/mesh.hpp
- Timestamp:
- 07/13/16 17:56:22 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/mesh.hpp
r881 r900 9 9 10 10 #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" 12 13 13 14 namespace xios { … … 35 36 int nbFaces; 36 37 int nvertex; 37 38 38 39 bool nodesAreWritten; 39 40 bool edgesAreWritten; … … 50 51 CArray<double, 1> face_lat; 51 52 CArray<int, 2> face_nodes; 53 CArray<int, 2> face_edges; 54 CArray<int, 2> edge_faces; 55 CArray<int, 2> face_faces; 52 56 53 57 void createMesh(const CArray<double, 1>&, const CArray<double, 1>&, 54 58 const CArray<double, 2>&, const CArray<double, 2>& ); 55 59 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>&, 57 61 const CArray<double, 2>&, const CArray<double, 2>& ); 58 62 … … 62 66 63 67 static std::map <StdString, CMesh> meshList; 68 vector<size_t> createHashes (double, double); 64 69 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 69 74 70 75 };
Note: See TracChangeset
for help on using the changeset viewer.