HTPolyNet 2.11.6__tar.gz → 2.12.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {htpolynet-2.11.6 → htpolynet-2.12.0}/CHANGELOG.md +63 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/PKG-INFO +1 -1
- {htpolynet-2.11.6 → htpolynet-2.12.0}/ROADMAP.md +16 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/htpolynetpackage.rst +10 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/usage.rst +52 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/pyproject.toml +1 -1
- htpolynet-2.12.0/src/htpolynet/analysis/piercings.py +226 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cli.py +7 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/triplesearch.py +4 -22
- htpolynet-2.12.0/src/htpolynet/geometry/piercing.py +120 -0
- htpolynet-2.12.0/tests/unit/test_config_docs_coverage.py +57 -0
- htpolynet-2.12.0/tests/unit/test_piercings.py +278 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.claude/settings.json +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.claude/skills/htpolynet/SKILL.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.envrc +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.github/workflows/conda-forge-sync.yml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.github/workflows/docker.yml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.github/workflows/docs.yml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.github/workflows/release.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.github/workflows/test.yml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.gitignore +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/.readthedocs.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/CITATION.cff +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/CLAUDE.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/LICENSE +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/MANIFEST.in +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/README.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docker/Dockerfile +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docker/compose.yml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docker/docker-entrypoint.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/Makefile +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/README.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/make.bat +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/requirements.txt +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/_static/.gitkeep +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/_static/htpolynet-favicon.ico +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/_static/htpolynet-landing.jpg +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/_static/htpolynet-logo-dark.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/_static/htpolynet-logo-light.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/changelog.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/conf.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/monomer.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/STY.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/STYCC.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/styrene-polymerization.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/BPA.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/GMA.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/HIE.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.eps +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.fig +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/p1-traces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.eps +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.fig +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-epoxy.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-labelled.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-2d.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-labelled.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.eps +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.fig +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/equil-rho_v_ns.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/postsim-typical.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-e.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-equil-rho_v_ns.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-rho_v_ns.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-tg.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r1.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r2.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r3.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/rho_v_ns.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-e.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-tg.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/monomers.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/configuration.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/introduction.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/monomers.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-coloring.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-cured.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-detail.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-liq.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/buildtraces.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/cure_info.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/densification-density.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/reaction_network.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/reactions.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/results.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/example-tutorials/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/install.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/references/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/references/mol2-reference.pdf +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/references.bib +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/CURE.odg +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/bond_filter.odg +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/building-a-system.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-run.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/configuration-files.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/container-usage.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/flow1.odg +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/flow1yaml.odg +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/hydrogenated.eps +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/hydrogenated.fig +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/index.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/molecular-structure-inputs.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/periodic-networks.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/STY.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/STYCC.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/bond_filter.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/hydrogenated.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/postcure-repair.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/docs/source/user-guide/program-flow.rst +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/check-conda-sync.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/release.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/render-detail.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/render-detail.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/render-snapshot.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/scripts/run_all_examples.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/analysis/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/analysis/analyze.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/analysis/plot.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/analysis/postsim.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/analysis/utils.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/bondtemplate.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/configuration.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/coordinates.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/molecule.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/paramcache.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/productsplice.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/projectfilesystem.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/runtime.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/topocoord.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/core/topology.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/chain.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/curecontroller.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/expandreactions.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/reaction.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/cure/ringcontroller.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/ambertools.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/command.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/gromacs.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/slurm.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/smiles_input.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/external/software.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/bondlist.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/lattice.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/linkcell.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/matrix4.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/placement.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/ring.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/geometry/templategeom.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/io/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/io/gro.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/io/mol2.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/io/pdb.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/repair/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/repair/cyanate_cap.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/repair/topology_surgery.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/README.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/claude/SKILL.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/1-polystyrene.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/README.md +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/min.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/npt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/STY.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/render.tcl +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/schema/base.yaml +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/banner.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/checkpoint.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/convergence.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/dataframetools.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/inputcheck.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/logsetup.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/profiling.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/stringthings.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/src/htpolynet/utils/vmd_viz.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/conftest.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/__init__.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/config1.gro +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/config1.top +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/config2.gro +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/config2.top +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/items31.edr +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/items43.edr +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/items45.edr +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/fixtures/short.mdp +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_bondtemplate.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_cap_placement.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_chain.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_checkout_shadowing.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_completion_bias.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_conda_sync.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_configuration.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_convergence.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_cure_site_functionality.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_dataframetools.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_density_gate.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_gpu_usability.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_inputcheck.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_linkcell_pierce.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_mdrun_gpu_options.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_mol2_bond_fallback.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_molecule_charge_report.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_moleculetype_name.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_multibody_reactions.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_overlong_bond_report.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_paramcache.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_paramcache_ambertools.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_parameterize_react.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_placement_and_ringclose.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_plot_smoke.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_productsplice.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_projectfilesystem.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_relax_instrumentation.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_repair_charge_neutrality.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_repair_conversion.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_resources.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_ring.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_ring_cure_schema.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_ring_pierce_figs.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_ringcontroller.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_setup_claude.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_sibling_templates.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_slurm_script.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_smiles_input.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_software_provenance.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_templategeom.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_topology/test.top +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_topology.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_transrot_turn_scan.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_triplesearch.py +0 -0
- {htpolynet-2.11.6 → htpolynet-2.12.0}/tests/unit/test_user_frcmod.py +0 -0
|
@@ -7,6 +7,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.12.0] - 2026-09-28
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **A test now fails when a configuration section is added without documenting it.**
|
|
15
|
+
`configs-for-run.rst` still opens by saying a run config has "at most ten distinct
|
|
16
|
+
sections" while the schema has fourteen: `ncpu`, `ring_cure` and `postcure_repair` have
|
|
17
|
+
never been written up. The new test carries those three in a named list so the
|
|
18
|
+
existing debt does not block the suite, fails on any *new* undocumented section, and
|
|
19
|
+
fails again if one of the three is documented and left on the list.
|
|
20
|
+
|
|
21
|
+
- **`htpolynet piercings` reports any bond threaded through a ring in a finished
|
|
22
|
+
network.** Since 2.11.4 a ring cure can *refuse* to create a threading, and there was
|
|
23
|
+
no way to ask whether one is there. That asymmetry is the reason this exists: a
|
|
24
|
+
preventive check whose effect cannot be measured with the same tool is hard to trust,
|
|
25
|
+
and every number that justified those filters came from scripts outside the package.
|
|
26
|
+
Nothing about it is chemistry-specific --- any network built by dragging monomers
|
|
27
|
+
together can thread a bond through a ring.
|
|
28
|
+
|
|
29
|
+
It takes a top and gro pair like `make-viz`, reports each piercing with the ring's
|
|
30
|
+
composition, whether the piercing bond belongs to a residue of the ring, the offset of
|
|
31
|
+
the crossing from the ring centre in nm and as a fraction of the ring radius, the
|
|
32
|
+
angle to the ring normal, and the bond length; it correlates those against bonds too
|
|
33
|
+
long to be bonds, which in measured data are the same set. `-json` writes the
|
|
34
|
+
findings out. It exits 1 when it finds any, so it can gate a pipeline.
|
|
35
|
+
|
|
36
|
+
The geometry moved to `htpolynet.geometry.piercing`, shared with the ring cure's own
|
|
37
|
+
filters so that a measurement and the thing it measures cannot drift apart.
|
|
38
|
+
|
|
39
|
+
**Validated against 12 independently measured builds** (8 affected, 10 piercings):
|
|
40
|
+
counts agree on all 12, including the four clean ones, and both interlocked cases are
|
|
41
|
+
found with both halves. Bond lengths agree to the last digit, offsets within
|
|
42
|
+
0.001 A, angles within 0.03 degrees. Four of those piercings are in the test suite as
|
|
43
|
+
fixtures, atom-for-atom.
|
|
44
|
+
|
|
45
|
+
That comparison found two defects in the reference data rather than in this code ---
|
|
46
|
+
atom indices off by one, and a fraction divided by a mean rather than a maximum
|
|
47
|
+
centre-to-vertex distance --- both since corrected upstream. The index error was
|
|
48
|
+
findable only by testing whether the reported ring was a closed cycle in the topology,
|
|
49
|
+
which is the check worth keeping in mind when two implementations are compared: agree
|
|
50
|
+
with the data, not with the other detector.
|
|
51
|
+
|
|
52
|
+
The angle is reported as `angle_from_normal`, and **0 degrees means the bond runs
|
|
53
|
+
straight through**, perpendicular to the ring plane. The report says so in a legend,
|
|
54
|
+
because the obvious reading of such a field is the opposite one.
|
|
55
|
+
|
|
56
|
+
Documented in the user guide, in the subcommand table and with a section of its own,
|
|
57
|
+
alongside a note that a threaded ring is a topological defect rather than a strain
|
|
58
|
+
relaxation removes: if one is found in a finished build, rebuilding with the ring-cure
|
|
59
|
+
filters on is the remedy and there is no post-hoc repair.
|
|
60
|
+
|
|
61
|
+
**Image before you average.** Every ring atom is brought into one periodic image
|
|
62
|
+
before the centroid is taken. Without that, a ring straddling a boundary gets a
|
|
63
|
+
centroid in the middle of the box and a triangle fan spanning the cell: measured here
|
|
64
|
+
on a 2 nm box, a 0.14 nm ring reads as 0.938 nm about a centre a full box-half away,
|
|
65
|
+
which reports a piercing for nearly everything nearby. A detector written without it
|
|
66
|
+
found 212 piercings in an uncured melt, where the answer is zero by construction, and
|
|
67
|
+
about 15% of rings straddle a boundary in a real system. The test suite covers that
|
|
68
|
+
case, its converse, over-long piercing bonds of 2.4 to 3.2 A, composition classified
|
|
69
|
+
on the whole ring rather than on a residue count or a truncated printout, and two
|
|
70
|
+
interlocked rings.
|
|
71
|
+
|
|
72
|
+
|
|
10
73
|
## [2.11.6] - 2026-09-27
|
|
11
74
|
|
|
12
75
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: htpolynet
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.12.0
|
|
4
4
|
Summary: Automated MD System Builder for Amorphous Network Polymers
|
|
5
5
|
Project-URL: Source, https://github.com/cameronabrams/htpolynet
|
|
6
6
|
Project-URL: Documentation, https://htpolynet.readthedocs.io/
|
|
@@ -1414,6 +1414,22 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
1414
1414
|
|
|
1415
1415
|
## Configuration
|
|
1416
1416
|
|
|
1417
|
+
- **Three config sections have no user documentation**: `ncpu`, `ring_cure` and
|
|
1418
|
+
`postcure_repair`. `docs/source/user-guide/configs/configs-for-run.rst` opens by
|
|
1419
|
+
saying a run config has "at most ten distinct sections"; the schema has fourteen. A
|
|
1420
|
+
user can write any of the three and get no guidance at all, and `ring_cure` is the
|
|
1421
|
+
worst of them --- about fifteen settings, several added during 2.11.x, including two
|
|
1422
|
+
threading filters that change which rings form.
|
|
1423
|
+
|
|
1424
|
+
`tests/unit/test_config_docs_coverage.py` now fails if a *new* section is added
|
|
1425
|
+
undocumented, and carries these three in a named `UNDOCUMENTED` list so the existing
|
|
1426
|
+
debt does not block the suite while a new lapse does. The test also fails if one of
|
|
1427
|
+
them is documented and left on the list, so the list cannot outlive the debt.
|
|
1428
|
+
|
|
1429
|
+
Writing `ring_cure` up properly is worth doing once its settings stop moving; doing it
|
|
1430
|
+
now would document a moving target. `postcure_repair` and `ncpu` are small and could
|
|
1431
|
+
go at any time.
|
|
1432
|
+
|
|
1417
1433
|
- **Move config handling onto ycleptic.** Approved by Cameron 2026-09-08.
|
|
1418
1434
|
`core/configuration.py` (85 lines) reads YAML/JSON and `.get()`s eleven
|
|
1419
1435
|
known top-level sections into attributes with **no validation at all**: an
|
|
@@ -22,6 +22,11 @@ htpolynet.analysis
|
|
|
22
22
|
:undoc-members:
|
|
23
23
|
:show-inheritance:
|
|
24
24
|
|
|
25
|
+
.. automodule:: htpolynet.analysis.piercings
|
|
26
|
+
:members:
|
|
27
|
+
:undoc-members:
|
|
28
|
+
:show-inheritance:
|
|
29
|
+
|
|
25
30
|
.. automodule:: htpolynet.analysis.postsim
|
|
26
31
|
:members:
|
|
27
32
|
:undoc-members:
|
|
@@ -207,6 +212,11 @@ htpolynet.geometry
|
|
|
207
212
|
:undoc-members:
|
|
208
213
|
:show-inheritance:
|
|
209
214
|
|
|
215
|
+
.. automodule:: htpolynet.geometry.piercing
|
|
216
|
+
:members:
|
|
217
|
+
:undoc-members:
|
|
218
|
+
:show-inheritance:
|
|
219
|
+
|
|
210
220
|
htpolynet.repair
|
|
211
221
|
----------------
|
|
212
222
|
|
|
@@ -21,6 +21,7 @@ Subcommand Description
|
|
|
21
21
|
``analyze`` Perform ``gmx``-style analyses of trajectories generated by post-build MD simulations
|
|
22
22
|
``gen-slurm-script`` Emit a SLURM batch script that runs ``htpolynet run`` for a given config
|
|
23
23
|
``make-viz`` Regenerate VMD visualization files (``.viz.psf`` + ``.viz.tcl``) from an existing ``top`` + ``gro`` pair
|
|
24
|
+
``piercings`` Report any bond threaded through a ring in an existing ``top`` + ``gro`` pair
|
|
24
25
|
``setup-claude`` Install htpolynet's Claude Code skill so an agent can drive htpolynet
|
|
25
26
|
==================== ========================
|
|
26
27
|
|
|
@@ -514,6 +515,57 @@ The main ``.viz.tcl`` sources this file when it exists, so the macros are availa
|
|
|
514
515
|
|
|
515
516
|
The residue-level view is untouched — selections like ``resname TBO`` or ``resname IPD`` still work — the constituent macros are an *additive* layer.
|
|
516
517
|
|
|
518
|
+
``htpolynet piercings``
|
|
519
|
+
!!!!!!!!!!!!!!!!!!!!!!!
|
|
520
|
+
|
|
521
|
+
A crosslinking cure drags monomers together, and a bond can end up passing *through* a
|
|
522
|
+
ring --- a phenyl, a triazine, any covalent ring in the system. The monomer is then
|
|
523
|
+
threaded and cannot relax out: escaping needs a bond to break, not a barrier to be
|
|
524
|
+
crossed. Such a bond is usually found stretched far past any credible length, and it
|
|
525
|
+
survives minimization and annealing unchanged.
|
|
526
|
+
|
|
527
|
+
Since 2.11.4 a ring cure can *refuse* to create one: ``reject_threaded_rings`` declines
|
|
528
|
+
a ring that would close around an existing bond, and ``reject_new_threading`` declines
|
|
529
|
+
one whose closure dragged a monomer's own bond through a ring already present. Both are
|
|
530
|
+
``ring_cure`` settings and both default to true. ``piercings`` is how you check whether
|
|
531
|
+
one is there anyway, in any ``top`` + ``gro`` pair:
|
|
532
|
+
|
|
533
|
+
.. code-block:: console
|
|
534
|
+
|
|
535
|
+
$ htpolynet piercings -h
|
|
536
|
+
usage: htpolynet piercings [-h] [-top TOP] [-gro GRO] [-max-ring MAX_RING] [-json JSON]
|
|
537
|
+
|
|
538
|
+
options:
|
|
539
|
+
-h, --help show this help message and exit
|
|
540
|
+
-top TOP input gromacs topology file (default: final.top)
|
|
541
|
+
-gro GRO input gromacs coordinate file (default: final.gro)
|
|
542
|
+
-max-ring MAX_RING largest ring to consider when the topology carries no ring list
|
|
543
|
+
(default: 8)
|
|
544
|
+
-json JSON also write the findings to this JSON file
|
|
545
|
+
|
|
546
|
+
Each piercing is reported with the ring's composition as a formula (``C3N3`` for a
|
|
547
|
+
triazine, ``C6`` for a phenyl), whether the piercing bond belongs to a residue that is
|
|
548
|
+
part of the ring, the offset of the crossing point from the ring centre both in
|
|
549
|
+
Angstroms and as a fraction of the ring radius, the angle between the bond and the ring
|
|
550
|
+
normal, and the bond length. **An angle of 0 degrees means the bond runs straight
|
|
551
|
+
through the ring**, perpendicular to its plane; the report says so in a legend, because
|
|
552
|
+
the obvious reading of such a number is the opposite one.
|
|
553
|
+
|
|
554
|
+
The command exits 1 when it finds anything, so it can gate a pipeline:
|
|
555
|
+
|
|
556
|
+
.. code-block:: console
|
|
557
|
+
|
|
558
|
+
$ htpolynet piercings -top final.top -gro final.gro || echo "threaded rings found"
|
|
559
|
+
|
|
560
|
+
It reuses the ring list htpolynet already carries when there is one. For a ``top`` that
|
|
561
|
+
has none, it finds the smallest ring through each bond, up to ``-max-ring`` atoms.
|
|
562
|
+
|
|
563
|
+
.. note::
|
|
564
|
+
|
|
565
|
+
A threaded ring is a topological defect, not a strain that relaxation removes. If
|
|
566
|
+
you find one in a finished build, rebuilding with the ring-cure filters enabled is
|
|
567
|
+
the remedy; there is no post-hoc repair for it.
|
|
568
|
+
|
|
517
569
|
``htpolynet setup-claude``
|
|
518
570
|
!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
519
571
|
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"""Finds bonds threaded through rings in a finished network.
|
|
2
|
+
|
|
3
|
+
htpolynet can refuse to *create* a threading during a ring cure, and until now it could
|
|
4
|
+
not *tell you whether one is there*. That asymmetry is the reason this exists: a
|
|
5
|
+
preventive check whose effect cannot be measured with the same tool is hard to trust,
|
|
6
|
+
and the numbers that justified those filters all came from scripts outside the package.
|
|
7
|
+
|
|
8
|
+
Nothing here is specific to cyanate esters. Any network built by dragging monomers
|
|
9
|
+
together can thread a bond through a ring, and htpolynet builds those by construction.
|
|
10
|
+
|
|
11
|
+
The geometry lives in :mod:`htpolynet.geometry.piercing`, shared with the ring cure's own
|
|
12
|
+
filters so a measurement and the thing it measures cannot drift apart.
|
|
13
|
+
|
|
14
|
+
Author: Cameron F. Abrams <cfa22@drexel.edu>
|
|
15
|
+
"""
|
|
16
|
+
import logging
|
|
17
|
+
|
|
18
|
+
import networkx as nx
|
|
19
|
+
import numpy as np
|
|
20
|
+
|
|
21
|
+
from scipy.spatial import cKDTree
|
|
22
|
+
|
|
23
|
+
from ..core.topology import _element_of
|
|
24
|
+
from ..geometry.piercing import pierces_ring, ring_frame
|
|
25
|
+
|
|
26
|
+
logger = logging.getLogger(__name__)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _bounded_path(G, u, v, max_depth):
|
|
30
|
+
"""Shortest path from u to v of at most `max_depth` edges, or None."""
|
|
31
|
+
if u not in G or v not in G:
|
|
32
|
+
return None
|
|
33
|
+
prev, frontier = {u: None}, [u]
|
|
34
|
+
for _ in range(max_depth):
|
|
35
|
+
nxt = []
|
|
36
|
+
for a in frontier:
|
|
37
|
+
for b in G[a]:
|
|
38
|
+
if b in prev:
|
|
39
|
+
continue
|
|
40
|
+
prev[b] = a
|
|
41
|
+
if b == v:
|
|
42
|
+
path, cur = [], v
|
|
43
|
+
while cur is not None:
|
|
44
|
+
path.append(cur)
|
|
45
|
+
cur = prev[cur]
|
|
46
|
+
return path[::-1]
|
|
47
|
+
nxt.append(b)
|
|
48
|
+
if not nxt:
|
|
49
|
+
return None
|
|
50
|
+
frontier = nxt
|
|
51
|
+
return None
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def detect_rings(bonds, max_size=8):
|
|
55
|
+
"""Smallest ring through each bond, for a topology with no ring list of its own.
|
|
56
|
+
|
|
57
|
+
A build made by htpolynet carries its rings already; this is the fallback for a bare
|
|
58
|
+
top/gro pair. Enumerating all chordless cycles is not an option --- on a percolated
|
|
59
|
+
network it does not finish in reasonable time --- so this takes the shortest
|
|
60
|
+
alternative path between each bonded pair, which gives the smallest ring through
|
|
61
|
+
that bond and nothing larger.
|
|
62
|
+
|
|
63
|
+
Args:
|
|
64
|
+
bonds (pandas.DataFrame): with ai and aj columns
|
|
65
|
+
max_size (int): largest ring to look for
|
|
66
|
+
|
|
67
|
+
Returns:
|
|
68
|
+
list: rings, each a list of atom indices in cyclic order
|
|
69
|
+
"""
|
|
70
|
+
G = nx.Graph()
|
|
71
|
+
G.add_edges_from((int(r.ai), int(r.aj)) for r in bonds.itertuples())
|
|
72
|
+
seen, out = set(), []
|
|
73
|
+
for u, v in list(G.edges()):
|
|
74
|
+
G.remove_edge(u, v)
|
|
75
|
+
# depth-limited on purpose: an unbounded search on a percolated network walks
|
|
76
|
+
# the whole component for every bond that is not in a small ring, which is most
|
|
77
|
+
# of them
|
|
78
|
+
path = _bounded_path(G, u, v, max_size - 1)
|
|
79
|
+
G.add_edge(u, v)
|
|
80
|
+
if path is None:
|
|
81
|
+
continue
|
|
82
|
+
key = frozenset(path)
|
|
83
|
+
if key in seen:
|
|
84
|
+
continue
|
|
85
|
+
seen.add(key)
|
|
86
|
+
out.append([int(x) for x in path])
|
|
87
|
+
return out
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def ring_composition(ring, element_of):
|
|
91
|
+
"""A ring's composition as a formula string, heaviest-count first.
|
|
92
|
+
|
|
93
|
+
Deliberately general: a triazine reads ``C3N3`` and a benzene ``C6`` without this
|
|
94
|
+
module knowing either name. Classify on the whole ring --- keying on residue count
|
|
95
|
+
or on a truncated printout are both ways this has been got wrong.
|
|
96
|
+
"""
|
|
97
|
+
counts = {}
|
|
98
|
+
for i in ring:
|
|
99
|
+
e = element_of.get(int(i), '?')
|
|
100
|
+
counts[e] = counts.get(e, 0) + 1
|
|
101
|
+
return ''.join(f'{e}{counts[e]}' for e in sorted(counts, key=lambda x: (-counts[x], x)))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def find_piercings(TC, max_ring=8, margin=0.3):
|
|
105
|
+
"""Every bond that passes through a ring.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
TC (TopoCoord): the system, with coordinates loaded
|
|
109
|
+
max_ring (int): largest ring to consider when detecting rings
|
|
110
|
+
margin (float): how far beyond a ring's radius to look for bonds, in nm
|
|
111
|
+
|
|
112
|
+
Returns:
|
|
113
|
+
list: one dict per piercing, with the ring, its composition, the bond, whether
|
|
114
|
+
the bond belongs to a residue of the ring, and the geometry of the crossing
|
|
115
|
+
"""
|
|
116
|
+
A = TC.Coordinates.A
|
|
117
|
+
positions = {int(r.globalIdx): np.array([r.posX, r.posY, r.posZ]) for r in A.itertuples()}
|
|
118
|
+
box = np.asarray(TC.Coordinates.box.diagonal(), dtype=float)
|
|
119
|
+
at = TC.Topology.D['atoms']
|
|
120
|
+
element_of = {int(r.nr): _element_of(r.atom, r.type) for r in at.itertuples()}
|
|
121
|
+
resnr_of = {int(r.nr): int(r.resnr) for r in at.itertuples()}
|
|
122
|
+
bonds = TC.Topology.D['bonds']
|
|
123
|
+
|
|
124
|
+
rings = [[int(x) for x in r.idx] for r in (getattr(TC.Topology, 'rings', None) or [])]
|
|
125
|
+
rings = [r for r in rings if 3 <= len(r) <= max_ring]
|
|
126
|
+
if not rings:
|
|
127
|
+
logger.info('No ring list on this topology; detecting rings from the bond graph')
|
|
128
|
+
rings = detect_rings(bonds, max_size=max_ring)
|
|
129
|
+
logger.info(f'Scanning {len(rings)} ring(s) against {bonds.shape[0]} bond(s)')
|
|
130
|
+
|
|
131
|
+
ids = np.fromiter(positions.keys(), dtype=int, count=len(positions))
|
|
132
|
+
pts = np.array([positions[i] for i in ids], dtype=float)
|
|
133
|
+
tree = cKDTree(np.mod(pts, box), boxsize=box)
|
|
134
|
+
bonds_of = {}
|
|
135
|
+
for r in bonds.itertuples():
|
|
136
|
+
ai, aj = int(r.ai), int(r.aj)
|
|
137
|
+
bonds_of.setdefault(ai, []).append((ai, aj))
|
|
138
|
+
bonds_of.setdefault(aj, []).append((ai, aj))
|
|
139
|
+
|
|
140
|
+
out = []
|
|
141
|
+
for ring in rings:
|
|
142
|
+
frame = ring_frame(ring, positions, box)
|
|
143
|
+
if frame is None:
|
|
144
|
+
continue
|
|
145
|
+
_, O, _, radius = frame
|
|
146
|
+
near = tree.query_ball_point(np.mod(O, box), radius + margin)
|
|
147
|
+
ring_set, seen = set(ring), set()
|
|
148
|
+
for j in near:
|
|
149
|
+
a = int(ids[j])
|
|
150
|
+
if a in ring_set:
|
|
151
|
+
continue
|
|
152
|
+
for bond in bonds_of.get(a, ()):
|
|
153
|
+
key = (min(bond), max(bond))
|
|
154
|
+
if key in seen:
|
|
155
|
+
continue
|
|
156
|
+
seen.add(key)
|
|
157
|
+
hit = pierces_ring(ring, bond, positions, box)
|
|
158
|
+
if hit is None:
|
|
159
|
+
continue
|
|
160
|
+
ring_res = {resnr_of.get(i) for i in ring}
|
|
161
|
+
out.append({'ring': ring, 'composition': ring_composition(ring, element_of),
|
|
162
|
+
'bond': key, 'self': resnr_of.get(key[0]) in ring_res
|
|
163
|
+
or resnr_of.get(key[1]) in ring_res,
|
|
164
|
+
**{k: v for k, v in hit.items() if k != 'point'}})
|
|
165
|
+
return out
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def format_report(piercings, overlong=0.2):
|
|
169
|
+
"""A human-readable summary, correlating piercings with over-long bonds."""
|
|
170
|
+
if not piercings:
|
|
171
|
+
return 'No bond passes through a ring in this system.'
|
|
172
|
+
lines = [f'{len(piercings)} bond(s) pass through a ring:', '']
|
|
173
|
+
by_comp = {}
|
|
174
|
+
for p in piercings:
|
|
175
|
+
by_comp[p['composition']] = by_comp.get(p['composition'], 0) + 1
|
|
176
|
+
lines.append(' by ring composition: '
|
|
177
|
+
+ ', '.join(f'{k} {v}' for k, v in sorted(by_comp.items())))
|
|
178
|
+
n_self = sum(1 for p in piercings if p['self'])
|
|
179
|
+
lines.append(f' {n_self} by a bond of a residue in the ring, '
|
|
180
|
+
f'{len(piercings) - n_self} by a foreign residue')
|
|
181
|
+
n_long = sum(1 for p in piercings if p['length'] > overlong)
|
|
182
|
+
lines.append(f' {n_long} of {len(piercings)} piercing bond(s) are longer than '
|
|
183
|
+
f'{overlong} nm, which is longer than any real bond')
|
|
184
|
+
lines.append('')
|
|
185
|
+
lines.append(' (from-normal 0 deg means the bond runs straight through the ring)')
|
|
186
|
+
lines.append('')
|
|
187
|
+
lines.append(' ring composition bond offset frac from-norm length')
|
|
188
|
+
for p in sorted(piercings, key=lambda x: -x['length']):
|
|
189
|
+
r = ','.join(str(x) for x in p['ring'][:3]) + '...'
|
|
190
|
+
lines.append(f' {r:<13} {p["composition"]:<12} '
|
|
191
|
+
f'{p["bond"][0]}-{p["bond"][1]:<10} '
|
|
192
|
+
f'{p["offset"] * 10:6.2f} {p["offset_frac"]:5.2f} '
|
|
193
|
+
f'{p["angle_from_normal"]:9.1f} {p["length"] * 10:6.2f} (A, deg)')
|
|
194
|
+
return '\n'.join(lines)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def piercings(args):
|
|
198
|
+
"""CLI handler for ``htpolynet piercings``.
|
|
199
|
+
|
|
200
|
+
Args:
|
|
201
|
+
args (argparse.Namespace): parsed arguments with ``.top``, ``.gro``,
|
|
202
|
+
``.max_ring``, and optional ``.json``
|
|
203
|
+
"""
|
|
204
|
+
import json
|
|
205
|
+
import os
|
|
206
|
+
|
|
207
|
+
from ..core.topocoord import TopoCoord
|
|
208
|
+
|
|
209
|
+
logging.basicConfig(level=logging.INFO, format='%(message)s')
|
|
210
|
+
for f in (args.top, args.gro):
|
|
211
|
+
if not os.path.exists(f):
|
|
212
|
+
logger.error(f'{f} not found')
|
|
213
|
+
raise SystemExit(1)
|
|
214
|
+
try:
|
|
215
|
+
TC = TopoCoord(topfilename=args.top, grofilename=args.gro)
|
|
216
|
+
found = find_piercings(TC, max_ring=args.max_ring)
|
|
217
|
+
except Exception as e:
|
|
218
|
+
logger.error(f'Piercing analysis failed: {e}')
|
|
219
|
+
raise SystemExit(1)
|
|
220
|
+
print(format_report(found))
|
|
221
|
+
if getattr(args, 'json', None):
|
|
222
|
+
with open(args.json, 'w') as f:
|
|
223
|
+
json.dump([{k: (list(v) if isinstance(v, tuple) else v)
|
|
224
|
+
for k, v in p.items()} for p in found], f, indent=2)
|
|
225
|
+
logger.info(f'Wrote {args.json}')
|
|
226
|
+
raise SystemExit(1 if found else 0)
|
|
@@ -25,6 +25,7 @@ from .utils.banner import banner_message
|
|
|
25
25
|
from .utils.inputcheck import input_check
|
|
26
26
|
from .utils.logsetup import setup_logging
|
|
27
27
|
from .utils.stringthings import my_logger
|
|
28
|
+
from .analysis.piercings import piercings
|
|
28
29
|
from .utils.vmd_viz import make_viz
|
|
29
30
|
|
|
30
31
|
logger = logging.getLogger(__name__)
|
|
@@ -292,6 +293,7 @@ def cli():
|
|
|
292
293
|
('analyze', analyze, "perform 'gmx <command>' style analyses specified in the config file"),
|
|
293
294
|
('gen-slurm-script', gen_slurm_script, 'generate a SLURM submission script for running htpolynet on a cluster'),
|
|
294
295
|
('make-viz', make_viz, 'regenerate VMD viz files (.viz.psf + .viz.tcl) from an existing gromacs top + gro pair'),
|
|
296
|
+
('piercings', piercings, 'report any bond threaded through a ring in a gromacs top + gro pair; exits 1 if any are found'),
|
|
295
297
|
('setup-claude', setup_claude, "install htpolynet's Claude Code skill so an agent can drive htpolynet"),
|
|
296
298
|
]
|
|
297
299
|
|
|
@@ -327,6 +329,11 @@ def cli():
|
|
|
327
329
|
cp['make-viz'].add_argument('-grx', type=str, default=None, help='input htpolynet .grx (default: auto-detect <gro-stem>.grx; needed for the constituent-selection macros)')
|
|
328
330
|
cp['make-viz'].add_argument('-prefix', type=str, default=None, help='output basename; the .viz.psf, .viz.tcl, and .viz.macros.tcl are written next to the input gro (default: stem of -gro)')
|
|
329
331
|
|
|
332
|
+
cp['piercings'].add_argument('-top', type=str, default='final.top', help='input gromacs topology file (default: final.top)')
|
|
333
|
+
cp['piercings'].add_argument('-gro', type=str, default='final.gro', help='input gromacs coordinate file (default: final.gro)')
|
|
334
|
+
cp['piercings'].add_argument('-max-ring', dest='max_ring', type=int, default=8, help='largest ring to consider when the topology carries no ring list (default: 8)')
|
|
335
|
+
cp['piercings'].add_argument('-json', type=str, default=None, help='also write the findings to this JSON file')
|
|
336
|
+
|
|
330
337
|
cp['setup-claude'].add_argument('--skills-dir', type=str, default='~/.claude/skills',
|
|
331
338
|
help='skills directory to install into (default: %(default)s); use ./.claude/skills to scope the skill to one project')
|
|
332
339
|
cp['setup-claude'].add_argument('--force', default=False, action='store_true', help='overwrite an existing installed skill')
|
|
@@ -17,6 +17,8 @@ import pandas as pd
|
|
|
17
17
|
|
|
18
18
|
from scipy.spatial import cKDTree
|
|
19
19
|
|
|
20
|
+
from ..geometry.piercing import segment_pierces_triangle
|
|
21
|
+
|
|
20
22
|
logger = logging.getLogger(__name__)
|
|
21
23
|
|
|
22
24
|
|
|
@@ -155,26 +157,6 @@ def candidate_triples(sites, positions, radius, box, same_molecule=False, same_r
|
|
|
155
157
|
return out
|
|
156
158
|
|
|
157
159
|
|
|
158
|
-
def _segment_pierces_triangle(p0, p1, a, b, c, eps=1e-12):
|
|
159
|
-
"""Moller-Trumbore, restricted to a segment rather than an infinite ray."""
|
|
160
|
-
e1, e2, d = b - a, c - a, p1 - p0
|
|
161
|
-
h = np.cross(d, e2)
|
|
162
|
-
det = float(np.dot(e1, h))
|
|
163
|
-
if abs(det) < eps:
|
|
164
|
-
return False
|
|
165
|
-
inv = 1.0 / det
|
|
166
|
-
s = p0 - a
|
|
167
|
-
u = inv * float(np.dot(s, h))
|
|
168
|
-
if u < 0.0 or u > 1.0:
|
|
169
|
-
return False
|
|
170
|
-
q = np.cross(s, e1)
|
|
171
|
-
v = inv * float(np.dot(d, q))
|
|
172
|
-
if v < 0.0 or u + v > 1.0:
|
|
173
|
-
return False
|
|
174
|
-
t = inv * float(np.dot(e2, q))
|
|
175
|
-
return 0.0 < t < 1.0
|
|
176
|
-
|
|
177
|
-
|
|
178
160
|
def ring_threading_bonds(ring, positions, bonds_of, box, margin=0.3):
|
|
179
161
|
"""Existing bonds that pass through the loop a candidate ring would close.
|
|
180
162
|
|
|
@@ -232,7 +214,7 @@ def ring_threading_bonds(ring, positions, bonds_of, box, margin=0.3):
|
|
|
232
214
|
p1 = p0 + _mic(np.asarray(positions[aj], dtype=float)
|
|
233
215
|
- np.asarray(positions[ai], dtype=float), box)
|
|
234
216
|
for k in range(len(P)):
|
|
235
|
-
if
|
|
217
|
+
if segment_pierces_triangle(p0, p1, O, P[k], P[(k + 1) % len(P)]) is not None:
|
|
236
218
|
out.append((ai, aj))
|
|
237
219
|
break
|
|
238
220
|
return out
|
|
@@ -283,7 +265,7 @@ def rings_threaded_by(bond_pairs, ring_atom_lists, positions, box, margin=0.3):
|
|
|
283
265
|
p1 = p0 + _mic(np.asarray(positions[aj], dtype=float)
|
|
284
266
|
- np.asarray(positions[ai], dtype=float), box)
|
|
285
267
|
for k in range(len(P)):
|
|
286
|
-
if
|
|
268
|
+
if segment_pierces_triangle(p0, p1, O, P[k], P[(k + 1) % len(P)]) is not None:
|
|
287
269
|
out.add((key, (min(ai, aj), max(ai, aj))))
|
|
288
270
|
break
|
|
289
271
|
return out
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"""Whether a bond passes through a ring.
|
|
2
|
+
|
|
3
|
+
One question asked in three places: the ring cure asks it forward (would this new ring
|
|
4
|
+
close around a bond?) and backward (did dragging these monomers push a bond through a
|
|
5
|
+
ring already there?), and the analysis asks it of a finished network. The geometry is
|
|
6
|
+
the same each time and lives here so those three cannot drift apart.
|
|
7
|
+
|
|
8
|
+
A ring is treated as a fan of triangles from its centroid rather than as a plane,
|
|
9
|
+
because the thing being tested is not always flat: at candidate time in a ring cure it
|
|
10
|
+
is three reactive groups a search radius apart, and even a real ring puckers.
|
|
11
|
+
|
|
12
|
+
**Image before you average.** Every ring atom is brought into the same periodic image as
|
|
13
|
+
an anchor atom before the centroid is taken. A centroid of raw wrapped coordinates puts
|
|
14
|
+
the centre of any boundary-straddling ring in the middle of the box and its triangle fan
|
|
15
|
+
across the whole cell, which reports a piercing for nearly everything nearby. About 15%
|
|
16
|
+
of rings straddle a boundary in a typical crosslinked system, so this is the normal case
|
|
17
|
+
rather than a corner one: one detector written without it reported 212 piercings in an
|
|
18
|
+
uncured melt, where the true answer is zero by construction.
|
|
19
|
+
|
|
20
|
+
Author: Cameron F. Abrams <cfa22@drexel.edu>
|
|
21
|
+
"""
|
|
22
|
+
import numpy as np
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def mic(r, box):
|
|
26
|
+
"""Minimum-image displacement."""
|
|
27
|
+
box = np.asarray(box, dtype=float)
|
|
28
|
+
return r - np.round(r / box) * box
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def segment_pierces_triangle(p0, p1, a, b, c, eps=1e-12):
|
|
32
|
+
"""Moller-Trumbore, restricted to a segment rather than an infinite ray.
|
|
33
|
+
|
|
34
|
+
Returns:
|
|
35
|
+
float or None: the fraction along p0->p1 at which it crosses, or None
|
|
36
|
+
"""
|
|
37
|
+
e1, e2, d = b - a, c - a, p1 - p0
|
|
38
|
+
h = np.cross(d, e2)
|
|
39
|
+
det = float(np.dot(e1, h))
|
|
40
|
+
if abs(det) < eps:
|
|
41
|
+
return None
|
|
42
|
+
inv = 1.0 / det
|
|
43
|
+
s = p0 - a
|
|
44
|
+
u = inv * float(np.dot(s, h))
|
|
45
|
+
if u < 0.0 or u > 1.0:
|
|
46
|
+
return None
|
|
47
|
+
q = np.cross(s, e1)
|
|
48
|
+
v = inv * float(np.dot(d, q))
|
|
49
|
+
if v < 0.0 or u + v > 1.0:
|
|
50
|
+
return None
|
|
51
|
+
t = inv * float(np.dot(e2, q))
|
|
52
|
+
return t if 0.0 < t < 1.0 else None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def ring_frame(ring, positions, box):
|
|
56
|
+
"""The ring's own coordinate frame, imaged so it does not straddle a boundary.
|
|
57
|
+
|
|
58
|
+
Args:
|
|
59
|
+
ring (list): atom indices in cyclic order
|
|
60
|
+
positions (dict): atom index -> position, in nm
|
|
61
|
+
box (array-like): box diagonal, in nm
|
|
62
|
+
|
|
63
|
+
Returns:
|
|
64
|
+
tuple: (points, centroid, unit normal, radius) or None if any atom is missing
|
|
65
|
+
"""
|
|
66
|
+
if any(i not in positions for i in ring):
|
|
67
|
+
return None
|
|
68
|
+
anchor = np.asarray(positions[ring[0]], dtype=float)
|
|
69
|
+
P = np.array([anchor + mic(np.asarray(positions[i], dtype=float) - anchor, box)
|
|
70
|
+
for i in ring])
|
|
71
|
+
O = P.mean(axis=0)
|
|
72
|
+
# normal from the averaged cross products of successive centre-to-vertex vectors;
|
|
73
|
+
# sign is arbitrary, which is fine because every use here takes an absolute angle
|
|
74
|
+
V = P - O
|
|
75
|
+
n = np.zeros(3)
|
|
76
|
+
for k in range(len(V)):
|
|
77
|
+
n = n + np.cross(V[k], V[(k + 1) % len(V)])
|
|
78
|
+
norm = np.linalg.norm(n)
|
|
79
|
+
n = n / norm if norm > 1e-12 else np.array([0.0, 0.0, 1.0])
|
|
80
|
+
return P, O, n, float(np.linalg.norm(V, axis=1).max())
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def pierces_ring(ring, bond, positions, box):
|
|
84
|
+
"""Whether `bond` passes through `ring`, and where.
|
|
85
|
+
|
|
86
|
+
Args:
|
|
87
|
+
ring (list): the ring's atom indices in cyclic order
|
|
88
|
+
bond (tuple): (ai, aj); a bond sharing an atom with the ring never counts
|
|
89
|
+
positions (dict): atom index -> position, in nm
|
|
90
|
+
box (array-like): box diagonal, in nm
|
|
91
|
+
|
|
92
|
+
Returns:
|
|
93
|
+
dict or None: ``point``, ``offset`` from the ring centre in nm, ``offset_frac``
|
|
94
|
+
of the ring radius, ``angle`` of the bond to the ring normal in degrees, and
|
|
95
|
+
``length`` of the bond in nm
|
|
96
|
+
"""
|
|
97
|
+
ai, aj = int(bond[0]), int(bond[1])
|
|
98
|
+
if ai in ring or aj in ring:
|
|
99
|
+
return None
|
|
100
|
+
frame = ring_frame([int(x) for x in ring], positions, box)
|
|
101
|
+
if frame is None or ai not in positions or aj not in positions:
|
|
102
|
+
return None
|
|
103
|
+
P, O, n, radius = frame
|
|
104
|
+
anchor = np.asarray(positions[int(ring[0])], dtype=float)
|
|
105
|
+
p0 = anchor + mic(np.asarray(positions[ai], dtype=float) - anchor, box)
|
|
106
|
+
# the far end is imaged against the near end, so the bond stays one segment
|
|
107
|
+
d = mic(np.asarray(positions[aj], dtype=float) - np.asarray(positions[ai], dtype=float), box)
|
|
108
|
+
p1 = p0 + d
|
|
109
|
+
for k in range(len(P)):
|
|
110
|
+
t = segment_pierces_triangle(p0, p1, O, P[k], P[(k + 1) % len(P)])
|
|
111
|
+
if t is not None:
|
|
112
|
+
point = p0 + t * (p1 - p0)
|
|
113
|
+
offset = float(np.linalg.norm(point - O))
|
|
114
|
+
length = float(np.linalg.norm(d))
|
|
115
|
+
cos = abs(float(np.dot(d / length, n))) if length > 0 else 0.0
|
|
116
|
+
return {'point': point, 'offset': offset,
|
|
117
|
+
'offset_frac': offset / radius if radius > 0 else float('nan'),
|
|
118
|
+
'angle_from_normal': float(np.degrees(np.arccos(min(1.0, cos)))),
|
|
119
|
+
'length': length}
|
|
120
|
+
return None
|