Debian Codegraph @

packages/muelu/src/Transfers/Energy-Minimization/MueLu_NullspacePresmoothFactory_decl.hpp

raw
1 // @HEADER
2 // *****************************************************************************
3 // MueLu: A package for multigrid based preconditioning
4 //
5 // Copyright 2012 NTESS and the MueLu contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9
10 #ifndef MUELU_NULLSPACEPRESMOOTHFACTORY_DECL_HPP
11 #define MUELU_NULLSPACEPRESMOOTHFACTORY_DECL_HPP
12
13 #include "MueLu_ConfigDefs.hpp"
14 #include "MueLu_SingleLevelFactoryBase.hpp"
15 #include "MueLu_Utilities_fwd.hpp"
16
17 namespace MueLu {
18
19 template <class Scalar = DefaultScalar,
20 class LocalOrdinal = DefaultLocalOrdinal,
21 class GlobalOrdinal = DefaultGlobalOrdinal,
22 class Node = DefaultNode>
23 class NullspacePresmoothFactory : public SingleLevelFactoryBase {
24 #undef MUELU_NULLSPACEPRESMOOTHFACTORY_SHORT
25 #include "MueLu_UseShortNames.hpp"
26
27 public:
28 //! @name Constructors/Destructors.
29 //@{
30
31 //! Constructor
32 NullspacePresmoothFactory() {}
33
34 //! Destructor
35 virtual ~NullspacePresmoothFactory() {}
36
37 //@}
38
39 RCP<const ParameterList> GetValidParameterList() const;
40
41 //! @name Input
42 //@{
43 /*! @brief Specifies the data that this class needs, and the factories that generate that data.
44
45 If the Build method of this class requires some data, but the generating factory is not specified in DeclareInput, then this class
46 will fall back to the settings in FactoryManager.
47 */
48
49 void DeclareInput(Level &currentLevel) const;
50
51 //@}
52
53 //! @name Build methods.
54 //@{
55
56 //! Build an object with this factory.
57 void Build(Level &currentLevel) const;
58
59 //@}
60
61 private:
62 }; // class NullspacePresmoothFactory
63
64 } // namespace MueLu
65
66 #define MUELU_NULLSPACEPRESMOOTHFACTORY_SHORT
67 #endif // MUELU_NULLSPACEPRESMOOTHFACTORY_DECL_HPP