Hi, After having installed `pyadjoint` by running `firedrake-update --install pyadjoint` I am getting `AttributeError: 'CoordinatelessFunction' object has no attribute 'block_variable'` on all calls to `solve` or `assemble` e.g.: ``` solve(F == 0, self.I, bcs=bcs) File "/home/bock/bin/firedrake/src/pyadjoint/fenics_adjoint/solving.py", line 28, in solve block = SolveBlock(*args, **kwargs) File "/home/bock/bin/firedrake/src/pyadjoint/fenics_adjoint/solving.py", line 112, in __init__ self.add_dependency(c.block_variable) File "/home/bock/bin/firedrake/src/firedrake/firedrake/function.py", line 275, in __getattr__ return getattr(self._data, name) AttributeError: 'CoordinatelessFunction' object has no attribute 'block_variable' ```
From the error above it seems that the constellation of my imports is incorrect, and that the (I believe) correct `Function` in firedrake_adjoint/types/function.py is not used. I have been playing around with different combinations of `from {firedrake_adjoint, pyadjoint} import *` without success.
Can you please point me in the direction of documentation that can help me modify my code to cater for the new change? `firedrake-status`: ``` --------------------------------------------------------------------------- |Package |Branch |Revision |Modified | --------------------------------------------------------------------------- |COFFEE |master |5bb1b30 |False | |FInAT |master |ef12759 |False | |PyOP2 |master |8a918cfc |False | |fiat |master |4a201c7 |False | |firedrake |master |3cf27a5f |False | |h5py |firedrake |c1e4a81 |False | |libspatialindex |master |4768bf3 |True | |petsc |firedrake |3c589c124b|False | |petsc4py |firedrake |3f09f6d |False | |pyadjoint |master |89b15bd |False | |tsfc |master |e6882a1 |False | |ufl |master |bd0376da |False | --------------------------------------------------------------------------- ``` <mailto:firedrake%40imperial.ac.uk> Best regards, Andreas Bock