Zoltan2
|
The base class for all model classes. More...
#include <Zoltan2_Model.hpp>
Public Member Functions | |
virtual | ~Model () |
Model () | |
virtual size_t | getLocalNumObjects () const =0 |
Return the local number of objects. More... | |
virtual global_size_t | getGlobalNumObjects () const =0 |
Return the global number of objects. More... | |
The base class for all model classes.
The Model is the computational model created by a Problem based on the user's input data and parameters. Graphs, hypergraph, and collections of geometric coordinates are examples of computational models.
The Problem passes the Model to an algorithm. The algorithm queries the Model for input to its calculation.
Definition at line 74 of file Zoltan2_Model.hpp.
|
inlinevirtual |
Destructor
Definition at line 88 of file Zoltan2_Model.hpp.
|
inline |
Constructor
Definition at line 92 of file Zoltan2_Model.hpp.
|
pure virtual |
Return the local number of objects.
Return the local number of objects, which may be vertices, matrix rows, identifiers, coordinates, or mesh nodes or elements.
Implemented in Zoltan2::HyperGraphModel< Adapter >, Zoltan2::CoordinateModel< Adapter >, Zoltan2::GraphModel< Adapter >, Zoltan2::CommGraphModel< Adapter >, and Zoltan2::IdentifierModel< Adapter >.
|
pure virtual |
Return the global number of objects.
Return the global number of objects, which may be vertices, matrix rows, identifiers, coordinates, or mesh nodes or elements.
Implemented in Zoltan2::HyperGraphModel< Adapter >, Zoltan2::CoordinateModel< Adapter >, Zoltan2::GraphModel< Adapter >, Zoltan2::CommGraphModel< Adapter >, and Zoltan2::IdentifierModel< Adapter >.