EpetraExt::ZoltanQuery Class Reference

Query helper object to be used form Zoltan partitioning/ordering. More...

#include <EpetraExt_ZoltanQuery.h>

Inheritance diagram for EpetraExt::ZoltanQuery:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ZoltanQuery (const Epetra_CrsGraph &graph, const Epetra_CrsGraph *tgraph=0, bool localEdgesOnly=false)
 Constructor.
int Number_Objects (void *data, int *ierr)
 Supports ZOLTAN_NUM_OBJ_FN_TYPE.
void Object_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int weight_dim, float *object_weights, int *ierr)
 Supports ZOLTAN_OBJ_LIST_FN_TYPE.
int Number_Edges (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, int *ierr)
 Supports ZOLTAN_NUM_EDGES_FN_TYPE.
void Edge_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, ZOLTAN_ID_PTR neighbor_global_ids, int *neighbor_procs, int weight_dim, float *edge_weights, int *ierr)
 Supports ZOLTAN_EDGE_LIST_FN_TYPE.
int Number_HG_Edges (void *data, int *ierr)
int Number_HG_Pins (void *data, int *ierr)
int HG_Edge_List (void *data, int num_gid_entries, int ewgt_dim, int nedge, int maxsize, int *edge_sizes, ZOLTAN_ID_PTR edge_verts, int *edge_procs, float *edge_weights)

Detailed Description

Query helper object to be used form Zoltan partitioning/ordering.

This object allows Zoltan to query an Epetra_CrsGraph object for it's partitioning/ordering algorithms

Definition at line 47 of file EpetraExt_ZoltanQuery.h.


Constructor & Destructor Documentation

EpetraExt::ZoltanQuery::ZoltanQuery ( const Epetra_CrsGraph graph,
const Epetra_CrsGraph tgraph = 0,
bool  localEdgesOnly = false 
)

Constructor.

Definition at line 37 of file EpetraExt_ZoltanQuery.cpp.


Member Function Documentation

int EpetraExt::ZoltanQuery::Number_Objects ( void *  data,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_OBJ_FN_TYPE.

Reimplemented from Zoltan::QueryObject.

Definition at line 90 of file EpetraExt_ZoltanQuery.cpp.

void EpetraExt::ZoltanQuery::Object_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_ids,
ZOLTAN_ID_PTR  local_ids,
int  weight_dim,
float *  object_weights,
int *  ierr 
) [virtual]

Supports ZOLTAN_OBJ_LIST_FN_TYPE.

Reimplemented from Zoltan::QueryObject.

Definition at line 98 of file EpetraExt_ZoltanQuery.cpp.

int EpetraExt::ZoltanQuery::Number_Edges ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_EDGES_FN_TYPE.

Reimplemented from Zoltan::QueryObject.

Definition at line 119 of file EpetraExt_ZoltanQuery.cpp.

void EpetraExt::ZoltanQuery::Edge_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
ZOLTAN_ID_PTR  neighbor_global_ids,
int *  neighbor_procs,
int  weight_dim,
float *  edge_weights,
int *  ierr 
) [virtual]

Supports ZOLTAN_EDGE_LIST_FN_TYPE.

Reimplemented from Zoltan::QueryObject.

Definition at line 185 of file EpetraExt_ZoltanQuery.cpp.

int EpetraExt::ZoltanQuery::Number_HG_Edges ( void *  data,
int *  ierr 
)

Definition at line 261 of file EpetraExt_ZoltanQuery.cpp.

int EpetraExt::ZoltanQuery::Number_HG_Pins ( void *  data,
int *  ierr 
)

Definition at line 271 of file EpetraExt_ZoltanQuery.cpp.

int EpetraExt::ZoltanQuery::HG_Edge_List ( void *  data,
int  num_gid_entries,
int  ewgt_dim,
int  nedge,
int  maxsize,
int *  edge_sizes,
ZOLTAN_ID_PTR  edge_verts,
int *  edge_procs,
float *  edge_weights 
)

Definition at line 281 of file EpetraExt_ZoltanQuery.cpp.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:24:50 2010 for EpetraExt by  doxygen 1.4.7