50 #ifndef ZOLTAN2_EVALUATE_PARTITION_FACTORY_HPP 51 #define ZOLTAN2_EVALUATE_PARTITION_FACTORY_HPP 68 RCP<const Teuchos::Comm<int> > CommT = problem->
getComm();
70 if (adapter_name ==
"BasicIdentifier") {
74 params, CommT, reinterpret_cast
77 }
else if (adapter_name ==
"XpetraMultiVector") {
81 params, CommT, reinterpret_cast
84 }
else if (adapter_name ==
"XpetraCrsGraph") {
88 params, CommT, reinterpret_cast
91 }
else if (adapter_name ==
"XpetraCrsMatrix") {
95 params, CommT, reinterpret_cast
98 }
else if (adapter_name ==
"BasicVector") {
102 params, CommT, reinterpret_cast
105 }
else if (adapter_name ==
"PamgenMesh") {
109 params, CommT, reinterpret_cast
117 #endif // ZOLTAN2_EVALUATE_PARTITION_FACTORY_HPP
static EvaluatePartition< basic_id_t > * newEvaluatePartition(partitioning_problem_t *problem, const std::string &adapter_name, base_adapter_t *input, ParameterList *params)
Zoltan2::EvaluatePartition factory method.
Provides access for Zoltan2 to Xpetra::CrsMatrix data.
Provides access for Zoltan2 to Xpetra::CrsGraph data.
This class represents a collection of global Identifiers and their associated weights, if any.
A PartitioningSolution is a solution to a partitioning problem.
RCP< const Comm< int > > getComm()
Return the communicator used by the problem.
BasicVectorAdapter represents a vector (plus optional weights) supplied by the user as pointers to st...
An adapter for Xpetra::MultiVector.
const PartitioningSolution< Adapter > & getSolution()
Get the solution to the problem.
PartitioningProblem sets up partitioning problems for the user.
BaseAdapter defines methods required by all Adapters.
A class that computes and returns quality metrics.
brief EvaluatePartitionFActory class contains 1 static factory method