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