- 引言
- 数学基础
- 使用教程
- 安装
- 基本使用流程
- 参考文献
数学建模竞赛用到了,不好用的
数学基础好像跳过不看,也不是很重要
使用教程 安装pip install py-pde基本使用流程
- 导包:
import pde
- 创建网格:
# 指定一个[0,10]*[0,5]的二维网格,[0,10]的方向划分20个格子,[0,5]的方向划分10个格子.即每个格子的边长是0.5 grid = pde.CartesianGrid([[0,10],[0,5]],[20,10],periodic = [True,False])参考文献
[1] David Zwicker. py-pde: A Python package for solving partial differential equations[J]. Journal of Open Source Software, 2020, 5: 2158.