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.

high order spaces

More
3 years 7 months ago #2996 by sm22
high order spaces was created by sm22
hello ngsolve!

Is there a way to use the high order spaces in ngsolve? For example, is it possible to use Legendre polynomials on quads and hexahedra? There seems to be a C++ implementation here but I am not sure how this can be extended to be used in python scripts.

ngsolve.org/docu/v6.2.1907/mylittlengs/1...creating-the-element

Thank you!
More
3 years 7 months ago - 3 years 7 months ago #2997 by christopher
Replied by christopher on topic high order spaces
Hi, high order spaces are the default in ngsolve. Just create them with the order flag:
Code:
fes = H1(mesh, order=5)
The tutorial you found is how you would implement your own finite element spaces.
Best is to walk threw the i-tutorial as a start and to get a good overview.

best
christopher
Last edit: 3 years 7 months ago by christopher.
Time to create page: 0.092 seconds