" So I am not sure how you would ever use an `Assert(...)` in optimized release mode (where you want to run your program to get any performance). "
I was indeed considering my program in debug mode. Based on what you said, there is no way for me to catch the failed .reinit call in optimized released mode and using if-statements is the proper way for me to handle my conditions. Is that correct? " Have you considered looking into our FEPointEvaluation [1] and related "nonmatching" facilities?" Yes, I already use FEPointEvaluation to evaluate the interpoland at arbitrary points. What other "nonmatching" facilities do you think may be helpful? As said, I have to evaluate the interpoland (first and second derivatives) at arbitrary points in real space -- as often as there are quadrature points on my geometry in each assembly. Best, Simon Am Fr., 4. Aug. 2023 um 00:02 Uhr schrieb Matthias Maier <tam...@43-1.org>: > Have you considered looking into our FEPointEvaluation [1] and related > "nonmatching" facilities? > > I have the feeling that we already provide the right data structures for > your interpolation/evaluation needs - in particular with an efficient > and fast implementation. An example usage can be found in step-19. > > Best, > Matthias > > [1] > https://www.dealii.org/current/doxygen/deal.II/classFEPointEvaluation.html > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dealii+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/87zg37bx9e.fsf%4043-1.org. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAM50jEuBtewGX962LmiPtQyLPbz%2BScvDJ_7akdtFQFdmmVcoOQ%40mail.gmail.com.