MueLu  Version of the Day
MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node > Class Template Reference

MueLu utility class. More...

#include <MueLu_Utilities_fwd.hpp>

Static Public Member Functions

static RCP< Matrix > Transpose (Matrix &Op, bool optimizeTranspose=false, const std::string &label=std::string())
 Transpose a Xpetra::Matrix. More...
 
static void MyOldScaleMatrix_Epetra (Matrix &Op, const Teuchos::ArrayRCP< SC > &scalingVector, bool doFillComplete, bool doOptimizeStorage)
 Scale an Epetra matrix. More...
 
static RCP< MultiVector > ReadMultiVector (const std::string &fileName, const RCP< const Map > &map)
 
static RCP< const Map > ReadMap (const std::string &fileName, Xpetra::UnderlyingLib lib, const RCP< const Teuchos::Comm< int > > &comm)
 

Detailed Description

template<class Scalar, class LocalOrdinal = int, class GlobalOrdinal = LocalOrdinal, class Node = KokkosClassic::DefaultNode::DefaultNodeType>
class MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node >

MueLu utility class.

Separate class for utilities that need a specialization for Epetra.

Definition at line 54 of file MueLu_Utilities_fwd.hpp.

Member Function Documentation

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::Matrix< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node >::Transpose ( Matrix &  Op,
bool  optimizeTranspose = false,
const std::string &  label = std::string() 
)
static

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 1305 of file MueLu_Utilities_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node >::MyOldScaleMatrix_Epetra ( Matrix &  Op,
const Teuchos::ArrayRCP< SC > &  scalingVector,
bool  doFillComplete,
bool  doOptimizeStorage 
)
static

Scale an Epetra matrix.

Definition at line 1352 of file MueLu_Utilities_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< Xpetra::MultiVector< Scalar, LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ReadMultiVector ( const std::string &  fileName,
const RCP< const Map > &  map 
)
static

Definition at line 560 of file MueLu_Utilities_def.hpp.

template<class Scalar , class LocalOrdinal , class GlobalOrdinal , class Node >
RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > MueLu::Utils2< Scalar, LocalOrdinal, GlobalOrdinal, Node >::ReadMap ( const std::string &  fileName,
Xpetra::UnderlyingLib  lib,
const RCP< const Teuchos::Comm< int > > &  comm 
)
static

Definition at line 589 of file MueLu_Utilities_def.hpp.


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