MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_ReorderBlockAFactory_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_REORDERBLOCKAFACTORY_DECL_HPP_
11#define MUELU_REORDERBLOCKAFACTORY_DECL_HPP_
12
13#include <Xpetra_Map_fwd.hpp>
14#include <Xpetra_MapExtractor_fwd.hpp>
15#include <Xpetra_StridedMap_fwd.hpp>
16#include <Xpetra_StridedMapFactory_fwd.hpp>
17#include "Xpetra_ReorderedBlockedCrsMatrix_fwd.hpp"
18
19#include "MueLu_ConfigDefs.hpp"
21
22namespace MueLu {
23
37template <class Scalar, class LocalOrdinal, class GlobalOrdinal, class Node>
39#undef MUELU_REORDERBLOCKAFACTORY_SHORT
41
42 public:
44
45
46 RCP<const ParameterList> GetValidParameterList() const;
47
48 void DeclareInput(Level &currentLevel) const;
49
51
53
54
57 void Build(Level &currentLevel) const;
58
60}; // class ReorderBlockAFactory
61
62} // namespace MueLu
63
64#define MUELU_REORDERBLOCKAFACTORY_SHORT
65#endif /* MUELU_REORDERBLOCKAFACTORY_DECL_HPP_ */
Class that holds all level-specific information.
Factory for building a reordered (nested) block operator.
RCP< const ParameterList > GetValidParameterList() const
Input.
void Build(Level &currentLevel) const
Build an object with this factory.
void DeclareInput(Level &currentLevel) const
Specifies the data that this class needs, and the factories that generate that data.
Base class for factories that use one level (currentLevel).
Namespace for MueLu classes and methods.