Skip to content

PDEs and fields

Grids, fields, stencils and the solvers built on them. The concepts are on the Concepts page.

2D grids <fields/grid2d.hpp>

grid2d

2D fields <fields/scalar_field_2d.hpp>

scalar_field_2d

3D grids <fields/grid3d.hpp>

grid_3d

3D fields <fields/field3d.hpp>

scalar_field_3d – vector_field_3d

Grid operators <pde/grid_operators.hpp>

operators::laplacian_2d – operators::backward_euler_2d – operators::to_sparse_matrix

Alternating-direction implicit method <pde/adi.hpp>

crank_nicolson_adi

Poisson equation <pde/poisson.hpp>

pde::poisson2d – pde::poisson2d_fd

Poisson equation and vector calculus in 3D <pde/field_solver.hpp>

field_solver – magnetic_solver