On 8/4/21 7:49 AM, Hermes Sampedro wrote:
I am working with step-29 and I was wondering what is the best way to import
the solution vectors (real, imaginary and intensity solutions) into Matlab. Is
it possible to export one point of the solution into a txt file? Or what would
be the easiest way using Dealii for that?
It depends on what you actually want to do with it. I believe that Matlab can
read VTK or VTU files, but these are tailored towards visualization. If you
want the solution at a small number of individual points, you can evaluate it
with VectorTools::point_value() and then output these values by hand.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
--
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/2596a4f4-4a43-4276-43d1-bf3d36fb3d98%40colostate.edu.