Store and compare solution sets from different problems.
More...
#include "Zoltan2_TestHelpers.hpp"
#include "Zoltan2_MetricAnalyzer.hpp"
#include <Zoltan2_Typedefs.hpp>
#include <Zoltan2_EvaluateFactory.hpp>
#include <Zoltan2_ProblemFactory.hpp>
#include <AdapterForTests.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_Time.hpp>
#include <sstream>
#include <string>
#include <map>
#include <iostream>
Go to the source code of this file.
Store and compare solution sets from different problems.
Definition in file Zoltan2_ComparisonHelper.hpp.
◆ GET_PROBLEM_PARTS
#define GET_PROBLEM_PARTS |
( |
| adapterClass | ) |
|
Value: return (rcp_dynamic_cast<PartitioningProblem<adapterClass>>( \
problemFactory->getProblem()))->getSolution().getPartListView();
◆ LOAD_METRIC_INFO
#define LOAD_METRIC_INFO |
( |
| adapterClass, |
|
|
| metricAnalyzerClass ) |
Value: RCP<EvaluateBaseClass<adapterClass>> pCast = \
rcp_dynamic_cast<EvaluateBaseClass<adapterClass>>(evaluateFactory->getEvaluateClass()); \
if(pCast == Teuchos::null) throw std::logic_error( \
"Bad evaluate class cast in loadMetricInfo!" ); \
metricAnalyzerClass analyzer(pCast); \
analyzer.LoadMetricInfo(metricInfo, metricsPlist.sublist("Metrics"));
◆ LOAD_METRIC_INFO_PARTITIONING
◆ LOAD_METRIC_INFO_ORDERING