cashocs.nonlinear_solvers#

Custom solvers for nonlinear equations.

This module has custom solvers for nonlinear PDEs, including a damped Newton method and a Picard iteration for coupled problems.

Functions

linear_solve(linear_form, u, bcs[, ...])

Solves a linear problem.

newton_solve(nonlinear_form, u, bcs[, ...])

Solves a nonlinear problem with Newton's method.

picard_iteration(form_list, u_list, bcs_list)

Solves a system of coupled PDEs via a Picard iteration.

snes_solve(nonlinear_form, u, bcs[, ...])

Solve a nonlinear PDE problem with PETSc SNES.

ts_pseudo_solve(nonlinear_form, u, bcs[, ...])

Solve a nonlinear PDE problem with PETSc TS and pseudo time stepping.

Modules

linear_solver

Linear solver for linear PDEs.

newton_solver

Newton solver for nonlinear PDEs.

picard_solver

A Picard iteration for coupled PDEs.

snes

Interface for the PETSc SNES solver for nonlinear equations.

ts

Interface for the PETSc TS solver for pseudo time stepping.