Conversation
Updated command syntax for running the loop in README.
lang-m
force-pushed
the
allow-nonuniform-initial-state
branch
from
July 31, 2026 14:37
0af6bda to
5e20603
Compare
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.
Closes #46
Summary
.p2--ini/--initial-stateCLI supportmx,my,mzinitialisationBehaviour
The resolution priority is:
--ini/--initial-state--m0-dir.p2state.p2mx,my,mzVTU initialisation requires the same mesh and node ordering. This restores the nodal magnetisation field only and is not a complete numerical restart.
Validation
/usr/bin/python3 -m py_compile src/tommos/initial_state.py src/tommos/io_utils.py src/tommos/loop.py tests/test_initial_state.py tests/test_package_imports.pypixi run -e test pytest tests/test_initial_state.py(28 passed)pixi run test(63 passed)pixi run lintpixi run -e lint ruff check src/tommos/initial_state.py tests/test_initial_state.pypixi run -e lint ruff format --check src/tommos/initial_state.py tests/test_initial_state.pypixi run build-package