thermalblockΒΆ

pymor-demo thermalblock [OPTIONS] XBLOCKS YBLOCKS SNAPSHOTS RBSIZE

Thermalblock demo.

Arguments:

XBLOCKS

Number of blocks in x direction. [Required]

YBLOCKS

Number of blocks in y direction. [Required]

SNAPSHOTS

naive: ignored; greedy/pod: Number of training_set parameters per block (in total SNAPSHOTS^(XBLOCKS * YBLOCKS) parameters); adaptive_greedy: size of validation set. [Required]

RBSIZE

Size of the reduced basis. [Required]

Parameters:

--adaptive-greedy-gamma

See pymor.algorithms.adaptivegreedy. [Default: 0.2]

--adaptive-greedy-rho

See pymor.algorithms.adaptivegreedy. [Default: 1.1]

--adaptive-greedy-theta

See pymor.algorithms.adaptivegreedy. [Default: 0.0]

--alg

The model reduction algorithm to use. [Choices: naive, greedy, adaptive_greedy, pod, Default: greedy]

--cache-region

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

--extension-alg

Basis extension algorithm to be used. [Choices: trivial, gram_schmidt, Default: gram_schmidt]

--fenics, --no-fenics

Use FEniCS model. [Default: False]

--greedy-with-error-estimator, --no-greedy-with-error-estimator

Use error estimator for basis generation. [Default: True]

--grid

Use grid with 4*NI*NI elements [Default: 100]

--ipython-engines

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

--ipython-profile

IPython profile to use for parallelization.

--list-vector-array, --no-list-vector-array

Solve using ListVectorArray[NumpyVector] instead of NumpyVectorArray. [Default: False]

--order

Polynomial order of the Lagrange finite elements to use in FEniCS. [Default: 1]

--pickle

Pickle reduced model, as well as reductor and high-dimensional model to files with this prefix.

--product

Product w.r.t. which to orthonormalize and calculate Riesz representatives. [Choices: euclidean, h1, Default: h1]

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

Plot error [Default: False]

--plot-error-sequence, --no-plot-error-sequence

Plot reduction error vs. basis size. [Default: False]

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

Plot some example solutions. [Default: False]

--reductor

Reductor (error estimator) to choose. [Choices: traditional, residual_basis, Default: residual_basis]

--test

Use COUNT snapshots for stochastic error estimation. [Default: 10]