Zoltan2
Static Public Member Functions | List of all members
Zoltan2_TestingFramework::ProblemFactory Class Reference

ProblemFactory class contains 1 static factory method. More...

#include <Zoltan2_ProblemFactory.hpp>

Static Public Member Functions

static Problem< basic_id_t > * newProblem (const std::string &kind, const std::string &adapter_name, base_adapter_t *input, ParameterList *params)
 Zoltan2::Problem factory method More...
 

Detailed Description

ProblemFactory class contains 1 static factory method.

Definition at line 64 of file Zoltan2_ProblemFactory.hpp.

Member Function Documentation

◆ newProblem()

static Problem<basic_id_t>* Zoltan2_TestingFramework::ProblemFactory::newProblem ( const std::string &  kind,
const std::string &  adapter_name,
base_adapter_t input,
ParameterList *  params 
)
inlinestatic

Zoltan2::Problem factory method

Parameters
kindA string equal to the type of the problem (paritioning, ordering, coloring)
kindA string equal to the type of the adapter
inputInput adapter used to construct the problem
paramsZolta2 parameter list
(MPI)MPI world communicator
Returns
returns a pointer to new Zoltan2::Problem or a nullptr if kind was not known.

Definition at line 83 of file Zoltan2_ProblemFactory.hpp.


The documentation for this class was generated from the following file: