Tpetra parallel linear algebra
Version of the Day
|
#include "Tpetra_BlockCrsMatrix_fwd.hpp"
#include "Tpetra_CrsMatrix_fwd.hpp"
#include "Tpetra_CrsGraph_fwd.hpp"
#include "Tpetra_Map_fwd.hpp"
#include "Teuchos_RCP.hpp"
#include <string>
#include <ostream>
Go to the source code of this file.
Namespaces | |
Tpetra | |
Namespace Tpetra contains the class and methods constituting the Tpetra library. | |
Functions | |
template<class Scalar , class LO , class GO , class Node > | |
void | Tpetra::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 | Tpetra::blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::string const &fileName, Teuchos::ParameterList const ¶ms) |
Helper function to write a BlockCrsMatrix. Calls the 3-argument version. More... | |
template<class Scalar , class LO , class GO , class Node > | |
void | Tpetra::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 | Tpetra::blockCrsMatrixWriter (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::ostream &os, Teuchos::ParameterList const ¶ms) |
Helper function to write a BlockCrsMatrix. More... | |
template<class Scalar , class LO , class GO , class Node > | |
void | Tpetra::writeMatrixStrip (BlockCrsMatrix< Scalar, LO, GO, Node > const &A, std::ostream &os, Teuchos::ParameterList const ¶ms) |
Helper function called by blockCrsMatrixWriter. More... | |
template<class Scalar , class LO , class GO , class Node > | |
Teuchos::RCP< Tpetra::CrsGraph < LO, GO, Node > > | Tpetra::getBlockCrsGraph (const Tpetra::CrsMatrix< Scalar, LO, GO, Node > &pointMatrix, const LO &blockSize, bool use_local_ID=true) |
Non-member constructor that creates the CrsGraph of a BlockCrsMatrix from an existing point CrsMatrix and a block size. More... | |
template<class Scalar , class LO , class GO , class Node > | |
Teuchos::RCP< BlockCrsMatrix < Scalar, LO, GO, Node > > | Tpetra::convertToBlockCrsMatrix (const Tpetra::CrsMatrix< Scalar, LO, GO, Node > &pointMatrix, const LO &blockSize, bool use_local_ID=true) |
Non-member constructor that creates a BlockCrsMatrix from an existing point CrsMatrix. More... | |
template<class Scalar , class LO , class GO , class Node > | |
Teuchos::RCP < Tpetra::CrsMatrix< Scalar, LO, GO, Node > > | Tpetra::fillLogicalBlocks (const Tpetra::CrsMatrix< Scalar, LO, GO, Node > &pointMatrix, const LO &blockSize) |
Fill all point entries in a logical block of a CrsMatrix with zeroes. This should be called before convertToBlockCrsMatrix if your Crs is not filled. Performed on host. More... | |
template<class Scalar , class LO , class GO , class Node > | |
Teuchos::RCP < Tpetra::CrsMatrix< Scalar, LO, GO, Node > > | Tpetra::unfillFormerBlockCrs (const Tpetra::CrsMatrix< Scalar, LO, GO, Node > &pointMatrix) |
Unfill all point entries in a logical block of a CrsMatrix with zeroes. This can be called after convertToCrsMatrix if you don't want to keep the filled values. Performed on host. More... | |
template<class LO , class GO , class Node > | |
Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > | Tpetra::createMeshMap (LO const &blockSize, const Tpetra::Map< LO, GO, Node > &pointMap, bool use_local_ID=false) |
Helper function to generate a mesh map from a point map. Important! It's assumed that point GIDs associated with a single mesh GID appear consecutively in pointMap. More... | |
template<class Scalar , class LO , class GO , class Node > | |
Teuchos::RCP< CrsMatrix < Scalar, LO, GO, Node > > | Tpetra::convertToCrsMatrix (const Tpetra::BlockCrsMatrix< Scalar, LO, GO, Node > &blockMatrix) |
Non-member constructor that creates a point CrsMatrix from an existing BlockCrsMatrix. More... | |
template<class LO , class GO , class Node > | |
Teuchos::RCP< const Tpetra::Map< LO, GO, Node > > | Tpetra::createPointMap (LO const &blockSize, const Tpetra::Map< LO, GO, Node > &blockMap) |
Helper function to generate a point map from a block map (with a given block size) GIDs associated with a single mesh GID appear consecutively in the output map. More... | |