numerics 0.1.0
Loading...
Searching...
No Matches
poisson.cpp File Reference
#include "pde/poisson.hpp"
#include "core/vector.hpp"
#include "spectral/fft.hpp"
#include <cmath>
#include <cstddef>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  num
 
namespace  num::pde
 

Functions

Matrix num::pde::poisson2d_fd (const Matrix &f, int N)
 Solve \(-\Delta u=f\) using finite-difference eigenvalues.
 
Matrix num::pde::poisson2d (const Matrix &f, int N)
 Solve \(-\Delta u=f\) using continuous eigenvalues \((k\pi)^2\).