Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
Zoltan2_TestingFramework::ProblemFactory Class Reference

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

#include <Zoltan2_ProblemFactory.hpp>

Public Member Functions

 ProblemFactory (const std::string &problemName, RCP< AdapterFactory > adapterFactory, ParameterList *params)
 Zoltan2::Problem factory method More...
 
RCP< ProblemRootgetProblem ()
 
const std::string & getProblemName () const
 
EAdapterType getAdapterType () const
 

Detailed Description

ProblemFactory class contains 1 static factory method.

Definition at line 64 of file Zoltan2_ProblemFactory.hpp.

Constructor & Destructor Documentation

Zoltan2_TestingFramework::ProblemFactory::ProblemFactory ( const std::string &  problemName,
RCP< AdapterFactory adapterFactory,
ParameterList *  params 
)
inline

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
paramsZolta2 parameter list
(MPI)MPI world communicator
Returns
returns a pointer to new Zoltan2::Problem or a nullptr if problem_name was not known.

Definition at line 75 of file Zoltan2_ProblemFactory.hpp.

Member Function Documentation

RCP<ProblemRoot> Zoltan2_TestingFramework::ProblemFactory::getProblem ( )
inline

Definition at line 123 of file Zoltan2_ProblemFactory.hpp.

const std::string& Zoltan2_TestingFramework::ProblemFactory::getProblemName ( ) const
inline

Definition at line 124 of file Zoltan2_ProblemFactory.hpp.

EAdapterType Zoltan2_TestingFramework::ProblemFactory::getAdapterType ( ) const
inline

Definition at line 125 of file Zoltan2_ProblemFactory.hpp.


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