35 #ifndef NEKTAR_LIB_UTILITIES_MESHPARTITIONMETIS_H
36 #define NEKTAR_LIB_UTILITIES_MESHPARTITIONMETIS_H
46 namespace LibUtilities
80 const SCOTCH_Num *
const n,
81 const SCOTCH_Num *
const xadj,
82 const SCOTCH_Num *
const adjncy,
83 const SCOTCH_Num *
const vwgt,
84 const SCOTCH_Num *
const vsize,
85 const SCOTCH_Num *
const wgtflag,
86 const SCOTCH_Num *
const numflag,
87 const SCOTCH_Num *
const nparts,
88 const SCOTCH_Num *
const options,
89 SCOTCH_Num *
const volume,
90 SCOTCH_Num *
const part);
93 const SCOTCH_Num *
const n,
94 const SCOTCH_Num *
const xadj,
95 const SCOTCH_Num *
const adjncy,
96 const SCOTCH_Num *
const vwgt,
97 const SCOTCH_Num *
const adjwgt,
98 const SCOTCH_Num *
const numflag,
99 const SCOTCH_Num *
const nparts,
100 SCOTCH_Num *
const part,
static boost::shared_ptr< DataType > AllocateSharedPtr()
Allocate a shared pointer from the memory pool.
static std::string cmdSwitch
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)
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)
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)