Баги Windows/physics/save-load/CI#44
Draft
Iosif2321 wants to merge 1 commit into
Draft
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.
Что сделано
Этот PR закрывает набор Windows/physics/save-load/CI багов.
Physics correctness
NeighborListна force-entry path после движения атомов, чтобы быстрые атомы не считали forces по stale neighbor pairs.mobile-fixednon-bonded пары: fixed atoms хранятся после mobile atoms, поэтому пары теперь записываются в mobile rows, которые реально обходитForceField.cutoff + skin:skinбольше не должен менять LJ/Coulomb physics и остаётся параметром amortization/rebuild.CoulombForceField::compute(...), который раньше был no-op.Simulation/cache/save-load
Simulation::setDt, чтобы UI/load paths не могли напрямую протащить invalid dt.NeighborListinvalidates после world-level atom add/remove и box/cell-size изменений.AtomData, а text loader больше не нейтрализует атом при отсутствующем charge.AtomStorage::init..latbintitle/description назначаются послеclear(), чтобы metadata не стиралась сразу после load.Build/package/CI/benchmarks
wgpu_native.dll.latticelab.regression.latticelab_tests.IdealCrystal3Droute, force/energy reset между итерациями, valid NeighborList для rebuild benchmark.#pragma GCC ivdepзаменён на compiler-guardedLATTICELAB_IVDEP, чтобы убрать MSVC C4068 warning.UI
Документация внутри кода
Исправление бага: ..., рядом с relevant fix point.CMakePresets.jsonиспользовано полеdescription, потому что JSON не поддерживает comments.Связанные открытые PR
perf: параллельный расчёт физики через OpenMP) меняет те же physics/CMake файлы, но его scope — OpenMP parallelization. Этот PR не добавляет OpenMP и должен рассматриваться как correctness/verification base перед parallelization.Fix Metal backend and macOS build setup) пересекается только поCMakeLists.txt; Metal/macOS files этим PR не затрагиваются.Проверки
git diff --cached --check— passed.cmake.exe --build --preset debug— passed.ctest.exe --test-dir build\debug --output-on-failure—100% tests passed, 0 tests failed out of 1.cmake.exe --build --preset bench --target latticelab_tests— passed.ctest.exe --test-dir build\bench --output-on-failure—100% tests passed, 0 tests failed out of 1.Notes