You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During adding the test in #15292 I found that some fields are not cleared before they are filled again in reinint_*(). Therefore, having a sequence of reinits leads to unwanted behavior.
In my case, I called reinit_faces() and reinit_cells() on the same MappingInfo object and got the wrong JxW due to a mismatch of quadrature indices. Using a new object works. In this particular case, e.g., n_q_points_unvectorized is not cleared in reinit_cells(). I can fix that, but I am not as familiar with all the code and will probably forget some fields which should be cleared. Would you mind taking a look?
The text was updated successfully, but these errors were encountered:
@bergbauer
During adding the test in #15292 I found that some fields are not cleared before they are filled again in
reinint_*()
. Therefore, having a sequence ofreinits
leads to unwanted behavior.In my case, I called
reinit_faces()
andreinit_cells()
on the sameMappingInfo
object and got the wrongJxW
due to a mismatch of quadrature indices. Using a new object works. In this particular case, e.g.,n_q_points_unvectorized
is not cleared inreinit_cells()
. I can fix that, but I am not as familiar with all the code and will probably forget some fields which should be cleared. Would you mind taking a look?The text was updated successfully, but these errors were encountered: