Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_BlockPreconditioner.hpp
Go to the documentation of this file.
1 // @HEADER
2 // *****************************************************************************
3 // Stokhos Package
4 //
5 // Copyright 2009 NTESS and the Stokhos contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef STOKHOS_BLOCKPRECONDITIONER_HPP
11 #define STOKHOS_BLOCKPRECONDITIONER_HPP
12 
13 #include "Teuchos_RCP.hpp"
14 #include "Stokhos_Operator.hpp"
16 
17 namespace Stokhos {
18 
19  template <typename ordinal_type, typename value_type>
21  public Stokhos::Operator<ordinal_type, value_type> {
22  public:
23 
27  const ordinal_type p, const ordinal_type m);
28 
30  virtual ~BlockPreconditioner();
31 
32  virtual ordinal_type ApplyInverse(
35  ordinal_type m) const;
36 
37  protected:
38 
41 
43  const ordinal_type p;
44  const ordinal_type m;
45 
46  }; // class BlockPreconditioner
47 
48 } // namespace Stokhos
49 
51 
52 #endif // STOKHOS_BLOCKPRECONDITIONER_HPP
53 
const Teuchos::SerialDenseMatrix< ordinal_type, value_type > & K
ordinal_type siz(ordinal_type n, ordinal_type m) const
BlockPreconditioner(const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &K, const ordinal_type p, const ordinal_type m)
Constructor.
ordinal_type facto(ordinal_type n) const
int n
virtual ordinal_type ApplyInverse(const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Input, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Result, ordinal_type m) const
Returns the result of a Operator inverse applied to a Teuchos::SerialDenseMatrix Input in Result...