← Back to team overview

ufl team mailing list archive

Pretty print of UFL form

 

Hello!

When you print a form to get its str representation in pydolfin it is severaly 
polluted by the layer DOLFIN add to especially Function.__str__. 

I know this is PyDOLFIN's fault, but would it be possible to let the pretty 
print algorithm in ufl use some internal str function instead of __str__ when 
the str representation of a form is gathered. Coefficient.__str__ could then 
just call that function and from ufl it would just be the same.

Johan


Follow ups