计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
model-geometry【效率与协作】Construct and validate OpenMC Python model inputs: materials, CSG geometry, universes, lattices, sources, settings, plots, IDs, bounding boxes, and XML exports.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this route when the task is to build or inspect OpenMC input objects in Python. Keep the work at model-construction level: do not run transport, infer nuclear-data availability, or analyze statepoints and tallies.
--help first, then pass the required explicit --output-dir; it writes
and validates materials.xml, geometry.xml, settings.xml, and
model.xml for a material-filled sphere cell in an explicit universe.openmc.reset_auto_ids() at the start of an
isolated construction. Treat duplicate explicit-ID warnings as a model
ownership problem; do not silence them.openmc.Model.Model.export_to_xml(directory=...) for separate input files and
Model.export_to_model_xml(path=...) for one combined model document. XML
generation is not a transport run and does not require
OPENMC_CROSS_SECTIONS; a later transport run has separate runtime/data
prerequisites owned by setup-runtime.A model-geometry task is complete when the requested Python graph is
constructible, invalid assignments fail with the expected exception class,
geometry.bounding_box and lattice/source choices are checked, and the
requested XML file(s) are written and parsed. The bundled fixture is a
transport-free smoke case and does not establish that a compiled executable,
native shared library, or cross-section data is available. Classify such
checks as optional/blocked instead of treating XML construction as failed.