QHAM PDE 示例

oracq.applications.qham.examples

PDE examples for automated derivation; parameters and spatial discretization are kept separate.

oracq.applications.qham.examples.example_pde(name)[源代码]

Return a built-in example PDE by name.

The available examples are burgers, kdv, reaction, coupled, and vector_burgers_2d; all are one-dimensional except vector_burgers_2d, which uses the ("x", "y") spatial axes.

参数:

name -- Example name.

返回:

The PDE of the matching example; label is the example name.

返回类型:

PolynomialPDE

抛出:

ValueError -- The example name is unknown.