Debian Codegraph @

packages/anasazi/src-rbgen/RBGen_PODMethod.hpp

raw
1 // @HEADER
2 // *****************************************************************************
3 // Anasazi: Block Eigensolvers Package
4 //
5 // Copyright 2004 NTESS and the Anasazi contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9
10 #ifndef RBGEN_POD_METHOD_HPP
11 #define RBGEN_POD_METHOD_HPP
12
13 #include "RBGen_ConfigDefs.h"
14
15 namespace RBGen {
16
17 //! Abstract base class for reduced basis POD methods
18 template<class ScalarType>
19 class PODMethod {
20
21 public:
22 //! @name Constructor/Destructor.
23 //@{
24
25 //! Default constructor.
26 PODMethod() {};
27
28 //! Destructor.
29 virtual ~PODMethod() {};
30 //@}
31
32 //! @name Get methods
33 //@{
34
35 //! Returns the singular values computed corresponding to the reduced basis.
36 virtual std::vector<ScalarType> getSingularValues() const = 0;
37
38 //@}
39
40 };
41
42 } // end of RBGen namespace
43
44 #endif // RBGEN_POD_METHOD_HPP