- Thank you received: 0
high order spaces
4 years 3 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!
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!
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
4 years 3 months ago - 4 years 3 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:
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
Code:
fes = H1(mesh, order=5)
Best is to walk threw the i-tutorial as a start and to get a good overview.
best
christopher
Last edit: 4 years 3 months ago by christopher.
Time to create page: 0.100 seconds