high order spaces

More
4 years 3 days 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
4 years 3 days ago - 4 years 3 days 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: 4 years 3 days ago by christopher.
Time to create page: 0.166 seconds