|
Zoltan2
|
#include <Teuchos_Comm.hpp>#include <Teuchos_ParameterList.hpp>#include <Teuchos_FilteredIterator.hpp>#include <Teuchos_ParameterEntry.hpp>#include <iostream>#include <ctime>#include <limits>#include <climits>#include <string>#include <cstdlib>#include <sstream>#include <fstream>#include <Tpetra_MultiVector_decl.hpp>#include <Zoltan2_XpetraMultiVectorAdapter.hpp>#include <Zoltan2_PartitioningSolution.hpp>#include <Teuchos_ArrayViewDecl.hpp>#include <Teuchos_RCP.hpp>#include <Tpetra_Distributor.hpp>#include <Zoltan2_PartitioningProblem.hpp>
Go to the source code of this file.
| #define CATCH_EXCEPTIONS | ( | pp | ) |
catch (std::runtime_error &e) { \ cout << "Runtime exception returned from " << pp << ": " \ << e.what() << " FAIL" << endl; \ return -1; \ } \ catch (std::logic_error &e) { \ cout << "Logic exception returned from " << pp << ": " \ << e.what() << " FAIL" << endl; \ return -1; \ } \ catch (std::bad_alloc &e) { \ cout << "Bad_alloc exception returned from " << pp << ": " \ << e.what() << " FAIL" << endl; \ return -1; \ } \ catch (std::exception &e) { \ cout << "Unknown exception returned from " << pp << ": " \ << e.what() << " FAIL" << endl; \ return -1; \ }
Definition at line 79 of file GeometricGenerator.hpp.
| #define SHAPE_COUNT 6 |
Definition at line 200 of file GeometricGenerator.hpp.
| #define DISTRIBUTION_COUNT 2 |
Definition at line 204 of file GeometricGenerator.hpp.
| #define HOLE_ALLOC_STEP 10 |
Definition at line 206 of file GeometricGenerator.hpp.
| #define MAX_WEIGHT_DIM 10 |
Definition at line 207 of file GeometricGenerator.hpp.
| #define INVALID | ( | STR | ) | "Invalid argument at " + STR |
Definition at line 208 of file GeometricGenerator.hpp.
| #define INVALIDSHAPE | ( | STR, | |
| DIM | |||
| ) | "Invalid shape name " + STR + " for " + DIM + ".\nValid shapes are \"SQUARE\", \"RECTANGLE\", \"CIRCLE\" for 2D, and \"CUBE\", \"RECTANGULAR_PRISM\", \"SPHERE\" for 3D" |
Definition at line 209 of file GeometricGenerator.hpp.
| #define INVALID_SHAPE_ARG | ( | SHAPE, | |
| REQUIRED | |||
| ) | "Invalid argument count for shape " + SHAPE + ". Requires " + REQUIRED + " argument(s)." |
Definition at line 211 of file GeometricGenerator.hpp.
| #define MAX_ITER_ALLOWED 500 |
Definition at line 212 of file GeometricGenerator.hpp.
1.7.6.1