3.10. Adding custom math functions in Python

pyoomph comes with the basic math functions implemented, i.e. exp(), sin(), cos(), etc. are implemented in the package pyoomph.expressions. However, sometimes, one need additional custom mathematical functions. This can be done with the class CustomMathExpression. In the following, we will discuss one non-dimensional case and one case with physical dimensions.