DDC 0.1.0
Loading...
Searching...
No Matches
ddc::NullExtrapolationRule Struct Reference

A functor describing a null extrapolation boundary value for 1D spline evaluator. More...

#include <null_extrapolation_rule.hpp>

Collaboration diagram for ddc::NullExtrapolationRule:
Collaboration graph

Public Member Functions

template<class CoordType , class ChunkSpan >
KOKKOS_FUNCTION double operator() (CoordType, ChunkSpan) const
 Evaluates the spline at a coordinate outside of the domain.
 

Detailed Description

A functor describing a null extrapolation boundary value for 1D spline evaluator.

Definition at line 14 of file null_extrapolation_rule.hpp.

Member Function Documentation

◆ operator()()

KOKKOS_FUNCTION double ddc::NullExtrapolationRule::operator() ( CoordType  ,
ChunkSpan   
) const
inline

Evaluates the spline at a coordinate outside of the domain.

Returns
A double with the value of the function outside the domain (here, 0.).

Definition at line 22 of file null_extrapolation_rule.hpp.


The documentation for this struct was generated from the following file: