pymordemos.elliptic2
¶
Module Contents¶
- pymordemos.elliptic2.main(problem_number: int = Argument(..., min=0, max=1, help='Selects the problem to solve [0 or 1].'), n: int = Argument(..., help='Triangle count per direction'), norm: str = Argument(..., help="h1: compute the h1-norm of the last snapshot.\n\nl2: compute the l2-norm of the last snapshot.\n\nk: compute the energy norm of the last snapshot, where the energy-productis constructed with a parameter {'mu': k}."), fv: bool = Option(False, help='Use finite volume discretization instead of finite elements.'))[source]¶
Solves the Poisson equation in 2D using pyMOR’s builtin discretization toolkit.