Skip to content
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

VTKExporter #828

Open
KnutAM opened this issue Oct 14, 2023 · 1 comment
Open

VTKExporter #828

KnutAM opened this issue Oct 14, 2023 · 1 comment

Comments

@KnutAM
Copy link
Member

KnutAM commented Oct 14, 2023

As suggested by @fredrikekre on Slack during the discussions about #692, this issue contains the notes for one potential way this could be implemented on top of #692

Having a type that can cache the transformation to the vtk data structures makes sense to avoid having to redo this each time step when using a VTKFileCollection.

Furthermore, this could then be customized to contain the special mappings required for e.g. discontinuous interpolations (xref) and user customizations (perhaps for, e.g., IGA/Embedded, @lijas?).

For example, we could have

struct VTKFile{VTK<:WriteVTK.VTKFile, VTKExp<:VTKExporter}
    vtk::VTK
    vtk_exporter::VTKExp
end
@termi-official
Copy link
Member

Related to this we might also want to check out if we want to do some kine of VTKImporter, which can e.g. help for post-processingin Julia.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants