Skip to content

refactor: segment processing and mesh deduplication - #164

Merged
tobre1 merged 6 commits into
masterfrom
fixes
Sep 7, 2026
Merged

tobre1 merged 6 commits into
masterfrom
fixes

Conversation

@tobre1

@tobre1 tobre1 commented Sep 7, 2026

Copy link
Copy Markdown
Member
  • Use OpenMP parallel loops to process every segment independently of thread count.
  • Fix advection dissipation checks and material ID replacement.
  • Rework removeDuplicateNodes() for expected linear runtime, preserving first-occurrence point data and remapping all element connectivity.
  • Reuse existing index hashing and vector operations in oxidation solvers; prevent copying GPU buffer owners.
  • Fix CI build configuration and make the exported VTK dependency conditional.
  • Bump the version to 5.9.0, require pybind11>=3.1.0, and refresh Python stubs.

@tobre1
tobre1 merged commit 64149f2 into master Sep 7, 2026
18 checks passed
@tobre1
tobre1 deleted the fixes branch September 7, 2026 18:37
FilipovicLado added a commit that referenced this pull request Oct 28, 2026
Brings in #164: segment loops as omp parallel for, Mesh
removeDuplicateNodes, version 5.9.0.

Conflicts
- lsOxidation*.hpp (5 files): this branch's version. #164's edits there
  (caches keyed by Index with viennahrle::Index::hash, ViennaCore vector
  operators instead of detail::vecAdd/vecScaled) apply to code this
  branch rewrote or removed; taking them over is a separate change.
- CMakeLists.txt: both install-target additions kept (Eigen/AMGCL
  headers, VIENNALS_DEPENDENCIES).
- python/viennals/*.pyi: regenerated from the merged module
  (pybind11-stubgen 2.5.5); adds GpuMode.Auto, which the stubs of this
  branch were missing.

All 63 tests build and pass; the 3-D LOCOS corner (CPU) writes
byte-identical output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant