Shuhao Cao
Shuhao Cao
Some can be found here: https://github.com/scaomath/galerkin-transformer/releases/tag/v0.1-beta
> 老师我在学习四边形网格的例子时,它采用了ParametricLagrangeFiniteElementSpace这个函数空间, > https://github.com/weihuayi/fealpy/blob/42425503eff3e19f7965ef28af42a83169e9c84b/fealpy/functionspace/ParametricLagrangeFiniteElementSpace.py#L12-L13 > > https://github.com/weihuayi/fealpy/blob/42425503eff3e19f7965ef28af42a83169e9c84b/fealpy/functionspace/ParametricLagrangeFiniteElementSpace.py#L130 > > 这两行代码中的参数c各自代表的意思是什么呢? 第一个`spacetype='C'`的C代表continuous。第二个`c`是装矩阵时候的系数,`None`就是1,也可以传一个函数或者矩阵进去。
> 老师,在调用`ParametricLagrangeFiniteElementSpace`时,这三个变量可以理解为计算每单元的面积吗?这里的第一基本形式是什么意思呢? 不是单元的,因为这个地方要用quadrature在参数曲面上`F(u,v)`算积分,这个是算在积分点处的参数曲面的Jacobi矩阵相乘`F_u`叉乘`F_v`。 最简单的例子就是https://en.wikipedia.org/wiki/Surface_integral 里面第一个公式里面那个叉乘。 这个空间开始设置了`mesh`之后(simplicial或者tensorial),就会直接调用`mesh`的`first_fundamental_form`函数,比如这个: https://github.com/weihuayi/fealpy/blob/029882c7e366d4623f1c79a4323edad191499623/fealpy/mesh/LagrangeTriangleMesh.py#L336-L365
> tri mesh, quad mesh 和 polygon mesh 的数据结构能否统一呢, 就是 fealpy 能否不单独区分 tri mesh 和 quad mesh, 都是统一的按照 polygon mesh 来对待? This would be super helpful.
WG最低阶可以是内部P^0边上也是P^0。
@Smile-In-Heart 这个就是我刚才说的P^0-P^0的WG,最低阶,陈老师应该没有更新函数的文档。刚才我更新了,请从[https://github.com/lyc102/ifem](https://github.com/lyc102/ifem)去pull最新版的ifem。单元里面u_0就是一个常数,stiffness算出来就是函数里面写的那个ct2。
PETSc在Win安装推荐用虚拟机,用Ananconda的virtual env也可以但是dependency容易出问题(就像在Win装其他需要MPI的pkg)。用Fealpy推荐全线换到基于Linux内核的单系统(MacOS也可)有需要用Win虚拟机就好。
魏老师能否讲讲这里面的`einsum`是啥意思,每次看到`einsum`就头大: https://github.com/weihuayi/fealpy/blob/c9ca79a2976904fa5046f988ab9b79cf3381f913/fealpy/functionspace/LagrangeFiniteElementSpace.py#L219-L227
给魏老师说个好用的小技巧,github上可以直接引用code:在网页界面下浏览code,左边的行数选中之后右键点permanent link,copy pasta到这里就会自动生成preview而且指回原code https://github.com/weihuayi/fealpy/blob/6f5e5aa88a4b1037a471221f177b89147b8aa507/fealpy/mesh/TriangleMesh.py#L1039-L1063
I encountered this bug a while ago (VSCode default git interface is fine, but GitLens fetch will invoke this bug), today I finally solved it by a simple ```bash git...