MueLu
Version of the Day
Loading...
Searching...
No Matches
MueLu_DisableMultipleCallCheck.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_DISABLEMULTIPLECALLCHECK_HPP
11
#define MUELU_DISABLEMULTIPLECALLCHECK_HPP
12
13
#include <Teuchos_RCP.hpp>
14
15
#include "
MueLu_TwoLevelFactoryBase.hpp
"
16
17
namespace
MueLu
{
18
20
class
DisableMultipleCallCheck
{
21
public
:
22
DisableMultipleCallCheck
(
const
RCP<const TwoLevelFactoryBase>& fact)
23
:
fact_
(fact) {
fact_
->DisableMultipleCallCheck(); }
24
~DisableMultipleCallCheck
() {
fact_
->EnableMultipleCallCheck(); }
25
26
private
:
27
const
RCP<const TwoLevelFactoryBase>
fact_
;
28
};
29
30
}
// namespace MueLu
31
32
#endif
// MUELU_DISABLEMULTIPLECALLCHECK_HPP
MueLu_TwoLevelFactoryBase.hpp
MueLu::DisableMultipleCallCheck::fact_
const RCP< const TwoLevelFactoryBase > fact_
Definition
MueLu_DisableMultipleCallCheck.hpp:27
MueLu::DisableMultipleCallCheck::DisableMultipleCallCheck
DisableMultipleCallCheck(const RCP< const TwoLevelFactoryBase > &fact)
Definition
MueLu_DisableMultipleCallCheck.hpp:22
MueLu::DisableMultipleCallCheck::~DisableMultipleCallCheck
~DisableMultipleCallCheck()
Definition
MueLu_DisableMultipleCallCheck.hpp:24
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
src
Utils
MueLu_DisableMultipleCallCheck.hpp
Generated on
for MueLu by
1.15.0