Skip to content

num::laplacian_stencil_2d_4th

Defined in header <pde/stencil.hpp>

template <typename T>
void laplacian_stencil_2d_4th(const vec<T> &x, vec<T> &y, int N);  // (1)

void laplacian_stencil_2d_4th(const scalar_field_2d &x, scalar_field_2d &y);  // (2)

Apply the fourth-order 9-point Laplacian: \(y \leftarrow h^2 \Delta_h^{(4)} x\).