Nektar++
|
#include <MeshPartitionMetis.h>
Public Member Functions | |
MeshPartitionMetis (const SessionReaderSharedPtr &pSession) | |
virtual | ~MeshPartitionMetis () |
Public Member Functions inherited from Nektar::LibUtilities::MeshPartition | |
MeshPartition (const SessionReaderSharedPtr &pSession) | |
virtual | ~MeshPartition () |
void | PartitionMesh (int nParts, bool shared=false, bool overlapping=false) |
void | WriteLocalPartition (SessionReaderSharedPtr &pSession) |
void | WriteAllPartitions (SessionReaderSharedPtr &pSession) |
void | PrintPartInfo (std::ostream &out) |
void | GetCompositeOrdering (CompositeOrdering &composites) |
void | GetBndRegionOrdering (BndRegionOrdering &composites) |
void | GetElementIDs (const int procid, std::vector< unsigned int > &tmp) |
Static Public Member Functions | |
static MeshPartitionSharedPtr | create (const SessionReaderSharedPtr &pSession) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
static std::string | cmdSwitch = SessionReader::RegisterCmdLineFlag("use-metis","","Use METIS for mesh partitioning.") |
Private Member Functions | |
virtual void | PartitionGraphImpl (int &nVerts, int &nVertConds, Nektar::Array< Nektar::OneD, int > &xadj, Nektar::Array< Nektar::OneD, int > &adjcy, Nektar::Array< Nektar::OneD, int > &vertWgt, Nektar::Array< Nektar::OneD, int > &vertSize, int &nparts, int &volume, Nektar::Array< Nektar::OneD, int > &part) |
Definition at line 47 of file MeshPartitionMetis.h.
Nektar::LibUtilities::MeshPartitionMetis::MeshPartitionMetis | ( | const SessionReaderSharedPtr & | pSession | ) |
Definition at line 55 of file MeshPartitionMetis.cpp.
|
virtual |
Definition at line 61 of file MeshPartitionMetis.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 51 of file MeshPartitionMetis.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
privatevirtual |
Implements Nektar::LibUtilities::MeshPartition.
Definition at line 66 of file MeshPartitionMetis.cpp.
References Metis::PartGraphVKway().
|
static |
Name of class.
Definition at line 57 of file MeshPartitionMetis.h.
|
static |
Definition at line 58 of file MeshPartitionMetis.h.