Zoltan2
|
#include <UserInputForTests.hpp>
#include <Zoltan2_Typedefs.hpp>
#include <AdapterForTests.hpp>
#include <Zoltan2_ComparisonHelper.hpp>
#include <Zoltan2_MetricAnalyzer.hpp>
#include <Zoltan2_ProblemFactory.hpp>
#include <Zoltan2_EvaluateFactory.hpp>
#include <Zoltan2_BasicIdentifierAdapter.hpp>
#include <Zoltan2_XpetraCrsGraphAdapter.hpp>
#include <Zoltan2_XpetraCrsMatrixAdapter.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_Parameters.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_XMLObject.hpp>
#include <Teuchos_FileInputSource.hpp>
#include <sstream>
#include <string>
#include <map>
#include <iostream>
#include <queue>
Go to the source code of this file.
Macros | |
#define | ERRMSG(msg) if (rank == 0){ std::cerr << "FAIL: " << msg << std::endl; } |
#define | EXC_ERRMSG(msg, e) if (rank==0){ std::cerr << "FAIL: " << msg << std::endl << e.what() << std::endl;} |
#define | ANALYZE_METRICS(adapterClass, metricAnalyzerClass) |
#define | ANALYZE_METRICS_PARTITIONING(adapterClass) |
#define | ANALYZE_METRICS_ORDERING(adapterClass) |
#define | GET_LOCAL_ORDERING(adapterClass) |
#define | GET_PROBLEM_PARTS(adapterClass) |
#define | GET_IDS_VIEW(adapterClass) |
Functions | |
void | xmlToModelPList (const Teuchos::XMLObject &xml, Teuchos::ParameterList &plist) |
bool | getParameterLists (const string &inputFileName, queue< ParameterList > &problems, queue< ParameterList > &comparisons, const RCP< const Teuchos::Comm< int > > &comm) |
bool | analyzeMetrics (RCP< EvaluateFactory > evaluateFactory, std::ostringstream &msg, const ParameterList &problem_parameters) |
LocalOrderingSolution< zlno_t > * | getLocalOrderingSolution (RCP< ProblemFactory > problemFactory) |
const zpart_t * | getPartListView (RCP< ProblemFactory > problemFactory) |
void | getIDsView (RCP< AdapterFactory > adapterFactory, const zgno_t *&Ids) |
bool | run (const UserInputForTests &uinput, const ParameterList &problem_parameters, bool bHasComparisons, RCP< ComparisonHelper > &comparison_helper, const RCP< const Teuchos::Comm< int > > &comm) |
bool | mainExecute (int narg, char *arg[], RCP< const Comm< int > > &comm) |
int | main (int narg, char *arg[]) |
#define ERRMSG | ( | msg | ) | if (rank == 0){ std::cerr << "FAIL: " << msg << std::endl; } |
Definition at line 93 of file test_driver.cpp.
#define EXC_ERRMSG | ( | msg, | |
e | |||
) | if (rank==0){ std::cerr << "FAIL: " << msg << std::endl << e.what() << std::endl;} |
Definition at line 94 of file test_driver.cpp.
#define ANALYZE_METRICS | ( | adapterClass, | |
metricAnalyzerClass | |||
) |
#define ANALYZE_METRICS_PARTITIONING | ( | adapterClass | ) |
#define ANALYZE_METRICS_ORDERING | ( | adapterClass | ) |
#define GET_LOCAL_ORDERING | ( | adapterClass | ) |
#define GET_PROBLEM_PARTS | ( | adapterClass | ) |
#define GET_IDS_VIEW | ( | adapterClass | ) |
void xmlToModelPList | ( | const Teuchos::XMLObject & | xml, |
Teuchos::ParameterList & | plist | ||
) |
Definition at line 97 of file test_driver.cpp.
bool getParameterLists | ( | const string & | inputFileName, |
queue< ParameterList > & | problems, | ||
queue< ParameterList > & | comparisons, | ||
const RCP< const Teuchos::Comm< int > > & | comm | ||
) |
Definition at line 120 of file test_driver.cpp.
bool analyzeMetrics | ( | RCP< EvaluateFactory > | evaluateFactory, |
std::ostringstream & | msg, | ||
const ParameterList & | problem_parameters | ||
) |
Definition at line 163 of file test_driver.cpp.
LocalOrderingSolution< zlno_t > * getLocalOrderingSolution | ( | RCP< ProblemFactory > | problemFactory | ) |
Definition at line 197 of file test_driver.cpp.
const zpart_t * getPartListView | ( | RCP< ProblemFactory > | problemFactory | ) |
Definition at line 206 of file test_driver.cpp.
void getIDsView | ( | RCP< AdapterFactory > | adapterFactory, |
const zgno_t *& | Ids | ||
) |
Definition at line 214 of file test_driver.cpp.
bool run | ( | const UserInputForTests & | uinput, |
const ParameterList & | problem_parameters, | ||
bool | bHasComparisons, | ||
RCP< ComparisonHelper > & | comparison_helper, | ||
const RCP< const Teuchos::Comm< int > > & | comm | ||
) |
Definition at line 222 of file test_driver.cpp.
bool mainExecute | ( | int | narg, |
char * | arg[], | ||
RCP< const Comm< int > > & | comm | ||
) |
Definition at line 461 of file test_driver.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 563 of file test_driver.cpp.