If I have a function f(x), I want to store only the dof-coordinates, and the corresponding node values into a single file (.txt or something similar) such that I can load that data for analysing. There is no need to visualize the function in Paraview, and I will have thousands of functions, which means VTK or XDMF may not be suitable.
In the old fenics, there is the “XYZ” file that could be used, and I’m wondering is there anything similar in DOLFINx? Thanks!
Note that for blocked spaces (vector or tensor spaces) you need to unroll the dof coordinates for block size.
The references to the documentation is based on your previous posts using C++.