burgers_eiΒΆ

pymor-demo burgers_ei [OPTIONS] EXP_MIN EXP_MAX EI_SNAPSHOTS EI_SIZE SNAPSHOTS RB_SIZE

Reduction of a two-dimensional Burgers-type equation using empirical interpolation.

Arguments:

EXP_MIN

Minimal exponent. [Required]

EXP_MAX

Maximal exponent. [Required]

EI_SNAPSHOTS

Number of snapshots for empirical interpolation. [Required]

EI_SIZE

Number of interpolation DOFs. [Required]

SNAPSHOTS

Number of snapshots for basis generation. [Required]

RB_SIZE

Size of the reduced basis. [Required]

Parameters:

--cache-region

Name of cache region to use for caching solution snapshots. [Choices: none, memory, disk, persistent, Default: disk]

--ei-alg

Interpolation algorithm to use. [Choices: ei_greedy, deim, qdeim, Default: ei_greedy]

--grid

Use grid with (2*NI)*NI elements. [Default: 60]

--grid-type

Type of grid to use. [Choices: rect, tria, Default: rect]

--initial-data

Select the initial data (sin, bump). [Choices: sin, bump, Default: sin]

--ipython-engines

If positive, the number of IPython cluster engines to use for parallel greedy search. If zero, no parallelization is performed. [Default: 0]

--ipython-profile

IPython profile to use for parallelization.

--lxf-lambda

Parameter lambda in Lax-Friedrichs flux. [Default: 1.0]

--periodic, --no-periodic

If not, solve with dirichlet boundary conditions on left and bottom boundary. [Default: True]

--nt

Number of time steps. [Default: 100]

--num-flux

Numerical flux to use. [Choices: lax_friedrichs, engquist_osher, Default: engquist_osher]

--plot-err, --no-plot-err

Plot error. [Default: False]

--plot-ei-err, --no-plot-ei-err

Plot empirical interpolation error. [Default: False]

--plot-error-landscape, --no-plot-error-landscape

Calculate and show plot of reduction error vs. basis sizes. [Default: False]

--plot-error-landscape-m

Number of collateral basis sizes to test. [Default: 10]

--plot-error-landscape-n

Number of basis sizes to test. [Default: 10]

--plot-solutions, --no-plot-solutions

Plot some example solutions. [Default: False]

--test

Number of snapshots to use for stochastic error estimation. [Default: 10]

--vx

Speed in x-direction. [Default: 1.0]

--vy

Speed in y-direction. [Default: 1.0]