-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort out naming in XDMFFile method names #20
Comments
Addressed in https://github.com/FEniCS/dolfinx/tree/michal/sort-naming-xdmf But I don't like the wrapping in |
@michalhabera I'm tending toward nothing in the This would also help with documentation. The Python and C++ interface would have their own docs. |
Thanks for clarification, @garth-wells . If I got it right it means, that python docstrings would go to |
Some will just be I don't expect it will be more work that what we already have, and likely less . In cases it will be less because we won't have to manage something one on of two things, e.g. a |
More work has to be done. Renaming scheme from above is misleading (see #62 ). Renaming On the other hand VTKish format in XDMFFile should be more explicit. The idea is to have The same names would be applied also to VTKFile. Any comments appreciated before I start the work. |
The naming above is too complicated. We need to keep things easy. And in order to avoid new function memory allocation just to IO, we can have some local, cell-wise interpolation methods. These can work as iterators and cell by cell flush the values. |
@garth-wells this is not resolved. Right now we have removed write_checkpoint, and we have to reintroduce it at some point. |
From @blechta
It has been agreed in a discussion that following renaming scheme is favourable
Arguably
write_vertex_values()
could be removed once support forwrite_checkpoint()
format in Paraview is packaged and distributed well. User can instead do more explicit operation involving some kind of interpolation or projection.See https://bitbucket.org/fenics-project/dolfinx/issues/27/sort-out-naming-in-xdmffile for comments.
The text was updated successfully, but these errors were encountered: