#include <grid_field.hpp>
|
| | GridField (std::array< std::vector< Real >, static_cast< std::size_t >(Dim)> axes, std::vector< Real > values) |
| |
| Real | operator() (const Point< Dim > &x) const |
| |
| const std::array< std::vector< Real >, static_cast< std::size_t >(Dim)> & | axes () const noexcept |
| |
◆ GridField()
axes[k] strictly increasing (or a single value), values in C order over the axes (the last axis fastest: index (i0 · n1 + i1) · n2 + i2), as a NumPy array values[i0, i1, i2] is laid out.
- Exceptions
-
| InvalidArgument | for an empty or non-increasing axis, non-finite data, or a value count that does not match the axes. |
◆ axes()
◆ operator()()
The interpolated value at x.
- Exceptions
-
| InvalidArgument | if x lies outside the grid (beyond 1e-9 of an axis extent) along an axis with more than one value. |
The documentation for this class was generated from the following file: