pymordemos.dd_heat

Module Contents

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

1D heat equation example.

pymordemos.dd_heat.run_mor_method_dd(fom, ss, reductor_cls, reductor_short_name, reductor_kwargs={}, reduce_args=(), reduce_kwargs={})[source]

Plot data-driven reductor.

Parameters

fom

The full-order LTIModel.

ss

Transfer function 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.

reduce_args

Optional positional arguments for the reduce method.

reduce_kwargs

Optional keyword arguments for the reduce method.