Zoltan2
Loading...
Searching...
No Matches
Zoltan2_ProblemFactory.hpp File Reference
Include dependency graph for Zoltan2_ProblemFactory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  Zoltan2_TestingFramework

Macros

#define CREATE_PRBLM(problemClass, adapterClass)
#define MAKE_PARTITION_PROBLEM(adapterClass)
#define MAKE_ORDERING_PROBLEM(adapterClass)

Macro Definition Documentation

◆ CREATE_PRBLM

#define CREATE_PRBLM ( problemClass,
adapterClass )
Value:
adapterClass * pCast = dynamic_cast<adapterClass *> \
(adapterFactory->getMainAdapter()); \
if(!pCast) { throw std::logic_error( \
"ProblemFactory adapter dynamic_cast failed for problem name " \
+ problem_name + " and adapterClass " + #adapterClass ); } \
problem = rcp(new problemClass<adapterClass>(pCast, params));

◆ MAKE_PARTITION_PROBLEM

#define MAKE_PARTITION_PROBLEM ( adapterClass)
Value:
#define CREATE_PRBLM(problemClass, adapterClass)
PartitioningProblem sets up partitioning problems for the user.

◆ MAKE_ORDERING_PROBLEM

#define MAKE_ORDERING_PROBLEM ( adapterClass)
Value:
CREATE_PRBLM(OrderingProblem, adapterClass);
OrderingProblem sets up ordering problems for the user.