|
Zoltan2
|
#include <Zoltan2_Sphynx.hpp>


Public Types | |
| enum | problemType { COMBINATORIAL , GENERALIZED , NORMALIZED } |
| using | scalar_t = double |
| using | lno_t = typename Adapter::lno_t |
| using | gno_t = typename Adapter::gno_t |
| using | node_t = typename Adapter::node_t |
| using | offset_t = typename Adapter::offset_t |
| using | part_t = typename Adapter::part_t |
| using | weight_t = typename Adapter::scalar_t |
| using | graph_t = Tpetra::CrsGraph<lno_t, gno_t, node_t> |
| using | matrix_t = Tpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_t> |
| using | mvector_t = Tpetra::MultiVector<scalar_t, lno_t, gno_t, node_t> |
| using | op_t = Tpetra::Operator<scalar_t, lno_t, gno_t, node_t> |
| Public Types inherited from Zoltan2::Algorithm< Adapter > | |
| typedef Adapter::lno_t | lno_t |
| typedef Adapter::gno_t | gno_t |
| typedef Adapter::scalar_t | scalar_t |
| typedef Adapter::part_t | part_t |
Public Member Functions | |
| Sphynx (const RCP< const Environment > &env, const RCP< Teuchos::ParameterList > ¶ms, const RCP< Teuchos::ParameterList > &sphynxParams, const RCP< const Comm< int > > &comm, const RCP< const XpetraCrsGraphAdapter< graph_t > > &adapter) | |
| void | partition (const Teuchos::RCP< PartitioningSolution< Adapter > > &solution) |
| int | AnasaziWrapper (const int numEigenVectors) |
| template<typename problem_t> | |
| void | setPreconditioner (Teuchos::RCP< problem_t > &problem) |
| template<typename problem_t> | |
| void | setMueLuPreconditioner (Teuchos::RCP< problem_t > &problem) |
| template<typename problem_t> | |
| void | setJacobiPreconditioner (Teuchos::RCP< problem_t > &problem) |
| template<typename problem_t> | |
| void | setPolynomialPreconditioner (Teuchos::RCP< problem_t > &problem) |
| void | eigenvecsToCoords (Teuchos::RCP< mvector_t > &eigenVectors, int computedNumEv, Teuchos::RCP< mvector_t > &coordinates) |
| void | computeWeights (std::vector< const weight_t * > vecweights, std::vector< int > strides) |
| void | MJwrapper (const Teuchos::RCP< const mvector_t > &coordinates, std::vector< const weight_t * > weights, std::vector< int > strides, const Teuchos::RCP< PartitioningSolution< Adapter > > &solution) |
| void | setUserEigenvectors (const Teuchos::RCP< mvector_t > &userEvects) |
| Teuchos::RCP< mvector_t > | getSphynxEigenvectors () |
| void | determineRegularity () |
| void | setDefaults () |
| void | computeLaplacian () |
| void | computeDegreeMatrix () |
| Teuchos::RCP< matrix_t > | computeCombinatorialLaplacian () |
| Teuchos::RCP< matrix_t > | computeNormalizedLaplacian (bool AHat=false) |
| Public Member Functions inherited from Zoltan2::Algorithm< Adapter > | |
| virtual | ~Algorithm () |
| virtual int | localOrder (const RCP< LocalOrderingSolution< lno_t > > &) |
| Ordering method. | |
| virtual int | globalOrder (const RCP< GlobalOrderingSolution< gno_t > > &) |
| Ordering method. | |
| virtual void | color (const RCP< ColoringSolution< Adapter > > &) |
| Coloring method. | |
| virtual void | match () |
| Matching method. | |
| virtual void | partition (const RCP< PartitioningSolution< Adapter > > &) |
| Partitioning method. | |
| virtual void | partitionMatrix (const RCP< MatrixPartitioningSolution< Adapter > > &) |
| Matrix Partitioning method. | |
| virtual void | map (const RCP< MappingSolution< Adapter > > &) |
| Mapping method. | |
| virtual bool | isPartitioningTreeBinary () const |
| return if algorithm determins tree to be binary | |
| virtual void | getPartitionTree (part_t, part_t &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &, std::vector< part_t > &) const |
| for partitioning methods, fill arrays with partition tree info | |
| virtual std::vector< coordinateModelPartBox > & | getPartBoxesView () const |
| for partitioning methods, return bounding boxes of the | |
| virtual part_t | pointAssign (int, scalar_t *) const |
| pointAssign method: Available only for some partitioning algorithms | |
| virtual void | boxAssign (int, scalar_t *, scalar_t *, size_t &, part_t **) const |
| boxAssign method: Available only for some partitioning algorithms | |
| virtual void | getCommunicationGraph (const PartitioningSolution< Adapter > *, ArrayRCP< part_t > &, ArrayRCP< part_t > &) |
| returns serial communication graph of a computed partition | |
| virtual int | getRankForPart (part_t) |
| In mapping, returns the rank to which a part is assigned. | |
| virtual void | getMyPartsView (part_t &, part_t *&) |
| In mapping, returns a view of parts assigned to the current rank. | |
Definition at line 102 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::scalar_t = double |
Definition at line 107 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::lno_t = typename Adapter::lno_t |
Definition at line 108 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::gno_t = typename Adapter::gno_t |
Definition at line 109 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::node_t = typename Adapter::node_t |
Definition at line 110 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::offset_t = typename Adapter::offset_t |
Definition at line 111 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::part_t = typename Adapter::part_t |
Definition at line 112 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::weight_t = typename Adapter::scalar_t |
Definition at line 113 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::graph_t = Tpetra::CrsGraph<lno_t, gno_t, node_t> |
Definition at line 115 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::matrix_t = Tpetra::CrsMatrix<scalar_t, lno_t, gno_t, node_t> |
Definition at line 116 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::mvector_t = Tpetra::MultiVector<scalar_t, lno_t, gno_t, node_t> |
Definition at line 117 of file Zoltan2_Sphynx.hpp.
| using Zoltan2::Sphynx< Adapter >::op_t = Tpetra::Operator<scalar_t, lno_t, gno_t, node_t> |
Definition at line 118 of file Zoltan2_Sphynx.hpp.
| enum Zoltan2::Sphynx::problemType |
| Enumerator | |
|---|---|
| COMBINATORIAL | |
| GENERALIZED | |
| NORMALIZED | |
Definition at line 120 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 127 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::partition | ( | const Teuchos::RCP< PartitioningSolution< Adapter > > & | solution | ) |
Definition at line 586 of file Zoltan2_Sphynx.hpp.
| int Zoltan2::Sphynx< Adapter >::AnasaziWrapper | ( | const int | numEigenVectors | ) |
Definition at line 645 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::setPreconditioner | ( | Teuchos::RCP< problem_t > & | problem | ) |
Definition at line 792 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::setMueLuPreconditioner | ( | Teuchos::RCP< problem_t > & | problem | ) |
Definition at line 811 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::setJacobiPreconditioner | ( | Teuchos::RCP< problem_t > & | problem | ) |
Definition at line 901 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::setPolynomialPreconditioner | ( | Teuchos::RCP< problem_t > & | problem | ) |
Definition at line 863 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::eigenvecsToCoords | ( | Teuchos::RCP< mvector_t > & | eigenVectors, |
| int | computedNumEv, | ||
| Teuchos::RCP< mvector_t > & | coordinates ) |
Definition at line 925 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::computeWeights | ( | std::vector< const weight_t * > | vecweights, |
| std::vector< int > | strides ) |
Definition at line 944 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::MJwrapper | ( | const Teuchos::RCP< const mvector_t > & | coordinates, |
| std::vector< const weight_t * > | weights, | ||
| std::vector< int > | strides, | ||
| const Teuchos::RCP< PartitioningSolution< Adapter > > & | solution ) |
Definition at line 1003 of file Zoltan2_Sphynx.hpp.
| void Zoltan2::Sphynx< Adapter >::setUserEigenvectors | ( | const Teuchos::RCP< mvector_t > & | userEvects | ) |
Definition at line 564 of file Zoltan2_Sphynx.hpp.
| Teuchos::RCP< Tpetra::MultiVector< double, typename Adapter::lno_t, typename Adapter::gno_t, typename Adapter::node_t > > Zoltan2::Sphynx< Adapter >::getSphynxEigenvectors | ( | ) |
Definition at line 574 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 219 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 273 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 361 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 373 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 407 of file Zoltan2_Sphynx.hpp.
|
inline |
Definition at line 454 of file Zoltan2_Sphynx.hpp.