pymordemos.parametric_heat
¶
Module Contents¶
- pymordemos.parametric_heat.fom_properties_param(fom, w, mus)[source]¶
Show properties of the full-order model.
- Parameters:
fom – The full-order
Model
fromiosys
or aTransferFunction
.w – Array of frequencies.
mus – List of parameter values.
- pymordemos.parametric_heat.main(diameter: float = Argument(0.01, help='Diameter option for the domain discretizer.'), r: int = Argument(5, help='Order of the ROMs.'))[source]¶
Parametric 1D heat equation example.
- pymordemos.parametric_heat.run_mor_method_param(fom, r, w, mus, reductor_cls, reductor_short_name, **reductor_kwargs)[source]¶
Plot reductor errors for different parameter values.
- Parameters:
fom – The full-order
Model
fromiosys
or aTransferFunction
.r – The order of the reduced-order model.
w – Array of frequencies.
mus – An array of parameter values.
reductor_cls – The reductor class.
reductor_short_name – A short name for the reductor.
reductor_kwargs – Optional keyword arguments for the reductor class.