MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_DropNegativeEntriesFactory_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_DROPNEGATIVEENTRIESFACTORY_DECL_HPP
11 #define MUELU_DROPNEGATIVEENTRIESFACTORY_DECL_HPP
12 
13 #include "MueLu_ConfigDefs.hpp"
15 
16 #include "MueLu_Level_fwd.hpp"
18 
19 namespace MueLu {
20 
29 template <class Scalar = DefaultScalar,
32  class Node = DefaultNode>
34 #undef MUELU_DROPNEGATIVEENTRIESFACTORY_SHORT
35 #include "MueLu_UseShortNames.hpp"
36 
37  public:
39 
40 
42 
45 
47 
49 
51 
52 
53  void DeclareInput(Level& currentLevel) const;
54 
56 
58 
59 
65  void Build(Level& currentLevel) const;
66 
68 
69 }; // class DropNegativeEntriesFactory
70 
71 } // namespace MueLu
72 
73 #define MUELU_DROPNEGATIVEENTRIESFACTORY_SHORT
74 #endif // MUELU_DROPNEGATIVEENTRIESFACTORY_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
MueLu::DefaultNode Node
RCP< const ParameterList > GetValidParameterList() const
Return a const parameter list of valid parameters that setParameterList() will accept.
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Class that holds all level-specific information.
Definition: MueLu_Level.hpp:63
void Build(Level &currentLevel) const
Build method.
Application-specific filtering for A. Can be used in context of graph coarsening and aggregation...
void DeclareInput(Level &currentLevel) const
Input.
Base class for factories that use one level (currentLevel).