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 | 439 | December 20, 2023 | |
Problems interpolating a UserExpression and plotting it
|
3 | 2611 | August 13, 2019 | |
How to difine UserExpression that takes the solution u
|
4 | 461 | June 13, 2022 | |
UserExpression in dolfinx | 7 | 1952 | September 29, 2023 | |
Projection of user expression onto DG1
|
4 | 766 | September 16, 2021 |