35 #ifndef NEKTAR_LIB_UTILITIES_MESHPARTITIONMETIS_H
36 #define NEKTAR_LIB_UTILITIES_MESHPARTITIONMETIS_H
46 namespace LibUtilities
81 const SCOTCH_Num *
const n,
82 const SCOTCH_Num *
const xadj,
83 const SCOTCH_Num *
const adjncy,
84 const SCOTCH_Num *
const vwgt,
85 const SCOTCH_Num *
const vsize,
86 const SCOTCH_Num *
const wgtflag,
87 const SCOTCH_Num *
const numflag,
88 const SCOTCH_Num *
const nparts,
89 const SCOTCH_Num *
const options,
90 SCOTCH_Num *
const volume,
91 SCOTCH_Num *
const part);
94 const SCOTCH_Num *
const n,
95 const SCOTCH_Num *
const xadj,
96 const SCOTCH_Num *
const adjncy,
97 const SCOTCH_Num *
const vwgt,
98 const SCOTCH_Num *
const adjwgt,
99 const SCOTCH_Num *
const numflag,
100 const SCOTCH_Num *
const nparts,
101 SCOTCH_Num *
const part,
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
static std::string cmdSwitch
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, Nektar::Array< Nektar::OneD, int > &edgeWgt, int &nparts, int &volume, Nektar::Array< Nektar::OneD, int > &part)
boost::shared_ptr< MeshPartition > MeshPartitionSharedPtr
static MeshPartitionSharedPtr create(const SessionReaderSharedPtr &pSession)
Creates an instance of this class.
virtual ~MeshPartitionScotch()
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
MeshPartitionScotch(const SessionReaderSharedPtr &pSession)
int PartGraph2(const SCOTCH_Num *const n, const SCOTCH_Num *const xadj, const SCOTCH_Num *const adjncy, const SCOTCH_Num *const vwgt, const SCOTCH_Num *const adjwgt, const SCOTCH_Num *const numflag, const SCOTCH_Num *const nparts, SCOTCH_Num *const part, SCOTCH_Num flagval, double kbalval)
static std::string className
Name of class.
void PartGraphVKway(const SCOTCH_Num *const n, const SCOTCH_Num *const xadj, const SCOTCH_Num *const adjncy, const SCOTCH_Num *const vwgt, const SCOTCH_Num *const vsize, const SCOTCH_Num *const wgtflag, const SCOTCH_Num *const numflag, const SCOTCH_Num *const nparts, const SCOTCH_Num *const options, SCOTCH_Num *const volume, SCOTCH_Num *const part)