ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Functions | |
template<int order, typename Kernel > | |
void | bspline_3d (Vector3d const &pos, Kernel const &kernel, Vector3d const &grid_spacing, Vector3d const &offset) |
cardinal B-spline interpolation with internal iteration. | |
template<int order, typename T , typename Kernel > | |
T | bspline_3d_accumulate (Vector3d const &pos, Kernel const &kernel, Vector3d const &grid_spacing, Vector3d const &offset, T const &init) |
cardinal B-spline weighted sum. | |
template<int order, typename Kernel > | |
void | bspline_3d_gradient (Vector3d const &pos, Kernel const &kernel, Vector3d const &grid_spacing, Vector3d const &offset) |
cardinal B-spline gradient interpolation with internal iteration. | |
template<int order, typename T , typename Kernel > | |
T | bspline_3d_gradient_accumulate (Vector3d const &pos, Kernel const &kernel, Vector3d const &grid_spacing, Vector3d const &offset, T const &init) |
cardinal B-spline weighted sum. | |
void Utils::Interpolation::bspline_3d | ( | Vector3d const & | pos, |
Kernel const & | kernel, | ||
Vector3d const & | grid_spacing, | ||
Vector3d const & | offset | ||
) |
cardinal B-spline interpolation with internal iteration.
order | The number of interpolation points in each direction. |
Kernel | Callable that can be called at every point with the index of the point and its weight as arguments. |
pos | The point at which the interpolation should be run. |
kernel | Function to run for every point. |
grid_spacing | The distance between the grid points. |
offset | Shift of the grid relative to the origin. |
Definition at line 45 of file bspline_3d.hpp.
References block(), and Utils::bspline().
T Utils::Interpolation::bspline_3d_accumulate | ( | Vector3d const & | pos, |
Kernel const & | kernel, | ||
Vector3d const & | grid_spacing, | ||
Vector3d const & | offset, | ||
T const & | init | ||
) |
cardinal B-spline weighted sum.
Definition at line 79 of file bspline_3d.hpp.
void Utils::Interpolation::bspline_3d_gradient | ( | Vector3d const & | pos, |
Kernel const & | kernel, | ||
Vector3d const & | grid_spacing, | ||
Vector3d const & | offset | ||
) |
cardinal B-spline gradient interpolation with internal iteration.
order | The number of interpolation points in each direction. |
Kernel | Callable that can be called at every point with the index of the point and its weights as arguments. |
pos | The point at which the interpolation should be run. |
kernel | Function to run for every point. |
grid_spacing | The distance between the grid points. |
offset | Shift of the grid relative to the origin. |
Definition at line 46 of file bspline_3d_gradient.hpp.
References block(), and Utils::bspline().
T Utils::Interpolation::bspline_3d_gradient_accumulate | ( | Vector3d const & | pos, |
Kernel const & | kernel, | ||
Vector3d const & | grid_spacing, | ||
Vector3d const & | offset, | ||
T const & | init | ||
) |
cardinal B-spline weighted sum.
Definition at line 85 of file bspline_3d_gradient.hpp.
References Utils::tensor_product().