Maybe take a look at these, and try to implement your code in C++, this will make it much faster than using a UserExpression, that uses python to do the computations
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
About Userexpression in dolfinx | 4 | 451 | December 20, 2023 | |
Problems interpolating a UserExpression and plotting it
|
3 | 2615 | August 13, 2019 | |
How to difine UserExpression that takes the solution u
|
4 | 461 | June 13, 2022 | |
UserExpression in dolfinx | 7 | 1968 | September 29, 2023 | |
Projection of user expression onto DG1
|
4 | 768 | September 16, 2021 |