Skip to content

Commit 6dd589e

Browse files
committed
feat(core): add fmi 3.0 native arrays, clocks, terminals, intermediate update proxy
1 parent c8b40da commit 6dd589e

4 files changed

Lines changed: 728 additions & 6 deletions

File tree

packages/core/src/compiler/modelica/dae.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,8 @@ export abstract class ModelicaVariable extends ModelicaPrimaryExpression {
19861986
flowPrefix: string | null;
19871987
/** Override type name for record-typed function parameters (e.g., "Complex" instead of "Real"). */
19881988
customTypeName: string | null;
1989+
/** Array dimensions for FMI 3.0 native array support (e.g., [3] for a 1D vector, [2,3] for a 2D matrix). */
1990+
arrayDimensions: number[] | null;
19891991

19901992
constructor(
19911993
name: string,
@@ -2010,6 +2012,7 @@ export abstract class ModelicaVariable extends ModelicaPrimaryExpression {
20102012
this.functionType = functionType ?? null;
20112013
this.flowPrefix = null;
20122014
this.customTypeName = null;
2015+
this.arrayDimensions = null;
20132016
}
20142017

20152018
override get hash(): string {

0 commit comments

Comments
 (0)