MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_InitialBlockNumberFactory_decl.hpp
Go to the documentation of this file.
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_INITIALBLOCKNUMBER_FACTORY_DECL_HPP
11 #define MUELU_INITIALBLOCKNUMBER_FACTORY_DECL_HPP
12 
13 #include "MueLu_ConfigDefs.hpp"
15 #include "Xpetra_Matrix_fwd.hpp"
16 #include "Xpetra_Vector_fwd.hpp"
18 
20 
21 namespace MueLu {
22 
29 template <class Scalar = DefaultScalar,
32  class Node = DefaultNode>
34 #undef MUELU_INITIALBLOCKNUMBERFACTORY_SHORT
35 #include "MueLu_UseShortNames.hpp"
36 
37  public:
39 
43 
46 
48 
50 
52 
53 
59  void DeclareInput(Level &currentLevel) const;
60 
62 
64 
65 
67  void Build(Level &currentLevel) const;
68 
70 
71  private:
72 }; // class InitialBlockNumberFactory
73 
74 } // namespace MueLu
75 
76 #define MUELU_INITIALBLOCKNUMBERFACTORY_SHORT
77 #endif // MUELU_INITIALBLOCKNUMBER_FACTORY_DECL_HPP
void DeclareInput(Level &currentLevel) const
Specifies the data that this class needs, and the factories that generate that data.
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Class for generating an initial LocalOrdinal-type BlockNumber vector, based on an input paraemter for...
void Build(Level &currentLevel) const
Build an object with this factory.
MueLu::DefaultNode Node
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
Base class for factories that use one level (currentLevel).
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.