Basis functions p=1 in 2D quadrilateral mesh

More
5 years 2 months ago #1887 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
More
5 years 1 month ago #1928 by mneunteufel
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
More
5 years 1 month ago #1932 by Yunhui
Hi Michael,

Thank you so much for your reply. It helps a lot.

Best wishes!
Yunhui
Time to create page: 0.116 seconds