pymordemos.dd_parametric_heat

Module Contents

pymordemos.dd_parametric_heat.main(diameter: float = Argument(0.01, help='Diameter option for the domain discretizer.'), n: int = Argument(50, help='Number of frequency samples.'), m: int = Argument(10, help='Number of parameter samples.'))[source]

Parametric 1D heat equation example.

pymordemos.dd_parametric_heat.run_mor_method_dd_param(fom, ss, pp, reductor_cls, reductor_short_name, **reductor_kwargs)[source]

Plot reductor for a sample parameter.

Parameters

fom

The full-order LTIModel.

ss

Transfer function sampling values.

pp

Parameter sampling values.

reductor_cls

The reductor class.

reductor_short_name

A short name for the reductor.

reductor_kwargs

Optional keyword arguments for the reductor class.