DDC
0.0.0
a
d
iscrete
d
omain
c
omputation library
About
Commented example
API reference
Contribute on Github
null_extrapolation_rule.hpp
1
// Copyright (C) The DDC development team, see COPYRIGHT.md file
2
//
3
// SPDX-License-Identifier: MIT
4
5
#pragma once
6
7
namespace
ddc
{
8
9
struct
NullExtrapolationRule
10
{
11
template
<
class
CoordType,
class
ChunkSpan>
12
KOKKOS_FUNCTION
double
operator()
(
CoordType
,
ChunkSpan
)
const
13
{
14
return
0.0;
15
}
16
};
17
}
// namespace ddc
ddc
The top-level namespace of DDC.
Definition
aligned_allocator.hpp:11
ddc::enable_chunk
constexpr bool enable_chunk
Definition
chunk_traits.hpp:16
ddc::ChunkSpan
Definition
chunk_span.hpp:30
ddc::NullExtrapolationRule
Definition
null_extrapolation_rule.hpp:10
ddc::NullExtrapolationRule::operator()
KOKKOS_FUNCTION double operator()(CoordType, ChunkSpan) const
Definition
null_extrapolation_rule.hpp:12