I tried to rewrite step-12 using the recently introduced classes ScratchData and CopyData. In the first iteration, the results are similar, in the second iteration the new version gives wrong results, though. I compared the generated matrices and right hand side vectors, and they were identical, but after the first mesh refinement the rewritten version results in wrong solutions. Thus I was wondering if I forgot to initialize something, or if I forgot to loop over/add some cells after the refinement?
Thanks!