SpECTRE
v2025.03.17
|
Interpolates by doing partial summation in each dimension using one-dimensional interpolation. More...
#include <CardinalInterpolator.hpp>
Public Member Functions | |
Cardinal (const Mesh< Dim > &source_mesh, const tnsr::I< DataVector, Dim, Frame::ElementLogical > &target_points) | |
DataVector | interpolate (const DataVector &f) const |
Interpolates the function f provided on the source_mesh to the target_points with which the interpolator was constructed. | |
const std::array< Matrix, Dim > & | interpolation_matrices () const |
The one-dimensional interpolation matrices used to do the interpolation. | |
void | pup (PUP::er &p) |
Interpolates by doing partial summation in each dimension using one-dimensional interpolation.
The one-dimensional matrices used to do the interpolation depend upon the Spectral::Basis used in each dimension: