|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|