Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
sacado
kokkos
Stokhos_Is_Constant.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Stokhos Package
4
//
5
// Copyright 2009 NTESS and the Stokhos contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
10
#ifndef STOKHOS_IS_CONSTANT_HPP
11
#define STOKHOS_IS_CONSTANT_HPP
12
13
#include "Kokkos_Macros.hpp"
14
15
namespace
Sacado {
16
17
// Simple function to determine whether a UQ type (Ensemble, PCE) is
18
// constant. Defaults to true for all types.
19
template
<
typename
T>
20
KOKKOS_INLINE_FUNCTION
21
bool
is_constant
(
const
T& x) {
22
return
true
;
23
}
24
25
}
26
27
#endif // STOKHOS_IS_CONSTANT_HPP
Sacado::is_constant
KOKKOS_INLINE_FUNCTION bool is_constant(const T &x)
Definition:
Stokhos_Is_Constant.hpp:21
Generated on Fri Nov 22 2024 09:18:12 for Stokhos Package Browser (Single Doxygen Collection) by
1.8.5