- Thank you received: 0
Basis functions p=1 in 2D quadrilateral mesh
5 years 2 months ago #1887
by Yunhui
Basis functions p=1 in 2D quadrilateral mesh was created by Yunhui
Hello,
I am new to NGSolve. Could you tell me what basis functions are used for the L2(mesh, order=1), H1(mesh, order=1, orderinner=0) and FacetFESpace(mesh, order=1) spaces? For example, for L2, are they 1,x,y,xy?
Is there anyone that can help me out?
Thank you so much!
Yunhui
I am new to NGSolve. Could you tell me what basis functions are used for the L2(mesh, order=1), H1(mesh, order=1, orderinner=0) and FacetFESpace(mesh, order=1) spaces? For example, for L2, are they 1,x,y,xy?
Is there anyone that can help me out?
Thank you so much!
Yunhui
- mneunteufel
- Offline
- Premium Member
Less
More
- Thank you received: 59
5 years 1 month ago #1928
by mneunteufel
Replied by mneunteufel on topic Basis functions p=1 in 2D quadrilateral mesh
Hi Yunhui,
the L2 space uses a tensor product of Legendre Polynomials in x and y direction for quads.
For H1 the basis functions in the lowest order case are (1-x)*(1-y),x*(1-y),x*y,(1-x)*y. You don't need to set the orderinner flag for order=1.
The FacetFESpace uses also Legendre Polynomials, but independently on each face.
Best,
Michael
the L2 space uses a tensor product of Legendre Polynomials in x and y direction for quads.
For H1 the basis functions in the lowest order case are (1-x)*(1-y),x*(1-y),x*y,(1-x)*y. You don't need to set the orderinner flag for order=1.
The FacetFESpace uses also Legendre Polynomials, but independently on each face.
Best,
Michael
Time to create page: 0.116 seconds