Calculate sensitivity equation of reaction-diffusion systems with dolfinx

Hello @dokken Could you help me what is the mistake for this code, now I think everything is right except the sensitivity, which I still cannot figure out what is wrong Calculate sensitivity equation of reaction-diffusion systems with dolfinx - #20 by Pasuta

You do not have to do it so. But this provides a convenient way to define a B variable (PETSc.Vec) which has the same properties (e.g. size) of dJde.

Thank you for your answer, however, do you have any idea about the sensitivity value. I don’t know what is the mistake :disappointed_relieved: