|
Isorropia: Partitioning, Load Balancing and more
|
QueryObject is a class that contains the query functions required by the Zoltan library. More...
#include <Isorropia_TpetraQueryObject.hpp>
Public Member Functions | |
| QueryObject (Teuchos::RCP< const ::Tpetra::CrsGraph< int, int, Node > > graph, Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > costs, int inputType) | |
| Constructor. | |
| QueryObject (Teuchos::RCP< const ::Tpetra::RowMatrix< double, int, int, Node > > matrix, Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > costs, int inputType) | |
| Constructor. | |
| QueryObject (Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > coords, Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > weights) | |
| Constructor. | |
| QueryObject (Teuchos::RCP< const ::Tpetra::CrsGraph< int, int, Node > > graph, Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > costs, Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > coords, Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > weights, int inputType) | |
| Constructor. | |
| QueryObject (Teuchos::RCP< const ::Tpetra::RowMatrix< double, int, int, Node > > matrix, Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > costs, Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > coords, Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > weights, int inputType) | |
| Constructor. | |
| QueryObject (Teuchos::RCP< const ::Tpetra::Map< int, int, Node > > inputMap, int inputType) | |
| Constructor. | |
| virtual | ~QueryObject () |
| Destructor. | |
| const ::Tpetra::Map< int, int, Node > & | RowMap (void) |
| Return the map associated with the object to be partitioned. | |
| bool | haveVertexWeights () |
| Return true if any of the processes in the application have defined vertex weights. | |
| bool | haveGraphEdgeWeights () |
| Return true if any of the processes in the application have defined graph edge weights. | |
| bool | haveHypergraphEdgeWeights () |
| Return true if any of the processes in the application have defined hypergraph edge weights. | |
Static Public Member Functions | |
| static int | Number_Objects (void *data, int *ierr) |
| The interface to a particular QueryObject's My_Number_Objects query function. | |
| static 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) |
| The interface to a particular QueryObject's My_Object_List query function. | |
| static void | Number_Edges_Multi (void *data, int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *num_edges, int *ierr) |
| The interface to a particular QueryObject's My_Number_Edges_Multi query function. | |
| static void | Edge_List_Multi (void *data, int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *num_edges, ZOLTAN_ID_PTR neighbor_global_ids, int *neighbor_procs, int weight_dim, float *edge_weights, int *ierr) |
| The interface to a particular QueryObject's My_Edges_Multi query function. | |
| static void | HG_Size_CS (void *data, int *num_lists, int *num_pins, int *format, int *ierr) |
| The interface to a particular QueryObject's My_HG_Size_CS query function. | |
| static void | HG_CS (void *data, int num_gid_entries, int num_row_or_col, int num_pins, int format, ZOLTAN_ID_PTR vtxedge_GID, int *vtxedge_ptr, ZOLTAN_ID_PTR pin_GID, int *ierr) |
| The interface to a particular QueryObject's My_HG_CS query function. | |
| static void | HG_Size_Edge_Weights (void *data, int *num_edges, int *ierr) |
| The interface to a particular QueryObject's My_HG_Size_Edge_Weights query function. | |
| static void | HG_Edge_Weights (void *data, int num_gid_entries, int num_lid_entries, int num_edges, int edge_weight_dim, ZOLTAN_ID_PTR edge_GID, ZOLTAN_ID_PTR edge_LID, float *edge_weights, int *ierr) |
| The interface to a particular QueryObject's My_HG_Edge_Weights query function. | |
| static int | Number_Geom (void *data, int *ierr) |
| The interface to a particular QueryObject's My_Number_Geom query function. | |
| static void | Geom_Multi (void *data, int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int num_dim, double *geom_vec, int *ierr) |
| The interface to a particular QueryObject's My_Geom_Multi query function. | |
Public Attributes | |
| int | input_type_ |
| The input_type_ indicates how the object to be partitioned is to be interpreted - as a graph or a hypergraph for row partitioning, as a hypergraph for fine-grain partitioning, or as a list of coordinates for geometric partitioning. | |
Static Public Attributes | |
| static const int | hgraph_input_ = 1 |
| input_type_ == hgraph_input_. | |
| static const int | hgraph2d_finegrain_input_ = 2 |
| input_type_ == hgraph2d_finegrain_input_. | |
| static const int | graph_input_ = 3 |
| input_type_ == graph_input_. | |
| static const int | geometric_input_ = 4 |
| input_type_ == geometric_input_. | |
| static const int | hgraph_graph_input_ = 5 |
| input_type_ == hgraph_graph_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph (see above). | |
| static const int | hgraph_geometric_input_ = 6 |
| input_type_ == hgraph_geometric_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph (see above). | |
| static const int | graph_geometric_input_ = 7 |
| input_type_ == graph_geometric_input_ This indicates that the Tpetra::MultiVector represents graph and has geometric coordinates (see above). | |
| static const int | hgraph_graph_geometric_input_ = 8 |
| input_type_ == hgraph_graph_geometric_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph and has geometric coordinates(see above). | |
| static const int | simple_input_ = 9 |
| input_type_ == simple_input_ This indicates that a simple method (block, cyclic, or random) will be used. | |
| static const int | unspecified_input_ = 10 |
| input_type_ == unspecified_input_. | |
Private Member Functions | |
| void | fill_procmap () |
| int | My_Number_Objects (int *ierr) |
| My_Number_Objects() returns the number of objects currently assigned to this process. | |
| void | My_Object_List (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) |
| My_ObjectList() returns to Zoltan the global ID and weight of the objects currently assigned to this process. | |
| void | My_Number_Edges_Multi (int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *num_edges, int *ierr) |
| My_Number_Edges_Multi() is a query function used for graph partitioning only. | |
| void | My_Edge_List_Multi (int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *num_edges, ZOLTAN_ID_PTR neighbor_global_ids, int *neighbor_procs, int weight_dim, float *edge_weights, int *ierr) |
| My_Edge_List_Multi() is a query function used for graph partitioning only. | |
| void | My_HG_Size_CS (int *num_lists, int *num_pins, int *format, int *ierr) |
| My_HG_Size_CS() is a query function used for hypergraph partitioning only. | |
| void | My_HG_CS (int num_gid_entries, int num_row_or_col, int num_pins, int format, ZOLTAN_ID_PTR vtxedge_GID, int *vtxedge_ptr, ZOLTAN_ID_PTR pin_GID, int *ierr) |
| My_HG_CS() is a query function used for hypergraph partitioning only. | |
| void | My_FGHG_CS (int num_gid_entries, int num_row_or_col, int num_pins, int format, ZOLTAN_ID_PTR vtxedge_GID, int *vtxedge_ptr, ZOLTAN_ID_PTR pin_GID, int *ierr) |
| My_FGHG_CS() is a query function used for fine-grain hypergraph partitioning only. | |
| void | My_HG_Size_Edge_Weights (int *num_edges, int *ierr) |
| My_HG_Size_Edge_Weights() is a query function used for hypergraph partitioning only. | |
| void | My_HG_Edge_Weights (int num_gid_entries, int num_lid_entries, int num_edges, int edge_weight_dim, ZOLTAN_ID_PTR edge_GID, ZOLTAN_ID_PTR edge_LID, float *edge_weights, int *ierr) |
| My_HG_Edge_Weights() is a query function used for hypergraph partitioning only. | |
| int | My_Number_Geom (int *ierr) |
| My_Number_Geom() is a query function used for geometric partitioning only. | |
| void | My_Geom_Multi (int num_gid_entries, int num_lid_entries, int num_obj, ZOLTAN_ID_PTR gids, ZOLTAN_ID_PTR lids, int num_dim, double *geom_vec, int *ierr) |
| My_Geom_Multi() is a query function used for geometric partitioning only. | |
Private Attributes | |
| const bool | haveGraph_ |
| haveGraph is true if we have CrsGraph, and not a CrsMatrix or a MultiVector. | |
| Teuchos::RCP< const ::Tpetra::CrsGraph< int, int, Node > > | graph_ |
| The CrsGraph. | |
| Teuchos::RCP< const ::Tpetra::RowMatrix< double, int, int, Node > > | matrix_ |
| The CrsMatrix. | |
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | coords_ |
| The MultiVector containing 1, 2 or 3 dimensional coordinates. | |
| const ::Tpetra::Map< int, int, Node > * | rowMap_ |
| The graph or matrix row map, or the MultiVector map. | |
| const ::Tpetra::Map< int, int, Node > * | colMap_ |
| The graph or matrix column map. | |
| Teuchos::RCP< const Isorropia::Tpetra::CostDescriber < Node > > | costs_ |
| The CostDescriber contains optional vertex and/or edge weights for graph and hypergraph partitioning. | |
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | weights_ |
| The MultiVector contains optional object (point) weights for geometric partitioning. | |
| std::map< int, int > | procmap_ |
| std::set< int > | graph_self_edges_ |
| int | myProc_ |
| int | base_ |
QueryObject is a class that contains the query functions required by the Zoltan library.
These methods are not part of the Isorropia API (except to Zoltan). They are called by Isorropia itself and by Zoltan.
For a better understanding of Zoltan's query functions, see the Zoltan User's Guide at http://www.cs.sandia.gov/zoltan
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::CrsGraph< int, int, Node > > | graph, |
| Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > | costs, | ||
| int | inputType | ||
| ) |
Constructor.
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::RowMatrix< double, int, int, Node > > | matrix, |
| Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > | costs, | ||
| int | inputType | ||
| ) |
Constructor.
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | coords, |
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | weights | ||
| ) |
Constructor.
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::CrsGraph< int, int, Node > > | graph, |
| Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > | costs, | ||
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | coords, | ||
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | weights, | ||
| int | inputType | ||
| ) |
Constructor.
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::RowMatrix< double, int, int, Node > > | matrix, |
| Teuchos::RCP< const Isorropia::Tpetra::CostDescriber< Node > > | costs, | ||
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | coords, | ||
| Teuchos::RCP< const ::Tpetra::MultiVector< double, int, int, Node > > | weights, | ||
| int | inputType | ||
| ) |
Constructor.
| Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::QueryObject | ( | Teuchos::RCP< const ::Tpetra::Map< int, int, Node > > | inputMap, |
| int | inputType | ||
| ) |
Constructor.
| virtual Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::~QueryObject | ( | ) | [virtual] |
Destructor.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::fill_procmap | ( | ) | [private] |
| int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Number_Objects | ( | int * | ierr | ) | [private] |
My_Number_Objects() returns the number of objects currently assigned to this process.
(The objects are interpreted as graph vertices for Graph partitioning, as hypergraph vertices for hypergraph partitioning, or as coordinates for geometric partitioning.)
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Object_List | ( | 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 | ||
| ) | [private] |
My_ObjectList() returns to Zoltan the global ID and weight of the objects currently assigned to this process.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Number_Edges_Multi | ( | int | num_gid_entries, |
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | global_ids, | ||
| ZOLTAN_ID_PTR | local_ids, | ||
| int * | num_edges, | ||
| int * | ierr | ||
| ) | [private] |
My_Number_Edges_Multi() is a query function used for graph partitioning only.
It returns to Zoltan the number of edges (non-zeroes) that each vertex (row) has.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Edge_List_Multi | ( | int | num_gid_entries, |
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | global_ids, | ||
| ZOLTAN_ID_PTR | local_ids, | ||
| int * | num_edges, | ||
| ZOLTAN_ID_PTR | neighbor_global_ids, | ||
| int * | neighbor_procs, | ||
| int | weight_dim, | ||
| float * | edge_weights, | ||
| int * | ierr | ||
| ) | [private] |
My_Edge_List_Multi() is a query function used for graph partitioning only.
For each vertex (row), it returns a list of the global ID of each neighbor (non-zero) and the process owning that neighbor (that row).
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_HG_Size_CS | ( | int * | num_lists, |
| int * | num_pins, | ||
| int * | format, | ||
| int * | ierr | ||
| ) | [private] |
My_HG_Size_CS() is a query function used for hypergraph partitioning only.
Zoltan calls this query to get size of the non-zeros lists from the QueryObject.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_HG_CS | ( | int | num_gid_entries, |
| int | num_row_or_col, | ||
| int | num_pins, | ||
| int | format, | ||
| ZOLTAN_ID_PTR | vtxedge_GID, | ||
| int * | vtxedge_ptr, | ||
| ZOLTAN_ID_PTR | pin_GID, | ||
| int * | ierr | ||
| ) | [private] |
My_HG_CS() is a query function used for hypergraph partitioning only.
Zoltan calls this query to get the non-zeros lists from the QueryObject.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_FGHG_CS | ( | int | num_gid_entries, |
| int | num_row_or_col, | ||
| int | num_pins, | ||
| int | format, | ||
| ZOLTAN_ID_PTR | vtxedge_GID, | ||
| int * | vtxedge_ptr, | ||
| ZOLTAN_ID_PTR | pin_GID, | ||
| int * | ierr | ||
| ) | [private] |
My_FGHG_CS() is a query function used for fine-grain hypergraph partitioning only.
Zoltan calls this query to get the non-zeros lists from the QueryObject.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_HG_Size_Edge_Weights | ( | int * | num_edges, |
| int * | ierr | ||
| ) | [private] |
My_HG_Size_Edge_Weights() is a query function used for hypergraph partitioning only.
Zoltan calls this query to get number of hyperedge weights that this QueryObject will be providing.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_HG_Edge_Weights | ( | int | num_gid_entries, |
| int | num_lid_entries, | ||
| int | num_edges, | ||
| int | edge_weight_dim, | ||
| ZOLTAN_ID_PTR | edge_GID, | ||
| ZOLTAN_ID_PTR | edge_LID, | ||
| float * | edge_weights, | ||
| int * | ierr | ||
| ) | [private] |
My_HG_Edge_Weights() is a query function used for hypergraph partitioning only.
Zoltan calls this query to get hyperedge weights from this QueryObject.
| int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Number_Geom | ( | int * | ierr | ) | [private] |
My_Number_Geom() is a query function used for geometric partitioning only.
Zoltan calls this query to get the dimension of the geometric coordinates.
| void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::My_Geom_Multi | ( | int | num_gid_entries, |
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | gids, | ||
| ZOLTAN_ID_PTR | lids, | ||
| int | num_dim, | ||
| double * | geom_vec, | ||
| int * | ierr | ||
| ) | [private] |
My_Geom_Multi() is a query function used for geometric partitioning only.
Zoltan calls this query to get a list of coordinates from the QueryObject.
| const ::Tpetra::Map<int,int,Node>& Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::RowMap | ( | void | ) | [inline] |
Return the map associated with the object to be partitioned.
| bool Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::haveVertexWeights | ( | ) |
Return true if any of the processes in the application have defined vertex weights.
| bool Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::haveGraphEdgeWeights | ( | ) |
Return true if any of the processes in the application have defined graph edge weights.
| bool Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::haveHypergraphEdgeWeights | ( | ) |
Return true if any of the processes in the application have defined hypergraph edge weights.
| static int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::Number_Objects | ( | void * | data, |
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_Number_Objects query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::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 | ||
| ) | [static] |
The interface to a particular QueryObject's My_Object_List query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::Number_Edges_Multi | ( | void * | data, |
| int | num_gid_entries, | ||
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | global_ids, | ||
| ZOLTAN_ID_PTR | local_ids, | ||
| int * | num_edges, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_Number_Edges_Multi query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::Edge_List_Multi | ( | void * | data, |
| int | num_gid_entries, | ||
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | global_ids, | ||
| ZOLTAN_ID_PTR | local_ids, | ||
| int * | num_edges, | ||
| ZOLTAN_ID_PTR | neighbor_global_ids, | ||
| int * | neighbor_procs, | ||
| int | weight_dim, | ||
| float * | edge_weights, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_Edges_Multi query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::HG_Size_CS | ( | void * | data, |
| int * | num_lists, | ||
| int * | num_pins, | ||
| int * | format, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_HG_Size_CS query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::HG_CS | ( | void * | data, |
| int | num_gid_entries, | ||
| int | num_row_or_col, | ||
| int | num_pins, | ||
| int | format, | ||
| ZOLTAN_ID_PTR | vtxedge_GID, | ||
| int * | vtxedge_ptr, | ||
| ZOLTAN_ID_PTR | pin_GID, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_HG_CS query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::HG_Size_Edge_Weights | ( | void * | data, |
| int * | num_edges, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_HG_Size_Edge_Weights query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::HG_Edge_Weights | ( | void * | data, |
| int | num_gid_entries, | ||
| int | num_lid_entries, | ||
| int | num_edges, | ||
| int | edge_weight_dim, | ||
| ZOLTAN_ID_PTR | edge_GID, | ||
| ZOLTAN_ID_PTR | edge_LID, | ||
| float * | edge_weights, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_HG_Edge_Weights query function.
| static int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::Number_Geom | ( | void * | data, |
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_Number_Geom query function.
| static void Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::Geom_Multi | ( | void * | data, |
| int | num_gid_entries, | ||
| int | num_lid_entries, | ||
| int | num_obj, | ||
| ZOLTAN_ID_PTR | gids, | ||
| ZOLTAN_ID_PTR | lids, | ||
| int | num_dim, | ||
| double * | geom_vec, | ||
| int * | ierr | ||
| ) | [static] |
The interface to a particular QueryObject's My_Geom_Multi query function.
const bool Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::haveGraph_ [private] |
haveGraph is true if we have CrsGraph, and not a CrsMatrix or a MultiVector.
Teuchos::RCP<const ::Tpetra::CrsGraph<int,int,Node> > Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::graph_ [private] |
The CrsGraph.
The QueryObject must be constructed with one of an ::Tpetra::CrsGraph, an Tpetra::RowMatrix or an Tpetra::MultiVector.
Teuchos::RCP<const ::Tpetra::RowMatrix<double,int,int,Node> > Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::matrix_ [private] |
The CrsMatrix.
The QueryObject must be constructed with one of an ::Tpetra::CrsGraph, an Tpetra::RowMatrix or an Tpetra::MultiVector.
Teuchos::RCP<const ::Tpetra::MultiVector<double,int,int,Node> > Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::coords_ [private] |
The MultiVector containing 1, 2 or 3 dimensional coordinates.
If supplied, we will perform geometric partitioning. The QueryObject must be constructed with one of an ::Tpetra::CrsGraph, an ::Tpetra::RowMatrix<double,int,int,Node> or an Tpetra::MultiVector.
const ::Tpetra::Map<int,int,Node>* Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::rowMap_ [private] |
The graph or matrix row map, or the MultiVector map.
const ::Tpetra::Map<int,int,Node>* Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::colMap_ [private] |
The graph or matrix column map.
Teuchos::RCP<const Isorropia::Tpetra::CostDescriber<Node> > Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::costs_ [private] |
The CostDescriber contains optional vertex and/or edge weights for graph and hypergraph partitioning.
Teuchos::RCP<const ::Tpetra::MultiVector<double,int,int,Node> > Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::weights_ [private] |
The MultiVector contains optional object (point) weights for geometric partitioning.
Zoltan currently will use only the weights in the first vector (1 dimensional point weights).
std::map<int,int> Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::procmap_ [private] |
std::set<int> Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::graph_self_edges_ [private] |
int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::myProc_ [private] |
int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::base_ [private] |
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::hgraph_input_ = 1 [static] |
input_type_ == hgraph_input_.
This indicates that the matrix or graph represents a hypergraph. Columns represent hyperedges, and row (vertex) partitioning is to be performed.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::hgraph2d_finegrain_input_ = 2 [static] |
input_type_ == hgraph2d_finegrain_input_.
This indicates that the matrix or graph represents a hypergraph. Columns represent hyperedges, and non-zeroes are to be partitioned.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::graph_input_ = 3 [static] |
input_type_ == graph_input_.
This indicates that the square symmetric matrix or graph represents a graph in the sense that row/column IDs are vertices and non-zeroes represent edges. The vertices are to be partitioned.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::geometric_input_ = 4 [static] |
input_type_ == geometric_input_.
This indicates that the Tpetra::MultiVector represents geometric coordinates. The MultiVector should have 1, 2 or 3 vectors, representing 1, 2 or 3 dimensional coordinates. The coordinates are to be partitioned.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::hgraph_graph_input_ = 5 [static] |
input_type_ == hgraph_graph_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph (see above).
This is necessary for hierarchical partitioning with both hypergraph and graph methods.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::hgraph_geometric_input_ = 6 [static] |
input_type_ == hgraph_geometric_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph (see above).
This is necessary for hierarchical partitioning with both hypergraph and geometric methods.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::graph_geometric_input_ = 7 [static] |
input_type_ == graph_geometric_input_ This indicates that the Tpetra::MultiVector represents graph and has geometric coordinates (see above).
This is necessary for hierarchical partitioning with both graph and geometric methods.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::hgraph_graph_geometric_input_ = 8 [static] |
input_type_ == hgraph_graph_geometric_input_ This indicates that the Tpetra::MultiVector represents a hypergraph and graph and has geometric coordinates(see above).
This is necessary for hierarchical partitioning using hypergraph, graph, and geometric methods.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::simple_input_ = 9 [static] |
input_type_ == simple_input_ This indicates that a simple method (block, cyclic, or random) will be used.
const int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::unspecified_input_ = 10 [static] |
input_type_ == unspecified_input_.
This value is the "unset" state for the input_type_ instance variable.
| int Isorropia::Tpetra::ZoltanLib::QueryObject< Node >::input_type_ |
The input_type_ indicates how the object to be partitioned is to be interpreted - as a graph or a hypergraph for row partitioning, as a hypergraph for fine-grain partitioning, or as a list of coordinates for geometric partitioning.