Hello,
I would like to print out the memory address where a function is stored. For example:
Q = FunctionSpace(mesh, 'P', 1)
f = Function(Q)
#here I would like to print out the information about f and the memory address where f is stored
f = interpolate(f_Expression(element=Q.ufl_element()), Q)
#interpolate has allocated a new f -> here I would like to print out the information about f and the new memory address where it is stored