# README
Gosl. pde. Partial Differential Equations
Package pde
implements structures and algorithms for solving partial differential equations.
TODO
- Explain how to use the FDM (Finite Difference Method) solver
- Explain how to use the SPC (Spectral Collocation) solver
- Implement the FEM (Finite Element Method) solver
- Add more tests
API
# Functions
NewBoundaryCondsGrid returns a new structure using Grid.
NewBoundaryCondsMesh returns a new structure using Mesh.
NewFdmLaplacian creates a new FDM Laplacian operator with given parameters.
NewSpcLaplacian creates a new SPC Laplacian operator with given parameters NOTE: params is not used at the moment.
# Structs
BoundaryConds holds data for prescribing a SET of boundary conditions.
FdmLaplacian implements the Finite Difference (FDM) Laplacian operator (2D or 3D)
∂²u ∂²u ∂²u L{u} = kx ——— + ky ——— + kz ——— ∂x² ∂y² ∂z²
.
SpcLaplacian implements the Spectral Collocation (SPC) Laplacian operator (2D or 3D)
∂²φ ∂²φ ∂²φ ∂φ ∂φ L{φ} = ∇²φ = ——— g¹¹ + ——— g²² + ———— 2g¹² - —— L¹ - —— L² ∂a² ∂b² ∂a∂b ∂a ∂b
with a=u[0]=r and b=u[1]=s
.