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, andvector_burgers_2d; all are one-dimensional exceptvector_burgers_2d, which uses the("x", "y")spatial axes.- 参数:
name -- Example name.
- 返回:
The PDE of the matching example;
labelis the example name.- 返回类型:
- 抛出:
ValueError -- The example name is unknown.