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

在一个单元中取指定边的基函数的方法 #554

Open
xdphyec opened this issue Dec 14, 2023 · 4 comments
Open

在一个单元中取指定边的基函数的方法 #554

xdphyec opened this issue Dec 14, 2023 · 4 comments

Comments

@xdphyec
Copy link

xdphyec commented Dec 14, 2023

老师您好,我在使用fealpy求解我的方程时有一些问题。我的方程弱形式是

此时我使用Nedelec元求解。一般情况下,未知量 可以用棱元在单元上做如下展开

但在特殊单元上,我需要做如下展开

如图所示

image

此时我需要拿到2#边的基函数。我的问题是:在fealpy的棱元空间中,如果在一个单元中,只取指定边的基函数,有什么方法吗?感谢魏老师

@xdphyec
Copy link
Author

xdphyec commented Dec 14, 2023

这里的 是一个已知量,是入射波 在 jt 这条边上的插值

@weihuayi
Copy link
Owner

你具体用的是哪个空间类?

@xdphyec
Copy link
Author

xdphyec commented Dec 15, 2023

你具体用的是哪个空间类?

https://github.com/weihuayi/fealpy/blob/master/fealpy/functionspace/FirstNedelecFiniteElementSpace2d.py

是这个空间,我需要的约定是这个三角形第一个点的对应边是这个单元的第一条边

@xdphyec
Copy link
Author

xdphyec commented Dec 15, 2023

事实上,是要组装一个向量

在一个单元上可以表示为

因此需要拿到指定单元指定边的基函数

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