Tpetra parallel linear algebra Version of the Day
Loading...
Searching...
No Matches
Tpetra_replaceDiagonalCrsMatrix_def.hpp File Reference

Definition of Tpetra::repalceDiagonalCrsMatrix. More...

#include "Tpetra_Details_Behavior.hpp"
#include "Tpetra_CrsMatrix.hpp"
#include "Tpetra_Vector.hpp"

Go to the source code of this file.

Namespaces

namespace  Tpetra
 Namespace Tpetra contains the class and methods constituting the Tpetra library.

Functions

template<class SC, class LO, class GO, class NT>
LO Tpetra::replaceDiagonalCrsMatrix (::Tpetra::CrsMatrix< SC, LO, GO, NT > &matrix, const ::Tpetra::Vector< SC, LO, GO, NT > &newDiag)
 Replace diagonal entries of an input Tpetra::CrsMatrix matrix with values given in newDiag.

Detailed Description

Definition of Tpetra::repalceDiagonalCrsMatrix.

Definition in file Tpetra_replaceDiagonalCrsMatrix_def.hpp.