Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

num_y #2

Open
Hejiandong opened this issue Mar 14, 2021 · 1 comment
Open

num_y #2

Hejiandong opened this issue Mar 14, 2021 · 1 comment

Comments

@Hejiandong
Copy link

x_IC, y_IC, t_IC = CartGrid(xmin = 0, xmax = xmax,
ymin = 0, ymax = 0.41,
tmin = 0, tmax = 0,
num_x=81, num_y=41, num_t=1)

x_inb, y_inb, t_inb = CartGrid(xmin=0, xmax=0,
ymin=0, ymax=0.41,
tmin=0, tmax=tmax,
num_x=1, num_y=61, num_t=61)

你好,麻烦问一下为什么两个num_y的值不一样了?

@Raocp
Copy link
Owner

Raocp commented Mar 16, 2021

这里只是为了方便用Cartesian网格来生成collocation points,实际上随机在边界(或者初始时刻)取点也行,所以并不需要num_y(或者num_x)一致。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants