Merge system-optimization IR contracts and retire legacy engine adapter

This commit is contained in:
ljz committed 2026-09-10 01:21:53 +08:00
commit 743663e3a6
14 files changed
+3817 -161

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
"""Retired object-engine IR adapter; the independent v2 schema is retained.
Current native execution is generated by native_codegen.compile_native_program.
It does not yet emit the separate System IR v2 execution-plan format.
"""
def compile_system_ir(*args, **kwargs):
"""Fail explicitly for callers of the removed GenericFluidSystem adapter."""
raise NotImplementedError(
"The GenericFluidSystem to System IR v2 exporter was retired with the Python "
"numerical engine. Use native_codegen.compiler.compile_native_program(network) "
"for the current C executable path. System IR v2 schema and validation remain available."
)