MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_ZeroSubBlockAFactory_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_ZEROSUBBLOCKAFACTORY_DECL_HPP_
11 #define MUELU_ZEROSUBBLOCKAFACTORY_DECL_HPP_
12 
13 #include <Xpetra_Map_fwd.hpp>
14 
15 #include "MueLu_ConfigDefs.hpp"
18 
19 namespace MueLu {
20 
30 template <class Scalar = DefaultScalar,
33  class Node = DefaultNode>
35 #undef MUELU_ZEROSUBBLOCKAFACTORY_SHORT
36 #include "MueLu_UseShortNames.hpp"
37 
38  public:
40 
41 
43 
44  void DeclareInput(Level &currentLevel) const override;
45 
47 
49 
69  void Build(Level &currentLevel) const override;
70 
72 
73 }; // class ZeroSubBlockAFactory
74 
75 } // namespace MueLu
76 
77 #define MUELU_ZEROSUBBLOCKAFACTORY_SHORT
78 #endif /* MUELU_ZEROSUBBLOCKAFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
void DeclareInput(Level &currentLevel) const override
Specifies the data that this class needs, and the factories that generate that data.
void Build(Level &currentLevel) const override
Build a zero sub-block 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
RCP< const ParameterList > GetValidParameterList() const override
Input.
Base class for factories that use one level (currentLevel).
Factory for extracting a zero block from a BlockedCrsMatrix.