Skip to content

Commit

Permalink
Structured mesh with overlapping partitioning
Browse files Browse the repository at this point in the history
Small changes
  • Loading branch information
kyrillh committed Apr 17, 2024
1 parent 99b2f87 commit a89d5d1
Show file tree
Hide file tree
Showing 6 changed files with 757 additions and 487 deletions.
2 changes: 2 additions & 0 deletions feddlib/core/FE/Domain_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ class Domain {
*/
LO getNumPoints(std::string type="Unique") const;/*local*/

int getNumProcsCoarseSolve() const;/*local*/

/*!
\brief Checks geometriy
@param[in] MeshType
Expand Down
5 changes: 5 additions & 0 deletions feddlib/core/FE/Domain_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,11 @@ LO Domain<SC,LO,GO,NO>::getNumPoints(std::string type) const{
return mesh_->getNumPoints(type);
}

template <class SC, class LO, class GO, class NO>
int Domain<SC,LO,GO,NO>::getNumProcsCoarseSolve() const{
return numProcsCoarseSolve_;
}

template <class SC, class LO, class GO, class NO>
int Domain<SC,LO,GO,NO>::checkGeomentry(std::string meshType, int dim) const{

Expand Down
7 changes: 7 additions & 0 deletions feddlib/core/Mesh/MeshPartitioner_decl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ class MeshPartitioner {
*/
void readMesh(const int volumeID = 10);

/**
* \brief Build dual graph of the mesh provided where the mesh distributed
* Essentialy a wrapper of the metis function METIS_MeshToDual()
* Note: CSR (compressed sparse row), CRS (compressed row storage), Yale format are all the same
*/
void buildOverlappingDualGraphFromDistributed(const int meshNumber, const int overlap);

/**
* \brief Build dual graph of the mesh provided
* Essentialy a wrapper of the metis function METIS_MeshToDual()
Expand Down
Loading

0 comments on commit a89d5d1

Please sign in to comment.