MueLu Version of the Day
Loading...
Searching...
No Matches
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
17namespace MueLu {
18
23template <class Scalar = DefaultScalar,
26 class Node = DefaultNode>
28#undef MUELU_PREDROPFUNCTIONBASECLASS_SHORT
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
MueLu::DefaultScalar Scalar
MueLu::DefaultGlobalOrdinal GlobalOrdinal
MueLu::DefaultNode Node
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.
Namespace for MueLu classes and methods.
Tpetra::KokkosClassic::DefaultNode::DefaultNodeType DefaultNode
Tpetra::Details::DefaultTypes::scalar_type DefaultScalar