35 ZOLTAN_ID_TYPE *vertexGID;
37 ZOLTAN_ID_TYPE *nborGID;
41 struct Zoltan_DD_Struct *dd;
46 void Setup (
bool mark_boundary=
true);
47 void NodeToElementMap (
int **nndel,
int ***ndel)
const;
48 GraphData *GetGraphData() {
return &myGraph; }
49 void Partition (
struct Zoltan_Struct *zz);
50 void Migrate (
struct Zoltan_Struct *zz);
51 Zoltan_DD_Struct *ZoltanDictionary () {
return myGraph.dd; }
52 int GetOwnedElements (
int **_ellist)
const
53 { *_ellist = ellist;
return nel; }
54 int GetNodeTypeList (
int **_ntp)
const { *_ntp = nodeType; }
61 int *Parts()
const {
return parts; }
62 ZOLTAN_ID_PTR Lids()
const {
return lids; }
65 void ComputeNodeToElementMap (
int **nndel,
int ***ndel)
const;
66 void ClearNodeToElementMap ();
67 void ComputeElementList (ZOLTAN_ID_TYPE *gid,
int ngid,
68 int **_ellist,
int *_nel)
const;
69 void ComputeNodeTypeList (
int **ntype)
const;
70 void ComputePartition (GraphData *graph);
71 void CreateZoltanDictionary ();
75 static int Zoltan_get_number_of_vertices (
void *data,
int *ierr);
76 static void Zoltan_get_vertex_list (
void *data,
int sizeGID,
int sizeLID,
77 ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
int wgt_dim,
78 float *obj_wgts,
int *ierr);
79 static void Zoltan_get_num_edges_list (
void *data,
int sizeGID,
int sizeLID,
80 int num_obj, ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
81 int *numEdges,
int *ierr);
82 static void Zoltan_get_edge_list (
void *data,
int sizeGID,
int sizeLID,
83 int num_obj, ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
84 int *num_edges, ZOLTAN_ID_PTR nborGID,
int *nborPart,
85 int wgt_dim,
float *ewgts,
int *ierr);
86 static void Zoltan_get_message_sizes (
void *data,
int gidSize,
int lidSize,
87 int num_ids, ZOLTAN_ID_PTR globalID, ZOLTAN_ID_PTR localID,
int *sizes,
89 static void Zoltan_pack_object_messages (
void *data,
int gidSize,
90 int lidSize,
int num_ids, ZOLTAN_ID_PTR globalIDs,
91 ZOLTAN_ID_PTR localIDs,
int *dests,
int *sizes,
int *idx,
char *buf,
93 static void Zoltan_unpack_object_messages (
void *data,
int gidSize,
94 int num_ids, ZOLTAN_ID_PTR globalIDs,
int *size,
int *idx,
char *buf,
96 static void Zoltan_mid_migrate (
void *data,
int gidSize,
int lidSize,
97 int numImport, ZOLTAN_ID_PTR importGlobalID,
98 ZOLTAN_ID_PTR importLocalID,
int *importProc,
int *importPart,
99 int numExport, ZOLTAN_ID_PTR exportGlobalID,
100 ZOLTAN_ID_PTR exportLocalID,
int *exportProc,
int *exportPart,
116 int changes, numGidEntries, numLidEntries, numImport, numExport;
117 ZOLTAN_ID_PTR importGlobalGids, importLocalGids, exportGlobalGids,
119 int *importProcs, *importToPart, *exportProcs, *exportToPart;
122 #endif // !__MESH_MPI_H
Templated vector class.
Definition: vector.h:39
Definition: mesh_mpi.h:32
Distributed compressed-row sparse matrix class.
Definition: crmatrix_mpi.h:33
Finite-element mesh management.
Definition: mesh_mpi.h:30