MueLu Version of the Day
Loading...
Searching...
No Matches
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
19namespace MueLu {
20
30template <class Scalar = DefaultScalar,
33 class Node = DefaultNode>
35#undef MUELU_ZEROSUBBLOCKAFACTORY_SHORT
37
38 public:
40
41
42 RCP<const ParameterList> GetValidParameterList() const override;
43
44 void DeclareInput(Level &currentLevel) const override;
45
47
49
50
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
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Base class for factories that use one level (currentLevel).
Factory for extracting a zero block from a BlockedCrsMatrix.
void DeclareInput(Level &currentLevel) const override
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const override
Input.
void Build(Level &currentLevel) const override
Build a zero sub-block object with this factory.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar