numerics 0.1.0
Loading...
Searching...
No Matches
poisson.cpp File Reference
#include "pde/poisson.hpp"
#include "spectral/fft.hpp"
#include "core/vector.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 on (0,1)^2 (Dirichlet) via DST with FD eigenvalues.
 
Matrix num::pde::poisson2d (const Matrix &f, int N)
 Solve -Delta u = f on (0,1)^2 (Dirichlet) via DST with exact eigenvalues.