MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu_ConstraintFactory_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_CONSTRAINTFACTORY_DECL_HPP
11#define MUELU_CONSTRAINTFACTORY_DECL_HPP
12
13#include "MueLu_ConfigDefs.hpp"
18#include "MueLu_Level_fwd.hpp"
19
20namespace MueLu {
21
31template <class Scalar = DefaultScalar,
34 class Node = DefaultNode>
36#undef MUELU_CONSTRAINTFACTORY_SHORT
38
39 public:
41
42
48
50 virtual ~ConstraintFactory() {}
51
53
54 RCP<const ParameterList> GetValidParameterList() const;
55
57
58
59 void DeclareInput(Level& fineLevel, Level& coarseLevel) const;
60
62
64
70 void Build(Level& fineLevel, Level& coarseLevel) const;
71
73}; // class ConstraintFactory
74
75} // namespace MueLu
76
77#define MUELU_CONSTRAINTFACTORY_SHORT
78#endif // MUELU_CONSTRAINTFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
Factory for building the constraint operator.
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
ConstraintFactory()
Constructor. User can supply a factory for generating the nonzero pattern. The nullspace vectors (bot...
void Build(Level &fineLevel, Level &coarseLevel) const
Build method.
void DeclareInput(Level &fineLevel, Level &coarseLevel) const
Input.
Class that holds all level-specific information.
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