Optimization of physical structures
Run
streamlit run Structura.pyInstall uv, then run
uv sync --group devto create a virtual environment and install all dependencies (including dev tools).
Run
uv run pre-commit run --all-filesto run all pre-commit hooks, including style formatting and unit tests.
Edit the dependencies list in pyproject.toml to add or remove direct dependencies.
Then run
uv lockto update uv.lock with all resolved transitive dependencies.
Run uv sync again to apply the changes to your virtual environment.
Based on "A 165 Line Topology Optimization Code" by Niels Aage & Villads Egede Johansen, January 2013.