ufl team mailing list archive
-
ufl team
-
Mailing list archive
-
Message #01698
Zero form
Hello!
I am automating the building of a ufl form. Something like:
# create list_of_forms
my_form = Zero()*dx
for form in list_of_forms:
my_form += form
For the for loop to work I need to initate my_form to Zero()*dx, because it
need to be a form.
Any other ideas of how this can be done? If this is the only way can
someone(TM) expose 'Zero' to the main ufl namespace?
It resides in:
constantvalue.py
Johan
Follow ups