Changeset 924 for XIOS/trunk/src/node/mesh.hpp
- Timestamp:
- 09/02/16 09:41:27 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/mesh.hpp
r900 r924 9 9 10 10 #include "array_new.hpp" 11 #include "client_client_dht_template_impl.hpp"12 11 #include "dht_auto_indexing.hpp" 13 12 … … 32 31 ~CMesh(void); 33 32 34 int nbNodes; 35 int nbEdges; 36 int nbFaces; 37 int nvertex; 33 int nbNodesGlo; 34 int nbEdgesGlo; 35 36 int node_start; 37 int node_count; 38 int edge_start; 39 int edge_count; 38 40 39 41 bool nodesAreWritten; … … 56 58 57 59 void createMesh(const CArray<double, 1>&, const CArray<double, 1>&, 58 const CArray<double, 2>&, const CArray<double, 2>& );60 const CArray<double, 2>&, const CArray<double, 2>& ); 59 61 60 void createMeshEpsilon(const MPI_Comm&, const CArray<double, 1>&, const CArray<double, 1>&, 61 const CArray<double, 2>&, const CArray<double, 2>& ); 62 void createMeshEpsilon(const MPI_Comm&, 63 const CArray<double, 1>&, const CArray<double, 1>&, 64 const CArray<double, 2>&, const CArray<double, 2>& ); 62 65 63 static CMesh* getMesh(StdString );66 static CMesh* getMesh(StdString, int); 64 67 65 68 private: 66 69 70 int nbNodes; 71 int nbEdges; 72 int nbFaces; 73 67 74 static std::map <StdString, CMesh> meshList; 68 vector<size_t> createHashes (double, double); 75 static std::map <StdString, vector<int> > domainList; 76 CClientClientDHTSizet* pNodeGlobalIndex; // pointer to a map <nodeHash, nodeIdxGlo> 77 CClientClientDHTSizet* pEdgeGlobalIndex; // pointer to a map <edgeHash, edgeIdxGlo> 78 79 vector<size_t> createHashes (const double, const double); 69 80 70 81 size_t nodeIndex (double, double); // redundant in parallel version with epsilon precision
Note: See TracChangeset
for help on using the changeset viewer.