Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_replaceDiagonalCrsMatrix_decl.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Tpetra: Templated Linear Algebra Services Package
4 //
5 // Copyright 2008 NTESS and the Tpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TPETRA_REPLACEDIAGONALCRSMATRIX_DECL_HPP
11 #define TPETRA_REPLACEDIAGONALCRSMATRIX_DECL_HPP
12 
15 
16 #include "Tpetra_CrsMatrix_fwd.hpp"
17 #include "Tpetra_Vector_fwd.hpp"
18 
19 namespace Tpetra {
20 
39 template<class SC, class LO, class GO, class NT>
40 LO
42  const ::Tpetra::Vector<SC, LO, GO, NT>& newDiag);
43 
44 } // namespace Tpetra
45 
46 #endif // #ifndef TPETRA_REPLACEDIAGONALCRSMATRIX_DECL_HPP
Sparse matrix that presents a row-oriented interface that lets users read or modify entries...
LO 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...
Forward declaration of Tpetra::CrsMatrix.
Forward declaration of Tpetra::Vector.