DDC 0.0.0

a discrete domain computation library

periodic_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#include "view.hpp"
8
9namespace ddc {
10
11template <class DimI>
13{
14 static_assert(DimI::PERIODIC, "PeriodicExtrapolationRule requires periodic dimension");
15
16 template <class CoordType, class ChunkSpan>
18 {
19 assert("PeriodicExtrapolationRule::operator() should never be called");
20
21 return 0.;
22 }
23};
24} // namespace ddc
The top-level namespace of DDC.
Definition aligned_allocator.hpp:11
constexpr bool enable_chunk
Definition chunk_traits.hpp:16
Definition chunk_span.hpp:30
Definition periodic_extrapolation_rule.hpp:13
KOKKOS_FUNCTION double operator()(CoordType, ChunkSpan) const
Definition periodic_extrapolation_rule.hpp:17