Zoltan2
|
#include "Zoltan2_TaskMapping.hpp"
#include <Zoltan2_PartitioningProblem.hpp>
#include <Zoltan2_TestHelpers.hpp>
#include <string>
#include <Teuchos_RCP.hpp>
#include <Teuchos_Array.hpp>
#include <Teuchos_ParameterList.hpp>
#include "Teuchos_XMLParameterListHelpers.hpp"
#include "Tpetra_MultiVector.hpp"
#include <Tpetra_CrsGraph.hpp>
#include <Tpetra_Map.hpp>
#include <Zoltan2_XpetraCrsGraphAdapter.hpp>
#include <Zoltan2_XpetraMultiVectorAdapter.hpp>
#include <Zoltan2_TimerManager.hpp>
#include <Zoltan2_MappingProblem.hpp>
#include <Zoltan2_MappingSolution.hpp>
#include <Zoltan2_EvaluatePartition.hpp>
#include <Zoltan2_EvaluateMapping.hpp>
Go to the source code of this file.
Typedefs | |
typedef Tpetra::CrsGraph < zlno_t, zgno_t, znode_t > | mytest_tcrsGraph_t |
typedef Tpetra::MultiVector < zscalar_t, zlno_t, zgno_t, znode_t > | mytest_tMVector_t |
typedef Zoltan2::XpetraCrsGraphAdapter < mytest_tcrsGraph_t, mytest_tMVector_t > | mytest_adapter_t |
typedef Tpetra::Map::node_type | mytest_znode_t |
typedef Tpetra::Map< zlno_t, zgno_t, mytest_znode_t > | mytest_map_t |
typedef mytest_adapter_t::part_t | mytest_part_t |
Functions | |
RCP< mytest_tcrsGraph_t > | create_tpetra_input_matrix (int nx, int ny, int nz, int numProcs, Teuchos::RCP< const Teuchos::Comm< int > > tcomm, RCP< Zoltan2::Environment > env, zscalar_t **&partCenters, zgno_t &myTasks) |
RCP < Zoltan2::XpetraMultiVectorAdapter < mytest_tMVector_t > > | create_multi_vector_adapter (RCP< const mytest_map_t > map, zscalar_t **partCenters, zgno_t myTasks) |
void | test_distributed_input_adapter (int nx, int ny, int nz, Teuchos::RCP< const Teuchos::Comm< int > > global_tcomm) |
void | test_serial_input_adapter (int nx, int ny, int nz, Teuchos::RCP< const Teuchos::Comm< int > > global_tcomm) |
int | main (int narg, char *arg[]) |
typedef Tpetra::CrsGraph<zlno_t, zgno_t, znode_t> mytest_tcrsGraph_t |
Definition at line 33 of file TaskMappingProblemTest.cpp.
typedef Tpetra::MultiVector<zscalar_t, zlno_t, zgno_t, znode_t> mytest_tMVector_t |
Definition at line 35 of file TaskMappingProblemTest.cpp.
Definition at line 37 of file TaskMappingProblemTest.cpp.
typedef Tpetra::Map ::node_type mytest_znode_t |
Definition at line 38 of file TaskMappingProblemTest.cpp.
typedef Tpetra::Map<zlno_t, zgno_t, mytest_znode_t> mytest_map_t |
Definition at line 39 of file TaskMappingProblemTest.cpp.
Definition at line 40 of file TaskMappingProblemTest.cpp.
enum MappingScenarios |
Enumerator | |
---|---|
TwoPhase | |
SinglePhaseElementsInProcessInSamePartition | |
SinglePhaseElementsAreOnePartition | |
TwoPhase | |
SinglePhaseElementsInProcessInSamePartition | |
SinglePhaseElementsAreOnePartition |
Definition at line 42 of file TaskMappingProblemTest.cpp.
Enumerator | |
---|---|
Distributed | |
AllHaveCopies | |
Distributed | |
AllHaveCopies |
Definition at line 48 of file TaskMappingProblemTest.cpp.
RCP<mytest_tcrsGraph_t> create_tpetra_input_matrix | ( | int | nx, |
int | ny, | ||
int | nz, | ||
int | numProcs, | ||
Teuchos::RCP< const Teuchos::Comm< int > > | tcomm, | ||
RCP< Zoltan2::Environment > | env, | ||
zscalar_t **& | partCenters, | ||
zgno_t & | myTasks | ||
) |
Definition at line 53 of file TaskMappingProblemTest.cpp.
RCP<Zoltan2::XpetraMultiVectorAdapter<mytest_tMVector_t> > create_multi_vector_adapter | ( | RCP< const mytest_map_t > | map, |
zscalar_t ** | partCenters, | ||
zgno_t | myTasks | ||
) |
Definition at line 149 of file TaskMappingProblemTest.cpp.
void test_distributed_input_adapter | ( | int | nx, |
int | ny, | ||
int | nz, | ||
Teuchos::RCP< const Teuchos::Comm< int > > | global_tcomm | ||
) |
Definition at line 182 of file TaskMappingProblemTest.cpp.
void test_serial_input_adapter | ( | int | nx, |
int | ny, | ||
int | nz, | ||
Teuchos::RCP< const Teuchos::Comm< int > > | global_tcomm | ||
) |
Definition at line 362 of file TaskMappingProblemTest.cpp.
int main | ( | int | narg, |
char * | arg[] | ||
) |
Definition at line 493 of file TaskMappingProblemTest.cpp.