Xpetra
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Xpetra_Access.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Xpetra: A linear algebra interface package
4
//
5
// Copyright 2012 NTESS and the Xpetra contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef XPETRA_ACCESS_HPP
11
#define XPETRA_ACCESS_HPP
12
13
namespace
Xpetra {
14
namespace
Access {
15
// Structs for Access tags, these should not be used by user code
16
struct
ReadOnlyStruct
{};
17
struct
OverwriteAllStruct
{};
18
struct
ReadWriteStruct
{};
19
20
// Tag indicating intent to read up-to-date data, but not modify.
21
constexpr
struct
ReadOnlyStruct
ReadOnly
=
ReadOnlyStruct
();
22
// Tag indicating intent to completely overwrite existing data.
23
constexpr
struct
OverwriteAllStruct
OverwriteAll
=
OverwriteAllStruct
();
24
// Tag indicating intent to both read up-to-date data and modify it.
25
constexpr
struct
ReadWriteStruct
ReadWrite
=
ReadWriteStruct
();
26
}
// namespace Access
27
}
// namespace Xpetra
28
#endif // XPETRA_ACCESS_HPP
Xpetra::Access::ReadOnly
constexpr struct ReadOnlyStruct ReadOnly
Definition:
Xpetra_Access.hpp:21
Xpetra::Access::ReadWriteStruct
Definition:
Xpetra_Access.hpp:18
Xpetra::Access::OverwriteAllStruct
Definition:
Xpetra_Access.hpp:17
Xpetra::Access::ReadOnlyStruct
Definition:
Xpetra_Access.hpp:16
Xpetra::Access::OverwriteAll
constexpr struct OverwriteAllStruct OverwriteAll
Definition:
Xpetra_Access.hpp:23
Xpetra::Access::ReadWrite
constexpr struct ReadWriteStruct ReadWrite
Definition:
Xpetra_Access.hpp:25
src
Utils
Xpetra_Access.hpp
Generated on Fri Nov 22 2024 09:23:16 for Xpetra by
1.8.5