4.4.5. pde.solvers.implicit module

Defines an implicit solver

exception ConvergenceError[source]

Bases: RuntimeError

class ImplicitSolver(pde, maxiter=100, maxerror=0.0001, backend='auto')[source]

Bases: SolverBase

class for solving partial differential equations implicitly

Parameters:
  • pde (PDEBase) – The instance describing the pde that needs to be solved

  • maxiter (int) – The maximal number of iterations per step

  • maxerror (float) – The maximal error that is permitted in each step

  • backend (str) – Determines how the function is created. Accepted values are ‘numpy` and ‘numba’. Alternatively, ‘auto’ lets the code decide for the most optimal backend.

info: Dict[str, Any]
name = 'implicit'