pde_opt.numerics.equations.base_eq
This module contains the base equation classes for the PDEs.
Classes
Base class for time-dependent PDE equations. |
|
Time splitting equation. |
- class pde_opt.numerics.equations.base_eq.BaseEquation[source]
Base class for time-dependent PDE equations.
Abstract base class for time-dependent PDE equations of the form
\[\frac{d}{dt} \text{state} = F(\text{state}, t)\]where state is the state of the system and t is the time.
Subclasses should implement the rhs method, which returns the right hand side of the equation.
- class pde_opt.numerics.equations.base_eq.TimeSplittingEquation[source]
Time splitting equation.
Time splitting equation of the form
\[\frac{d}{dt} \text{state} = A(\text{state}, t) + B(\text{state}, t)\]where A(state, t) and B(state, t) are the A and B terms of the equation.
Subclasses should implement the A_terms and B_terms methods, which return the A and B terms of the equation.