Package io.github.andreipunko.math.pde.solver


package io.github.andreipunko.math.pde.solver
Numerical PDE solvers using finite differences and the Thomas algorithm.

Grid steps h and tau: solvers only require positive finite steps and build a tensor-product grid. They do not enforce physical stability conditions (such as CFL bounds typical of explicit schemes). The implemented schemes are implicit, which generally improves stability relative to explicit methods, but accuracy still depends on resolving the relevant space–time scales: h and tau should be chosen using the problem physics or standard discretization theory. Poor choices can yield inaccurate results or poorly conditioned tridiagonal systems; the latter may trigger IllegalArgumentException from AbstractEquationSolver.solve3DiagonalEquationsSystem(double[], double[], double[], double[], io.github.andreipunko.math.pde.solver.AbstractEquationSolver.KappaNu, io.github.andreipunko.math.pde.solver.AbstractEquationSolver.KappaNu).