#include <TableFunction.hpp>
A nested class encapsulating the kernel function doing the interpolation in the table
Definition at line 68 of file TableFunction.hpp.
◆ compute() [1/2]
template<typename IN_ARRAY >
Interpolate in the table.
- Template Parameters
-
IN_ARRAY | type of input value array |
- Parameters
-
[in] | input | vector of input value |
- Returns
- interpolated value
◆ compute() [2/2]
template<typename IN_ARRAY , typename OUT_ARRAY >
GEOS_HOST_DEVICE real64 geos::TableFunction::KernelWrapper::compute |
( |
IN_ARRAY const & |
input, |
|
|
OUT_ARRAY && |
derivatives |
|
) |
| const |
Interpolate in the table with derivatives.
- Parameters
-
[in] | input | vector of input value |
[out] | derivatives | vector of derivatives of interpolated value wrt the variables present in input |
- Returns
- interpolated value
◆ move()
void geos::TableFunction::KernelWrapper::move |
( |
LvArray::MemorySpace const |
space, |
|
|
bool const |
touch |
|
) |
| |
|
inline |
Move the KernelWrapper to the given execution space, optionally touching it.
- Parameters
-
- Note
- This function exists to enable holding KernelWrapper objects in an ArrayView and have their contents properly moved between memory spaces.
Definition at line 120 of file TableFunction.hpp.
The documentation for this class was generated from the following file: