For checking the correctness of my calculations, I use manufactured solutions (similar to step-7). Now I was wondering if it is possible to create a vector containing the correct solution which can be printed together with the calculated solution, for example in vtu-files? I have a function containing the correct solution, but I do not know (yet) how to create a vector which contains the solution values at the correct positions in the grid. Of course I could loop over every cell and calculate the value there, but I think that that is rather time-consuming, thus I was looking for better/faster alternatives.
-- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
