Repository navigation
H2Matrices.jl v0.1.1
H2Matrices v0.1.1 corrects nested adaptive compression and stored adjoint accuracy, then reduces retained memory and matvec time without relaxing compression tolerances.
- Correct inherited interaction handling and ACA partner weighting; add strict rank-cap checks and transactional strict recompression.
- Add reusable, compact and packet matvec plans. Compact plans remove redundant saturated bases; packet plans support multiple workers with private adjoint reductions and a safe overlapping near-field fallback.
copy(plan)shares numerical data while providing independent scratch for concurrent callers. Optional coupling SVD truncation remains opt-in.- Test on Julia 1.8/current CI and registered HMatrices 0.2.13. Local Julia 1.11/1.12 package suites each pass 537 tests; targeted Merrill integration passes 109 checks.
For the real PLAG066 campaign mesh (19,901 nodes; 100,602 tetrahedra; 6,028 boundary nodes), ACA/basis tolerances remain 1e-11/1e-10. Four-worker numeric storage is 302.75 MB versus original H2 337.78 MB and H 378.59 MB. Reusable forward/adjoint products improve from 7.79/6.92 ms to 3.36/2.61 ms. Paired NEB polishing takes 52.16 s versus H 53.89 s, both 345 iterations; LEM also retains its iteration count. Maximum torque discrepancy on generated states is 5.50e-11 T and barrier difference is 2.38e-10 kBT. All 96 fixed-state checks across 25, 400 and 570 °C pass.
These are single-grain results. Storage measurements exclude scratch/object overhead (selected plan summarysize: 307.57 MB) and do not establish peak assembly RSS savings. Attached CSVs contain the measured screening and solver evidence.
Install this Git release:
using Pkg
Pkg.add(url="https://github.com/duserzym/H2Matrices.jl", rev="v0.1.1")This release is distributed through Git; it is not registered in General.