MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::Utilities< double, int, int, Xpetra::EpetraNode > Class Reference

#include <MueLu_Utilities_decl.hpp>

Inheritance diagram for MueLu::Utilities< double, int, int, Xpetra::EpetraNode >:
MueLu::UtilitiesBase< double, int, int, Xpetra::EpetraNode > MueLu::UtilitiesBase< double, int, int, Xpetra::EpetraNode >

Public Types

typedef double Scalar
typedef int LocalOrdinal
typedef int GlobalOrdinal
typedef Xpetra::EpetraNode Node
typedef Teuchos::ScalarTraits< Scalar >::magnitudeType Magnitude
Public Types inherited from MueLu::UtilitiesBase< double, int, int, Xpetra::EpetraNode >
typedef Teuchos::ScalarTraits< double >::magnitudeType Magnitude

Static Public Member Functions

static RCP< const Epetra_MultiVectorMV2EpetraMV (RCP< MultiVector > const vec)
 Helper utility to pull out the underlying Epetra objects from an Xpetra object.
static RCP< Epetra_MultiVectorMV2NonConstEpetraMV (RCP< MultiVector > vec)
static const Epetra_MultiVectorMV2EpetraMV (const MultiVector &vec)
static Epetra_MultiVectorMV2NonConstEpetraMV (MultiVector &vec)
static RCP< const Epetra_CrsMatrixOp2EpetraCrs (RCP< const Matrix > Op)
static RCP< Epetra_CrsMatrixOp2NonConstEpetraCrs (RCP< Matrix > Op)
static const Epetra_CrsMatrixOp2EpetraCrs (const Matrix &Op)
static Epetra_CrsMatrixOp2NonConstEpetraCrs (Matrix &Op)
static const Epetra_MapMap2EpetraMap (const Map &map)
static RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MV2TpetraMV (RCP< MultiVector > const vec)
 Helper utility to pull out the underlying Tpetra objects from an Xpetra object.
static RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MV2NonConstTpetraMV (RCP< MultiVector > vec)
static RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MV2NonConstTpetraMV2 (MultiVector &vec)
static const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MV2TpetraMV (const MultiVector &vec)
static Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MV2NonConstTpetraMV (MultiVector &vec)
static RCP< const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2TpetraCrs (RCP< const Matrix > Op)
static RCP< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2NonConstTpetraCrs (RCP< Matrix > Op)
static const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Op2TpetraCrs (const Matrix &Op)
static Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Op2NonConstTpetraCrs (Matrix &Op)
static RCP< const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2TpetraBlockCrs (RCP< const Matrix > Op)
static RCP< Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2NonConstTpetraBlockCrs (RCP< Matrix > Op)
static const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Op2TpetraBlockCrs (const Matrix &Op)
static Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & Op2NonConstTpetraBlockCrs (Matrix &Op)
static RCP< const Tpetra::RowMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2TpetraRow (RCP< const Operator > Op)
static RCP< Tpetra::RowMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > Op2NonConstTpetraRow (RCP< Operator > Op)
static const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > Map2TpetraMap (const Map &map)
static void MyOldScaleMatrix (Matrix &Op, const Teuchos::ArrayRCP< const Scalar > &scalingVector, bool doInverse=true, bool doFillComplete=true, bool doOptimizeStorage=true)
static void MyOldScaleMatrix_Tpetra (Matrix &Op, const Teuchos::ArrayRCP< Scalar > &scalingVector, bool doFillComplete, bool doOptimizeStorage)
static void MyOldScaleMatrix_Epetra (Matrix &Op, const Teuchos::ArrayRCP< Scalar > &scalingVector, bool, bool)
static RCP< Matrix > Transpose (Matrix &Op, bool=false, const std::string &label=std::string(), const Teuchos::RCP< Teuchos::ParameterList > &params=Teuchos::null)
 Transpose a Xpetra::Matrix.
static RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::magnitudeType, LocalOrdinal, GlobalOrdinal, Node > > RealValuedToScalarMultiVector (RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::coordinateType, LocalOrdinal, GlobalOrdinal, Node > > X)
static RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::magnitudeType, LocalOrdinal, GlobalOrdinal, Node > > ExtractCoordinatesFromParameterList (ParameterList &paramList)
 Extract coordinates from parameter list and return them in a Xpetra::MultiVector.
Static Public Member Functions inherited from MueLu::UtilitiesBase< double, int, int, Xpetra::EpetraNode >
static RCP< Matrix > Crs2Op (RCP< CrsMatrix > Op)
static RCP< CrsMatrixWrap > GetThresholdedMatrix (const RCP< Matrix > &Ain, const double threshold, const bool keepDiagonal=true, const int expectedNNZperRow=-1)
 Threshold a matrix.
static RCP< Xpetra::CrsGraph< int, int, Xpetra::EpetraNode > > GetThresholdedGraph (const RCP< Matrix > &A, const Magnitude threshold, const int expectedNNZperRow=-1)
 Threshold a graph.
static Teuchos::ArrayRCP< double > GetMatrixDiagonal_arcp (const Matrix &A)
 Extract Matrix Diagonal.
static RCP< Vector > GetMatrixDiagonal (const Matrix &A)
 Extract Matrix Diagonal.
static RCP< Vector > GetMatrixDiagonalInverse (const Matrix &A, Magnitude tol=Teuchos::ScalarTraits< double >::eps() *100, double valReplacement=Teuchos::ScalarTraits< double >::zero(), const bool doLumped=false)
 Extract Matrix Diagonal.
static Teuchos::RCP< Vector > GetLumpedMatrixDiagonal (Matrix const &A, const bool doReciprocal=false, Magnitude tol=Teuchos::ScalarTraits< double >::magnitude(Teuchos::ScalarTraits< double >::zero()), double valReplacement=Teuchos::ScalarTraits< double >::zero(), const bool replaceSingleEntryRowWithZero=false, const bool useAverageAbsDiagVal=false)
 Extract Matrix Diagonal of lumped matrix.
static Teuchos::ArrayRCP< MagnitudeGetMatrixMaxMinusOffDiagonal (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A)
 Return vector containing: max_{i\not=k}(-a_ik), for each for i in the matrix.
static Teuchos::RCP< Vector > GetInverse (Teuchos::RCP< const Vector > v, Magnitude tol=Teuchos::ScalarTraits< double >::eps() *100, double valReplacement=Teuchos::ScalarTraits< double >::zero())
 Return vector containing inverse of input vector.
static RCP< Vector > GetMatrixOverlappedDiagonal (const Matrix &A)
 Extract Overlapped Matrix Diagonal.
static RCP< Vector > GetMatrixOverlappedDeletedRowsum (const Matrix &A)
 Extract Overlapped Matrix Deleted Rowsum.
static RCP< Xpetra::Vector< Magnitude, int, int, Xpetra::EpetraNode > > GetMatrixOverlappedAbsDeletedRowsum (const Matrix &A)
static Teuchos::Array< MagnitudeResidualNorm (const Xpetra::Operator< double, int, int, Xpetra::EpetraNode > &Op, const MultiVector &X, const MultiVector &RHS)
static RCP< MultiVector > Residual (const Xpetra::Operator< double, int, int, Xpetra::EpetraNode > &Op, const MultiVector &X, const MultiVector &RHS)
static double PowerMethod (const Matrix &A, bool scaleByDiag=true, int niters=10, Magnitude tolerance=1e-2, bool verbose=false, unsigned int seed=123)
 Power method.
static RCP< Teuchos::FancyOStream > MakeFancy (std::ostream &os)
static Teuchos::ScalarTraits< double >::magnitudeType Distance2 (const Teuchos::Array< Teuchos::ArrayRCP< const double > > &v, int i0, int i1)
 Squared distance between two rows in a multivector.
static Teuchos::ArrayRCP< const bool > DetectDirichletRows (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, const Magnitude &tol=Teuchos::ScalarTraits< Magnitude >::zero(), bool count_twos_as_dirichlet=false)
 Detect Dirichlet rows.
static Kokkos::View< bool *, typename NO::device_type > DetectDirichletRows_kokkos (const Matrix &A, const Magnitude &tol=Teuchos::ScalarTraits< typename Teuchos::ScalarTraits< SC >::magnitudeType >::zero(), const bool count_twos_as_dirichlet=false)
 Detect Dirichlet rows.
static Teuchos::ArrayRCP< const bool > DetectDirichletRowsExt (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, bool &bHasZeroDiagonal, const Magnitude &tol=Teuchos::ScalarTraits< double >::zero())
 Detect Dirichlet rows (extended version).
static void FindNonZeros (const Teuchos::ArrayRCP< const double > vals, Teuchos::ArrayRCP< bool > nonzeros)
 Find non-zero values in an ArrayRCP Compares the value to 2 * machine epsilon.
static void DetectDirichletColsAndDomains (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, const Teuchos::ArrayRCP< bool > &dirichletRows, Teuchos::ArrayRCP< bool > dirichletCols, Teuchos::ArrayRCP< bool > dirichletDomain)
 Detects Dirichlet columns & domains from a list of Dirichlet rows.
static void ApplyRowSumCriterion (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, const Magnitude rowSumTol, Teuchos::ArrayRCP< bool > &dirichletRows)
 Apply Rowsum Criterion.
static Teuchos::ArrayRCP< const bool > DetectDirichletCols (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, const Teuchos::ArrayRCP< const bool > &dirichletRows)
 Detect Dirichlet columns based on Dirichlet rows.
static double Frobenius (const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &A, const Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > &B)
 Frobenius inner product of two matrices.
static void SetRandomSeed (const Teuchos::Comm< int > &comm)
 Set seed for random number generator.
static void FindDirichletRows (Teuchos::RCP< Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > > &A, std::vector< int > &dirichletRows, bool count_twos_as_dirichlet=false)
static void ApplyOAZToMatrixRows (Teuchos::RCP< Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > > &A, const std::vector< int > &dirichletRows)
static void ZeroDirichletRows (Teuchos::RCP< Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > > &A, const std::vector< int > &dirichletRows, double replaceWith=Teuchos::ScalarTraits< double >::zero())
static void ZeroDirichletCols (Teuchos::RCP< Matrix > &A, const Teuchos::ArrayRCP< const bool > &dirichletCols, double replaceWith=Teuchos::ScalarTraits< double >::zero())
static void FindDirichletRowsAndPropagateToCols (Teuchos::RCP< Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > > &A, Teuchos::RCP< Xpetra::Vector< int, int, int, Xpetra::EpetraNode > > &isDirichletRow, Teuchos::RCP< Xpetra::Vector< int, int, int, Xpetra::EpetraNode > > &isDirichletCol)
static RCP< Xpetra::Matrix< double, int, int, Xpetra::EpetraNode > > ReplaceNonZerosWithOnes (const RCP< Matrix > &original)
 Creates a copy of a matrix where the non-zero entries are replaced by ones.
static RCP< const Xpetra::BlockedMap< int, int, Xpetra::EpetraNode > > GeneratedBlockedTargetMap (const Xpetra::BlockedMap< int, int, Xpetra::EpetraNode > &sourceBlockedMap, const Xpetra::Import< int, int, Xpetra::EpetraNode > &Importer)
static bool MapsAreNested (const Xpetra::Map< int, int, Xpetra::EpetraNode > &rowMap, const Xpetra::Map< int, int, Xpetra::EpetraNode > &colMap)
static RCP< Xpetra::Vector< int, int, int, Xpetra::EpetraNode > > CuthillMcKee (const Matrix &Op)
static RCP< Xpetra::Vector< int, int, int, Xpetra::EpetraNode > > ReverseCuthillMcKee (const Matrix &Op)

Private Types

using EpetraMap = Xpetra::EpetraMapT<GlobalOrdinal,Node>
using EpetraMultiVector = Xpetra::EpetraMultiVectorT<GlobalOrdinal,Node>

Detailed Description

Definition at line 234 of file MueLu_Utilities_decl.hpp.

Member Typedef Documentation

◆ Scalar

typedef double MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Scalar

Definition at line 236 of file MueLu_Utilities_decl.hpp.

◆ LocalOrdinal

typedef int MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::LocalOrdinal

Definition at line 237 of file MueLu_Utilities_decl.hpp.

◆ GlobalOrdinal

typedef int MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::GlobalOrdinal

Definition at line 238 of file MueLu_Utilities_decl.hpp.

◆ Node

typedef Xpetra::EpetraNode MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Node

Definition at line 239 of file MueLu_Utilities_decl.hpp.

◆ Magnitude

typedef Teuchos::ScalarTraits<Scalar>::magnitudeType MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Magnitude

Definition at line 240 of file MueLu_Utilities_decl.hpp.

◆ EpetraMap

using MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::EpetraMap = Xpetra::EpetraMapT<GlobalOrdinal,Node>
private

Definition at line 245 of file MueLu_Utilities_decl.hpp.

◆ EpetraMultiVector

using MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::EpetraMultiVector = Xpetra::EpetraMultiVectorT<GlobalOrdinal,Node>
private

Definition at line 246 of file MueLu_Utilities_decl.hpp.

Member Function Documentation

◆ MV2EpetraMV() [1/2]

RCP< const Epetra_MultiVector > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2EpetraMV ( RCP< MultiVector > const vec)
inlinestatic

Helper utility to pull out the underlying Epetra objects from an Xpetra object.

Definition at line 252 of file MueLu_Utilities_decl.hpp.

◆ MV2NonConstEpetraMV() [1/2]

RCP< Epetra_MultiVector > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2NonConstEpetraMV ( RCP< MultiVector > vec)
inlinestatic

Definition at line 258 of file MueLu_Utilities_decl.hpp.

◆ MV2EpetraMV() [2/2]

const Epetra_MultiVector & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2EpetraMV ( const MultiVector & vec)
inlinestatic

Definition at line 265 of file MueLu_Utilities_decl.hpp.

◆ MV2NonConstEpetraMV() [2/2]

Epetra_MultiVector & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2NonConstEpetraMV ( MultiVector & vec)
inlinestatic

Definition at line 269 of file MueLu_Utilities_decl.hpp.

◆ Op2EpetraCrs() [1/2]

RCP< const Epetra_CrsMatrix > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2EpetraCrs ( RCP< const Matrix > Op)
inlinestatic

Definition at line 274 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstEpetraCrs() [1/2]

RCP< Epetra_CrsMatrix > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstEpetraCrs ( RCP< Matrix > Op)
inlinestatic

Definition at line 283 of file MueLu_Utilities_decl.hpp.

◆ Op2EpetraCrs() [2/2]

const Epetra_CrsMatrix & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2EpetraCrs ( const Matrix & Op)
inlinestatic

Definition at line 293 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstEpetraCrs() [2/2]

Epetra_CrsMatrix & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstEpetraCrs ( Matrix & Op)
inlinestatic

Definition at line 306 of file MueLu_Utilities_decl.hpp.

◆ Map2EpetraMap()

const Epetra_Map & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Map2EpetraMap ( const Map & map)
inlinestatic

Definition at line 320 of file MueLu_Utilities_decl.hpp.

◆ MV2TpetraMV() [1/2]

RCP< const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2TpetraMV ( RCP< MultiVector > const vec)
inlinestatic

Helper utility to pull out the underlying Tpetra objects from an Xpetra object.

Definition at line 329 of file MueLu_Utilities_decl.hpp.

◆ MV2NonConstTpetraMV() [1/2]

RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2NonConstTpetraMV ( RCP< MultiVector > vec)
inlinestatic

Definition at line 340 of file MueLu_Utilities_decl.hpp.

◆ MV2NonConstTpetraMV2()

RCP< Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2NonConstTpetraMV2 ( MultiVector & vec)
inlinestatic

Definition at line 352 of file MueLu_Utilities_decl.hpp.

◆ MV2TpetraMV() [2/2]

const Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2TpetraMV ( const MultiVector & vec)
inlinestatic

Definition at line 362 of file MueLu_Utilities_decl.hpp.

◆ MV2NonConstTpetraMV() [2/2]

Tpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MV2NonConstTpetraMV ( MultiVector & vec)
inlinestatic

Definition at line 371 of file MueLu_Utilities_decl.hpp.

◆ Op2TpetraCrs() [1/2]

RCP< const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2TpetraCrs ( RCP< const Matrix > Op)
inlinestatic

Definition at line 381 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstTpetraCrs() [1/2]

RCP< Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstTpetraCrs ( RCP< Matrix > Op)
inlinestatic

