hello,
i would like to pass a ufl form to a function and extract the used FunctionSpaces somehow:
def get_function_space(form):
do something
return(V)
V=FunctionSpace(mesh, "CG", 1)
u = TestFunction(V)
v = TrialFunction(V)
a = inner(grad(u), grad(v)) * dx
V_extracted = get_function_space(a)
is this possible somehow?
thanks
Florian