18 #ifndef LIBMESH_PARMETIS_HELPER_H 19 #define LIBMESH_PARMETIS_HELPER_H 29 #ifdef LIBMESH_HAVE_PARMETIS 33 # include "parmetis.h" 37 #endif // LIBMESH_HAVE_PARMETIS 67 #ifdef LIBMESH_HAVE_PARMETIS 74 std::vector<Parmetis::idx_t>
xadj;
79 std::vector<dof_id_type>
part;
83 static_assert(
sizeof(Parmetis::idx_t) ==
sizeof(
dof_id_type),
84 "ParMETIS and libMesh ID sizes must match!");
86 std::vector<Parmetis::real_t>
tpwgts;
87 std::vector<Parmetis::real_t>
ubvec;
89 std::vector<Parmetis::idx_t>
vwgt;
97 #endif // LIBMESH_HAVE_PARMETIS 102 #endif // LIBMESH_PARMETIS_HELPER_H ~ParmetisHelper()=default
std::vector< Parmetis::idx_t > xadj
Pointer-to-implementation class used by ParmetisPartitioner.
std::vector< Parmetis::idx_t > vwgt
std::vector< dof_id_type > part
std::vector< Parmetis::idx_t > vtxdist
std::vector< Parmetis::idx_t > options
std::vector< Parmetis::idx_t > adjncy
std::vector< Parmetis::real_t > ubvec
std::vector< Parmetis::real_t > tpwgts
ParmetisHelper & operator=(const ParmetisHelper &)=default