Logarithm of an expression #2792
-
Hi expression: N.interpolate( log(10 * exp( 1e5* ( (x[0])**2 + (x[1])**2 ) ) )) error: TypeError: log() missing 1 required positional argument: 'msg' How do I obtain log values of this kind of expression? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
First, this isn't a FEniCS forum but is instead the Firedrake project. However, your question goes to UFL which is shared between the two projects. The UFL logarithm function is spelt |
Beta Was this translation helpful? Give feedback.
First, this isn't a FEniCS forum but is instead the Firedrake project. However, your question goes to UFL which is shared between the two projects. The UFL logarithm function is spelt
ln
.log
is a function which logs a message to screen and/or a log file.