Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release 1.4.0. Adds XDMF support for dynamic simulation data, reworks the playback bar, and ships the previously unreleased annotation mode.
XDMF parser (
.xdmf/.xmf)vtkXMLUtilities; heavy data via the HDF5 C API using the copy VTK already links (VTK::hdf5, falling back tofind_package(HDF5)) - no new dependency.Topology/Geometryread once (Triangle/Quadrilateral/Line, XY or XYZ); the temporal collection becomes one dataset path per step perAttribute, Node- and Cell-centered.DataItemformats fail with an explicit message.Playback
H5Dreaddirectly into the existingvtkFloatArraybuffer (float64 to float32 on the fly), no allocation, no geometry re-read; only the array is marked modified.QElapsedTimer+ anchor step): each tick jumps to the frame the elapsed time calls for, dropping frames instead of queueing them, so 8x/12x runs at the requested rate rather than in slow motion.QPainterPathglyphs.TemporalSourceis now an interface withVTKHDFTemporalSourceandXdmfTemporalSourcebackends; parsers expose their series throughMeshParser::temporal(), replacing thedynamic_castinMeshLoading.Verification
Loaded a 302-step FEniCS output (22801 points, 45000 triangles): geometry, scalars and playback all correct, and the fixed color range matches an independent h5py computation exactly (-84.28 .. 35.02).
Also included: annotation mode (
--annotate) and mesh JSONsurfaceskey, both previously committed but unreleased.