You should create a UserExpression to do this computation:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using ufl for manifactured solutions | 2 | 480 | June 11, 2023 | |
| How to Interpolate Special Functions | 5 | 1475 | June 22, 2024 | |
| From python function to UFL expression | 3 | 777 | July 24, 2023 | |
| Using Project() with interpolated function | 4 | 1375 | February 4, 2021 | |
|
Accuracy of projection of UFL expression
|
2 | 920 | September 1, 2020 |