Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stokhos_Operator.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_OPERATOR_HPP
11 #define STOKHOS_OPERATOR_HPP
12 
14 
15 namespace Stokhos {
16 
17  template <typename ordinal_type, typename value_type>
18  class Operator {
19  public:
20 
22  Operator() {}
23 
25  virtual ~Operator() {}
26 
28  virtual ordinal_type ApplyInverse(
31  ordinal_type m) const = 0;
32 
33  }; // class Operator
34 
35 } // namespace Stokhos
36 
37 #endif // STOKHOS_OPERATOR_HPP
virtual ~Operator()
Destructor.
virtual ordinal_type ApplyInverse(const Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Input, Teuchos::SerialDenseMatrix< ordinal_type, value_type > &Result, ordinal_type m) const =0
Returns the result of a Operator inverse applied to a Teuchos::SerialDenseMatrix Input in Result...
Operator()
Constructor.