EpetraExt::ZoltanQuery Class Reference

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

#include <EpetraExt_ZoltanQuery.h>

Inheritance diagram for EpetraExt::ZoltanQuery:

[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)

Private Attributes

const Epetra_CrsGraphgraph_
const Epetra_CrsGraphtgraph_
std::vector< std::vector<
int > > 
LBProc_
std::vector< std::vector<
int > > 
LBProc_Trans_
const bool localEdgesOnly_

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.


Member Data Documentation

const Epetra_CrsGraph& EpetraExt::ZoltanQuery::graph_ [private]
 

Definition at line 50 of file EpetraExt_ZoltanQuery.h.

const Epetra_CrsGraph* EpetraExt::ZoltanQuery::tgraph_ [private]
 

Definition at line 51 of file EpetraExt_ZoltanQuery.h.

std::vector< std::vector<int> > EpetraExt::ZoltanQuery::LBProc_ [private]
 

Definition at line 53 of file EpetraExt_ZoltanQuery.h.

std::vector< std::vector<int> > EpetraExt::ZoltanQuery::LBProc_Trans_ [private]
 

Definition at line 54 of file EpetraExt_ZoltanQuery.h.

const bool EpetraExt::ZoltanQuery::localEdgesOnly_ [private]
 

Definition at line 56 of file EpetraExt_ZoltanQuery.h.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:32:07 2008 for EpetraExt Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1