Ignore:
Timestamp:
09/09/16 16:57:43 (8 years ago)
Author:
oabramkina
Message:

Mesh connectivity:

Fixing a bug for UGRID in case meshes containing cells with different number of vertexes.

Function for determining face neighbors of a local domain added.

File:
1 edited

Legend:

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

    r924 r929  
    5757      CArray<int, 2> face_faces; 
    5858 
    59       void createMesh(const CArray<double, 1>&, const CArray<double, 1>&,  
     59      void createMesh(const CArray<double, 1>&, const CArray<double, 1>&, 
    6060                      const CArray<double, 2>&, const CArray<double, 2>& ); 
    6161                         
     
    6363                             const CArray<double, 1>&, const CArray<double, 1>&, 
    6464                             const CArray<double, 2>&, const CArray<double, 2>& ); 
     65 
     66      void getDomainExtended(const int, const MPI_Comm&, 
     67                              const CArray<double, 2>&, const CArray<double, 2>&, 
     68                              CArray<int, 2>&); 
    6569             
    6670      static CMesh* getMesh(StdString, int); 
     
    6872    private: 
    6973 
    70       int nbNodes; 
    71       int nbEdges; 
    72       int nbFaces; 
     74      int nbNodes_; 
     75      int nbEdges_; 
     76      int nbFaces_; 
    7377 
    7478      static std::map <StdString, CMesh> meshList; 
     
    7680      CClientClientDHTSizet* pNodeGlobalIndex;                    // pointer to a map <nodeHash, nodeIdxGlo> 
    7781      CClientClientDHTSizet* pEdgeGlobalIndex;                    // pointer to a map <edgeHash, edgeIdxGlo> 
     82      void getNghbFacesNodeType(const MPI_Comm&, const CArray<double, 2>&, const CArray<double, 2>&, CArray<int, 2>&); 
     83      void getNghbFacesEdgeType(const MPI_Comm&, const CArray<double, 2>&, const CArray<double, 2>&, CArray<int, 2>&); 
    7884 
    7985      vector<size_t> createHashes (const double, const double); 
Note: See TracChangeset for help on using the changeset viewer.