MueLu
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
MueLu_KeepType.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_KEEPTYPE_HPP
11
#define MUELU_KEEPTYPE_HPP
12
13
namespace
MueLu
{
14
16
// Several keep status can be set at the same time
17
enum
KeepEnum
{
18
UserData
= 0x1,
19
Keep
= 0x2,
20
Final
= 0x4,
21
22
NextRun
=
UserData
|
Keep
,
23
All
=
UserData
|
Keep
|
Final
24
};
25
27
typedef
short
KeepType
;
// TODO: name it KeepFlag?
28
29
}
// namespace MueLu
30
31
#endif
// MUELU_KEEPTYPE_HPP
MueLu
Namespace for MueLu classes and methods.
Definition
MueLu_BrickAggregationFactory_decl.hpp:42
MueLu::KeepEnum
KeepEnum
Keep status of a variable of Level.
Definition
MueLu_KeepType.hpp:17
MueLu::All
@ All
Definition
MueLu_KeepType.hpp:23
MueLu::Final
@ Final
Keep data only for this run. Used to keep data useful for Hierarchy::Iterate(). Data will be deleted ...
Definition
MueLu_KeepType.hpp:20
MueLu::Keep
@ Keep
Always keep data, even accross run. This flag is set by Level::Keep(). This flag is propagated to coa...
Definition
MueLu_KeepType.hpp:19
MueLu::NextRun
@ NextRun
Both UserData and Keep flags force data to be kept and reused for the next run. Do not use MueLu::Nex...
Definition
MueLu_KeepType.hpp:22
MueLu::UserData
@ UserData
User data are always kept. This flag is set automatically when Level::Set("data", data) is used....
Definition
MueLu_KeepType.hpp:18
MueLu::KeepType
short KeepType
Definition
MueLu_KeepType.hpp:27
src
MueCentral
MueLu_KeepType.hpp
Generated by
1.17.0