Ifpack2 Templated Preconditioning Package
Version 1.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
Ifpack2_Details_CanChangeMatrix.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Ifpack2: Templated Object-Oriented Algebraic Preconditioner Package
4
//
5
// Copyright 2009 NTESS and the Ifpack2 contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef IFPACK2_DETAILS_CANCHANGEMATRIX_HPP
11
#define IFPACK2_DETAILS_CANCHANGEMATRIX_HPP
12
19
20
#include <Ifpack2_ConfigDefs.hpp>
21
#include <Tpetra_RowMatrix_decl.hpp>
22
23
namespace
Ifpack2
{
24
namespace
Details {
25
59
template
<
class
RowMatrixType>
60
class
CanChangeMatrix
{
61
public
:
84
virtual
void
85
setMatrix
(
const
Teuchos::RCP<const RowMatrixType>& A) = 0;
86
88
virtual
~CanChangeMatrix
() {}
89
};
90
91
}
// namespace Details
92
}
// namespace Ifpack2
93
94
#endif
// IFPACK2_DETAILS_CANCHANGEMATRIX_HPP
Ifpack2::Details::CanChangeMatrix
Mix-in interface for preconditioners that can change their matrix after construction.
Definition
Ifpack2_Details_CanChangeMatrix.hpp:60
Ifpack2::Details::CanChangeMatrix::~CanChangeMatrix
virtual ~CanChangeMatrix()
Destructor.
Definition
Ifpack2_Details_CanChangeMatrix.hpp:88
Ifpack2::Details::CanChangeMatrix::setMatrix
virtual void setMatrix(const Teuchos::RCP< const RowMatrixType > &A)=0
Set the new matrix.
Ifpack2
Preconditioners and smoothers for Tpetra sparse matrices.
Definition
Ifpack2_AdditiveSchwarz_decl.hpp:40
Generated by
1.17.0