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 110 of file Zoltan2_Model.hpp.
|
inlinevirtual |
Destructor
Definition at line 124 of file Zoltan2_Model.hpp.
|
inline |
Constructor
Definition at line 128 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::GraphModel< Adapter >, Zoltan2::CoordinateModel< 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::GraphModel< Adapter >, Zoltan2::CoordinateModel< Adapter >, and Zoltan2::IdentifierModel< Adapter >.