← Back to team overview

ufl team mailing list archive

UFL and Python built-in functions

 

I've run into an issue when using 'exp' on a Coefficient/Function. In a
.ufl file, I can use

  M = exp(T)

where T is a Coefficient without problems. Using PyDOLFIN, I get the error:

  AttributeError: exp

Could this be that the Python version of exp is being called, rather
than the UFL version? How can I check in Python which 'exp' function is
being called?

Garth



Follow ups