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