Tpetra parallel linear algebra  Version of the Day
Classes | Functions
Tpetra::Experimental Namespace Reference

Namespace for new Tpetra features that are not ready for public release, but are ready for evaluation by friendly expert users. More...

Classes

class  BlockCrsMatrix
 Constant block CRS matrix class. More...
 
class  BlockMultiVector
 MultiVector for multiple degrees of freedom per mesh point. More...
 
class  BlockVector
 Vector for multiple degrees of freedom per mesh point. More...
 
class  LittleBlock
 Nonowning view of a square dense block in a block matrix. More...
 
class  LittleVector
 Nonowning view of a set of degrees of freedom corresponding to a mesh point in a block vector or multivector. More...
 

Functions

template<class Scalar , class LO , class GO , class Node >
void blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::string const &fileName)
 Helper function to write a BlockCrsMatrix. Calls the 3-argument version. More...
 
template<class Scalar , class LO , class GO , class Node >
void blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::string const &fileName, Teuchos::ParameterList const &params)
 Helper function to write a BlockCrsMatrix. Calls the 3-argument version. More...
 
template<class Scalar , class LO , class GO , class Node >
void blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::ostream &os)
 Helper function to write a BlockCrsMatrix. Calls the 3-argument version. More...
 
template<class Scalar , class LO , class GO , class Node >
void blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::ostream &os, Teuchos::ParameterList const &params)
 Helper function to write a BlockCrsMatrix. More...
 
template<class Scalar , class LO , class GO , class Node >
void writeMatrixStrip (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::ostream &os, Teuchos::ParameterList const &params)
 Helper function called by blockCrsMatrixWriter. More...
 

Detailed Description

Namespace for new Tpetra features that are not ready for public release, but are ready for evaluation by friendly expert users.

Warning
Expect header files, classes, functions, and other interfaces to change or disappear. Anything in this namespace is under active development and evaluation. Documentation may be sparse or not exist yet. Generally, unit tests will exist, but coverage may be lacking. If you understand these caveats and accept them, please feel free to take a look inside and try things out.

Function Documentation

template<class Scalar , class LO , class GO , class Node >
void Tpetra::Experimental::blockCrsMatrixWriter ( BlockCrsMatrix< Scalar, LO, GO, Node > const &  A,
std::string const &  fileName 
)

Helper function to write a BlockCrsMatrix. Calls the 3-argument version.

Definition at line 1030 of file Tpetra_Experimental_BlockCrsMatrix_decl.hpp.

template<class Scalar , class LO , class GO , class Node >
void Tpetra::Experimental::blockCrsMatrixWriter ( BlockCrsMatrix< Scalar, LO, GO, Node > const &  A,
std::string const &  fileName,
Teuchos::ParameterList const &  params 
)

Helper function to write a BlockCrsMatrix. Calls the 3-argument version.

Definition at line 1039 of file Tpetra_Experimental_BlockCrsMatrix_decl.hpp.

template<class Scalar , class LO , class GO , class Node >
void Tpetra::Experimental::blockCrsMatrixWriter ( BlockCrsMatrix< Scalar, LO, GO, Node > const &  A,
std::ostream &  os 
)

Helper function to write a BlockCrsMatrix. Calls the 3-argument version.

Definition at line 1047 of file Tpetra_Experimental_BlockCrsMatrix_decl.hpp.

template<class Scalar , class LO , class GO , class Node >
void Tpetra::Experimental::blockCrsMatrixWriter ( BlockCrsMatrix< Scalar, LO, GO, Node > const &  A,
std::ostream &  os,
Teuchos::ParameterList const &  params 
)

Helper function to write a BlockCrsMatrix.

Writes the block matrix to the specified ostream in point form. The following parameter list options are available:

  • "always use parallel algorithm" : on one process, this forces the use of the parallel strip-mining algorithm (default=false)
  • "print MatrixMarket header" : if false, don't print the MatrixMarket header (default=true)
  • "precision" : precision to be used in printing matrix entries (default=C++ default)
  • "zero-based indexing" : if true, print the matrix with 0-based indexing (default=false)

Definition at line 1062 of file Tpetra_Experimental_BlockCrsMatrix_decl.hpp.

template<class Scalar , class LO , class GO , class Node >
void Tpetra::Experimental::writeMatrixStrip ( BlockCrsMatrix< Scalar, LO, GO, Node > const &  A,
std::ostream &  os,
Teuchos::ParameterList const &  params 
)

Helper function called by blockCrsMatrixWriter.

This function should not be called directly.

Definition at line 1172 of file Tpetra_Experimental_BlockCrsMatrix_decl.hpp.