MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_MergedBlockedMatrixFactory_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_MERGEDBLOCKEDMATRIXFACTORY_DECL_HPP_
11#define MUELU_MERGEDBLOCKEDMATRIXFACTORY_DECL_HPP_
12
13#include <Xpetra_Matrix_fwd.hpp>
14#include <Xpetra_CrsMatrix_fwd.hpp>
15#include <Xpetra_BlockedCrsMatrix_fwd.hpp>
16#include <Xpetra_MatrixFactory_fwd.hpp>
17
18#include "MueLu_ConfigDefs.hpp"
20
21#include "MueLu_Level_fwd.hpp"
23
24namespace MueLu {
29template <class Scalar = DefaultScalar,
32 class Node = DefaultNode>
34#undef MUELU_MERGEDBLOCKEDMATRIXFACTORY_SHORT
36
37 public:
39
40
42
45
47
48
49 RCP<const ParameterList> GetValidParameterList() const;
50
51 void DeclareInput(Level &currentLevel) const;
52
54
56
57 void Build(Level &currentLevel) const;
59
60 private:
61}; // class MergedBlockedMatrixFactory
62
63} // namespace MueLu
64
65#define MUELU_MERGEDBLOCKEDMATRIXFACTORY_SHORT
66
67#endif /* MUELU_MERGEDBLOCKEDMATRIXFACTORY_DECL_HPP_ */
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
void DeclareInput(Level &currentLevel) const
Specifies the data that this class needs, and the factories that generate that data.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void Build(Level &currentLevel) const
Build an object with this factory.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar