7 #ifndef cf3_mesh_zoltan_Partitioner_hpp
8 #define cf3_mesh_zoltan_Partitioner_hpp
16 namespace common {
template <
typename KEY,
typename DATA>
class Map;}
44 static std::string
type_name () {
return "Partitioner"; }
50 virtual void partition_graph();
56 Zoltan& zoltan_handle();
58 void set_partitioning_params();
61 static int query_nb_of_objects(
void *data,
int *ierr);
63 static void query_list_of_objects(
void *data,
int sizeGID,
int sizeLID,
64 ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
65 int wgt_dim,
float *obj_wgts,
int *ierr);
67 static void query_nb_connected_objects(
void *data,
int sizeGID,
int sizeLID,
int num_obj,
68 ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
69 int *numEdges,
int *ierr);
71 static void query_list_of_connected_objects(
void *data,
int sizeGID,
int sizeLID,
int num_obj,
72 ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
74 ZOLTAN_ID_PTR nborGID,
int *nborProc,
75 int wgt_dim,
float *ewgts,
int *ierr);
97 boost::shared_ptr<Zoltan>
m_zz;
109 #endif // cf3_mesh_zoltan_Partitioner_hpp
std::string name(ComponentWrapper &self)
virtual void build_graph()
Partitioning functions.
Top-level namespace for coolfluid.
ZOLTAN_ID_PTR importLocalIds
boost::shared_ptr< Zoltan > m_zz
ZOLTAN_ID_PTR exportGlobalIds
ZOLTAN_ID_PTR exportLocalIds
static std::string type_name()
Get the class name.
ZOLTAN_ID_PTR importGlobalIds