Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Basis functions p=1 in 2D quadrilateral mesh

More
4 years 6 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
4 years 5 months 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
4 years 5 months 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.128 seconds