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

@@ -0,0 +1,32 @@
"""Reviewed model contract versions implemented by the C kernels.
A new registration/version must be explicitly ported and tested; it does not
gain native support just by inheriting a supported Python component class.
"""
SUPPORTED_VERSIONS = {
'amesim_ideal_air_medium': '0.2.0',
'amesim_helium_medium': '0.1.0',
'amesim_pnpl01': '0.1.0',
'amesim_step0': '0.1.0',
'amesim_ud00': '0.2.0',
'amesim_f000': '0.1.0',
'amesim_forc': '0.2.0',
'amesim_mecmas21': '0.2.0',
'amesim_lstp00a': '0.2.0',
'amesim_lmechn1': '0.2.0',
'amesim_pnrp17': '0.1.0',
'amesim_pnch023': '0.1.0',
'amesim_pnch012': '0.1.0',
'amesim_pnor001': '0.3.0',
'amesim_pnvo001_fixed': '0.2.0',
'amesim_pnvo001': '0.2.0',
'amesim_pnl00r': '0.3.0',
'amesim_pnl0001': '0.4.0',
'amesim_pnl0002': '0.6.0',
'amesim_pnl0003': '0.4.0',
'amesim_pn3node2': '0.3.0',
'amesim_p4node2': '0.3.0',
'cylinder': '1.0.0', 'tank': '1.0.0', 'pipe': '1.0.0',
'orifice': '1.0.0', 'tee': '1.0.0',
}
SUPPORTED_TYPES = frozenset(SUPPORTED_VERSIONS)