Is it possible to create an "empty" UFL form in Python and then add terms to it as required?
The code would look something like this:
form = EmptyForm()
for term in terms:
form += term
I have tried the following which seems to work:
form = 0
for term in terms:
form += term
Are there any potential issues with this implementation?