Zoltan2
Loading...
Searching...
No Matches
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)
 \brif Zoltan2::Problem factory method
 
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

◆ ProblemFactory()

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

\brif 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

◆ getProblem()

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

Definition at line 123 of file Zoltan2_ProblemFactory.hpp.

◆ getProblemName()

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

Definition at line 124 of file Zoltan2_ProblemFactory.hpp.

◆ getAdapterType()

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: