Replace Python numerical kernels with native C execution

This commit is contained in:
ljz committed 2026-09-10 01:12:18 +08:00
1 parent 48da6be21c
commit 3b38f73fe0
227 files changed
+16801 -75499

No files matched your search

+3 -3
View File
@@ -12,8 +12,8 @@ from lxml import etree
from app.simulation.core.ports import PortDefinition
from app.simulation.performance import profile_phase
from app.simulation.registry import COMPONENT_MODEL_REGISTRY, ParameterSpec
from app.simulation.solvers.solver import SolveIVPConfig
from app.simulation.systems.generic import (
from app.simulation.config import SolveIVPConfig
from app.simulation.sampling import (
SimulationSampleTimeError,
simulation_sample_times,
)
@@ -25,7 +25,7 @@ SYSTEM_XML_MAX_BYTES = 5 * 1024 * 1024
SYSTEM_XML_V3_SCHEMA_PATH = (
Path(__file__).resolve().parent.parent / "schemas" / "system-simulation-v3.xsd"
)
SUPPORTED_SOLVER_METHODS = {"RK45", "RK23", "DOP853", "Radau", "BDF", "LSODA"}
SUPPORTED_SOLVER_METHODS = {"RK45", "BDF"}
@dataclass(frozen=True)