MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu_PreDropFunctionBaseClass_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_PREDROPFUNCTIONBASECLASS_DECL_HPP
11 #define MUELU_PREDROPFUNCTIONBASECLASS_DECL_HPP
12 
13 #include "MueLu_ConfigDefs.hpp"
14 #include "MueLu_BaseClass.hpp"
16 
17 namespace MueLu {
18 
23 template <class Scalar = DefaultScalar,
26  class Node = DefaultNode>
28 #undef MUELU_PREDROPFUNCTIONBASECLASS_SHORT
29 #include "MueLu_UseShortNames.hpp"
30 
31  public:
34 
36  virtual bool Drop(size_t lrow, GlobalOrdinal grow, size_t k, LocalOrdinal lcid, GlobalOrdinal gcid, const Teuchos::ArrayView<const LocalOrdinal>& indices, const Teuchos::ArrayView<const Scalar>& vals) = 0;
37 };
38 } // namespace MueLu
39 
40 #define MUELU_PREDROPFUNCTIONBASECLASS_SHORT
41 #endif // MUELU_PREDROPFUNCTIONBASECLASS_DECL_HPP
MueLu::DefaultLocalOrdinal LocalOrdinal
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
MueLu::DefaultNode Node
MueLu::DefaultScalar Scalar
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
Base class for MueLu classes.
virtual bool Drop(size_t lrow, GlobalOrdinal grow, size_t k, LocalOrdinal lcid, GlobalOrdinal gcid, const Teuchos::ArrayView< const LocalOrdinal > &indices, const Teuchos::ArrayView< const Scalar > &vals)=0
Drop.