Interface EquationSolver<E extends Equation>
- Type Parameters:
E- the type of partial differential equation this solver handles
- All Known Implementing Classes:
AbstractEquationSolver,HyperbolicEquationSolver,ParabolicEquationSolver
public interface EquationSolver<E extends Equation>
Interface for numerical solvers of partial differential equations.
Defines the contract that all PDE solvers must implement to provide
numerical solutions for different types of partial differential equations.
- See Also:
-
Method Summary
-
Method Details
-
solve
Solves a partial differential equation using numerical methods. The solution is found on a space-time grid defined by the spatial and temporal step sizes.- Parameters:
eqn- the partial differential equation to solveh- spatial step size (must be positive)tau- temporal step size (must be positive)- Returns:
- Solution containing the numerical solution on the space-time grid
- Throws:
IllegalArgumentException- if parameters h or tau are non-positive
-