MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_PatternFactory_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_PATTERNFACTORY_DECL_HPP
11#define MUELU_PATTERNFACTORY_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
14
16#include "MueLu_Level_fwd.hpp"
18
19namespace MueLu {
20
27template <class Scalar = DefaultScalar,
30 class Node = DefaultNode>
32#undef MUELU_PATTERNFACTORY_SHORT
34
35 public:
37
38
41
43 virtual ~PatternFactory() {}
44
46
47 RCP<const ParameterList> GetValidParameterList() const;
48
50
51
52 void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
53
55
57
58
64 void Build(Level& fineLevel, Level& coarseLevel) const;
65
67
68}; // class PatternFactory
69
70} // namespace MueLu
71
72#define MUELU_PATTERNFACTORY_SHORT
73#endif // MUELU_PATTERNFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Class that holds all level-specific information.
Factory for building nonzero patterns for energy minimization.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
virtual ~PatternFactory()
Destructor.
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
Base class for factories that use two levels (fineLevel and coarseLevel).
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar