首页 文章
  • 0 votes
     answers
     views

    使用PDE求解器求解PDE的高初始值u

    我想使用MATLAB中的PDE工具箱解决一个简单的热方程,使用以下代码: clear model; width = 1e-5; height = 1e-5; gdm = [3 4 0 width width 0 0 0 height height]'; g = decsg(gdm, 'S1', ('S1')'); numberOfPDE = 1; model = createpde(numberO...
  • 0 votes
     answers
     views

    IndexError:索引超出范围

    我是Python新手,感谢任何建设性的反馈 . 我的任务是使用ODEINT解决PDE,我的空间网格定义如下: L = [8.0, 4.0, 8.0] # Lenght of spatial zones dN = 1.0e2 # Number of grid points N = [int(l*dN) for l in L] # Gives number of grid ...
  • 2 votes
     answers
     views

    Python中的多变量区分

    我有一个功能 我希望在Python中简化和区分,定义为** def u(x, t): return math.erf((x + 1) / (2 * (k * t) ** (1 / 2))) **如果我错了,请纠正我 . 我有所有必要的进口如下: import math import scipy import matplotlib from sympy import * 以及定义符号 x...
  • 1 votes
     answers
     views

    在Eclipse中运行OSGI,通用方式?

    我正试图在eclipse中以调试模式启动一个OSGI框架堆栈,我想知道是否有一种常见的方法 . 首先,我知道我必须配置Eclipse Plugin Development -> Target Platform 才能找到我的软件包,并且能够使用 PDE 轻松开发 . 假设我想在 Geronimo 堆栈上尝试我的应用程序,我将手动创建一个新的 Target Platform ,并手动添加ger...

热门问题