Zoltan2
Loading...
Searching...
No Matches
Sphynx_Research_Driver.cpp File Reference
#include "Teuchos_CommandLineProcessor.hpp"
#include "Tpetra_CrsMatrix.hpp"
#include "Tpetra_Core.hpp"
#include "Tpetra_KokkosCompat_DefaultNode.hpp"
#include "Zoltan2_PartitioningProblem.hpp"
#include "Zoltan2_SphynxProblem.hpp"
#include "Zoltan2_XpetraCrsGraphAdapter.hpp"
#include "Teuchos_TimeMonitor.hpp"
#include "Teuchos_StackedTimer.hpp"
#include "readMatrixFromBinaryFile.hpp"
#include <Galeri_MultiVectorTraits.hpp>
#include <Galeri_XpetraProblemFactory.hpp>
#include <Galeri_XpetraParameters.hpp>
#include <MatrixMarket_Tpetra.hpp>
Include dependency graph for Sphynx_Research_Driver.cpp:

Go to the source code of this file.

Functions

template<typename lno_t, typename gno_t, typename scalar_t, typename nod_t>
int buildCrsMatrix (int xdim, int ydim, int zdim, std::string problemType, const Teuchos::RCP< const Teuchos::Comm< int > > &comm, Teuchos::RCP< Tpetra::CrsMatrix< scalar_t, lno_t, gno_t, nod_t > > &M_)
template<typename adapter_type>
void compute_edgecut (Teuchos::RCP< adapter_type > &adapter, Zoltan2::PartitioningSolution< adapter_type > &solution)
int main (int narg, char *arg[])

Function Documentation

◆ buildCrsMatrix()

template<typename lno_t, typename gno_t, typename scalar_t, typename nod_t>
int buildCrsMatrix ( int xdim,
int ydim,
int zdim,
std::string problemType,
const Teuchos::RCP< const Teuchos::Comm< int > > & comm,
Teuchos::RCP< Tpetra::CrsMatrix< scalar_t, lno_t, gno_t, nod_t > > & M_ )

Definition at line 43 of file Sphynx_Research_Driver.cpp.

◆ compute_edgecut()

template<typename adapter_type>
void compute_edgecut ( Teuchos::RCP< adapter_type > & adapter,
Zoltan2::PartitioningSolution< adapter_type > & solution )

Definition at line 91 of file Sphynx_Research_Driver.cpp.

◆ main()

int main ( int narg,
char * arg[] )

Definition at line 214 of file Sphynx_Research_Driver.cpp.