Definition at line 396 of file MueLu_Utilities_decl.hpp.

◆ Op2TpetraCrs() [2/2]

const Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2TpetraCrs ( const Matrix & Op)
inlinestatic

Definition at line 411 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstTpetraCrs() [2/2]

Tpetra::CrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstTpetraCrs ( Matrix & Op)
inlinestatic

Definition at line 429 of file MueLu_Utilities_decl.hpp.

◆ Op2TpetraBlockCrs() [1/2]

RCP< const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2TpetraBlockCrs ( RCP< const Matrix > Op)
inlinestatic

Definition at line 449 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstTpetraBlockCrs() [1/2]

RCP< Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstTpetraBlockCrs ( RCP< Matrix > Op)
inlinestatic

Definition at line 465 of file MueLu_Utilities_decl.hpp.

◆ Op2TpetraBlockCrs() [2/2]

const Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2TpetraBlockCrs ( const Matrix & Op)
inlinestatic

Definition at line 480 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstTpetraBlockCrs() [2/2]

Tpetra::BlockCrsMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > & MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstTpetraBlockCrs ( Matrix & Op)
inlinestatic

Definition at line 498 of file MueLu_Utilities_decl.hpp.

◆ Op2TpetraRow()

RCP< const Tpetra::RowMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2TpetraRow ( RCP< const Operator > Op)
inlinestatic

Definition at line 518 of file MueLu_Utilities_decl.hpp.

◆ Op2NonConstTpetraRow()

RCP< Tpetra::RowMatrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Op2NonConstTpetraRow ( RCP< Operator > Op)
inlinestatic

Definition at line 550 of file MueLu_Utilities_decl.hpp.

◆ Map2TpetraMap()

const RCP< const Tpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Map2TpetraMap ( const Map & map)
inlinestatic

Definition at line 583 of file MueLu_Utilities_decl.hpp.

◆ MyOldScaleMatrix()

void MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MyOldScaleMatrix ( Matrix & Op,
const Teuchos::ArrayRCP< const Scalar > & scalingVector,
bool doInverse = true,
bool doFillComplete = true,
bool doOptimizeStorage = true )
inlinestatic

Definition at line 596 of file MueLu_Utilities_decl.hpp.

◆ MyOldScaleMatrix_Tpetra()

void MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MyOldScaleMatrix_Tpetra ( Matrix & Op,
const Teuchos::ArrayRCP< Scalar > & scalingVector,
bool doFillComplete,
bool doOptimizeStorage )
inlinestatic

Definition at line 623 of file MueLu_Utilities_decl.hpp.

◆ MyOldScaleMatrix_Epetra()

void MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::MyOldScaleMatrix_Epetra ( Matrix & Op,
const Teuchos::ArrayRCP< Scalar > & scalingVector,
bool ,
bool  )
inlinestatic

Definition at line 703 of file MueLu_Utilities_decl.hpp.

◆ Transpose()

RCP< Matrix > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::Transpose ( Matrix & Op,
bool = false,
const std::string & label = std::string(),
const Teuchos::RCP< Teuchos::ParameterList > & params = Teuchos::null )
inlinestatic

Transpose a Xpetra::Matrix.

Note: Currently, an error is thrown if the matrix isn't a Tpetra::CrsMatrix or Epetra_CrsMatrix. In principle, however, we could allow any Epetra_RowMatrix because the Epetra transposer does.

Definition at line 733 of file MueLu_Utilities_decl.hpp.

◆ RealValuedToScalarMultiVector()

RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::magnitudeType, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::RealValuedToScalarMultiVector ( RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::coordinateType, LocalOrdinal, GlobalOrdinal, Node > > X)
inlinestatic

Definition at line 833 of file MueLu_Utilities_decl.hpp.

◆ ExtractCoordinatesFromParameterList()

RCP< Xpetra::MultiVector< typename Teuchos::ScalarTraits< Scalar >::magnitudeType, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utilities< double, int, int, Xpetra::EpetraNode >::ExtractCoordinatesFromParameterList ( ParameterList & paramList)
inlinestatic

Extract coordinates from parameter list and return them in a Xpetra::MultiVector.

Definition at line 840 of file MueLu_Utilities_decl.hpp.


The documentation for this class was generated from the following files: