Repository navigation
vtk_compare: three checks out of date since 0.7 - #521
Merged
Merged
Conversation
…l volume's warm time computed Found by the 0.8 round on Windows, against 0.6 (step 11): - external faces failed every check: vtkGeometryFilter(merging=False) keeps every input point, and since 0.7 extract_surface keeps only the points its faces use. summary() counts the points the cells use, on both sides. - point to cell timed project's integral average (a quadrature, the default since 0.7) against vtkPointDataToCellData's mean of a cell's points: average="nodes" is the same work. - cell volume's warm runs read cell_geometry back from the mesh (mesh_kept), 1000x "faster" than 0.6: a pair whose result is kept with the mesh (Pair.kept_with_mesh) is timed warm on a new dataset over the same topology. run.py also says TACK_CPU_THREADS changes nothing there: --config cpuN sets Tack's threads.
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.
The 0.8 round on Windows compared 0.8 with 0.6 using
benchmarks/vtk_compare(step 11) and found three checks in the harness that are out of date since 0.7. None of them is a fault in Tack.vtkGeometryFilter(merging=False)keeps every input point, while since 0.7extract_surfacekeeps only the points its faces use: on 10k tets, 866 points against VTK's 2197.summary()now counts the points the cells use, on both sides.project's integral average, a quadrature over each cell and the default since 0.7, which was 30x 0.6's time. On the VTK side it timedvtkPointDataToCellData's mean of a cell's points. The pair now passesaverage="nodes".cell_geometryback from the mesh (mesh_kept), so they looked 1000x faster than 0.6. A pair whose result is kept with the mesh (Pair.kept_with_mesh) is now timed warm on a new dataset over the same topology, with the setup outside the timing.run.py's docstring now also says thatTACK_CPU_THREADSchanges nothing there, since--config cpuNsets Tack's threads.Checked on macOS with
--config cpu2 --sizes 10k --meshes hex,tetand the external faces, cell volume, point to cell, contour and clip pairs: 18 of 18 checks ok. Cell volume's warm time is now about its fresh time, and the external-faces point counts are equal.🤖 Generated with Claude Code
https://claude.ai/code/session_01GG7WYUWKreUuUnumV7zzqb