-
Notifications
You must be signed in to change notification settings - Fork 33
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
Document difference between Base.close and vtk_save #148
Comments
Good question. Currently, In contrast, In short, currently, a user should only call Note that none of this matters when using the do-block syntax as recommended in the docs (the file is automatically saved at the end), but I agree that the syntax can be inconvenient in some cases. |
In a sense it becomes public when extending |
I agree. At least one would expect
So the simplest solution is to redefine it to do just that and keep it a public function. |
In Ferrite.jl (Ferrite-FEM/Ferrite.jl#1055) we noticed that
close(::WriteVTK.CollectionFile)
is defined (on the supertypeVTKFile
), but doesn't actually cause the file to be saved which requiresvtk_save
.What is the intended difference? (I couldn't understand the difference based on the docs, hence the issue to document this)
I'm also curious why
close
cannot always be used and whyvtk_save
is required?The text was updated successfully, but these errors were encountered: