Dear Christopher,
thank you very much for your response. Let me rephrase my questions: I am inquiring if it possible to generate a new form on the fly. For instance, in the case of the second question, ideally I would like to have the following function
Code:
def generate_on_the_fly(original_linear_form):
# create a copy of of original_linear_form into a new variable, say modified_linear_form
# replace f with some other forcing term (say g) inside modified_linear_form (but not in original_linear_form)
return modified_linear_form
Of course I can define two linear forms (one with f and one with g), but I would be grateful to understand if capabilities like the one sketched in generate_on_the_fly() are available.
Thanks,
Makis