When users change the entries of a .vector(), dolfin-adjoint doesn't notice

Bug #1014534 reported by Patrick Farrell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dolfin-adjoint
New
Undecided
Unassigned

Bug Description

Consider the changing_vector test. In it, the user accesses the .vector() of a diffusivity coefficient and changes it. This causes the adjoint to fail silently, as dolfin-adjoint doesn't know that the vector has been modified.

We should catch this (common) case: dolfin-adjoint should either work or give a useful error message. Change dolfin-adjoint to give a useful error message in this case.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.