Consider using a conditional, as described in: How to implement function with condition? - #3 by dokken
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to implement function with condition? | 2 | 1318 | May 18, 2021 | |
Problem with use of a ufl function in a NonlinearProblem | 5 | 500 | May 23, 2023 | |
Defining a fem.Function using a conditional ufl statement | 4 | 275 | February 27, 2024 | |
FFC compiling UFL file error (Can't extract "unknown")
|
2 | 472 | December 16, 2019 | |
Converting symbols to UFL type
|
1 | 1832 | March 1, 2019 |