You should create a UserExpression
to do this computation:
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to Interpolate Special Functions | 5 | 569 | June 22, 2024 | |
How can I perform operations on dolfin functions? | 3 | 559 | October 11, 2021 | |
Using ufl for manifactured solutions | 2 | 425 | June 11, 2023 | |
How to return "ufl.algebra" instead of "numpy.ndarray"? | 2 | 1026 | September 23, 2021 | |
About Userexpression in dolfinx | 4 | 442 | December 20, 2023 |