@@ -2,26 +2,26 @@ module MTKExt
2
2
3
3
using ModelingToolkit: ModelingToolkit, Num
4
4
using Symbolics: Symbolics, tosymbol
5
- using GraphDynamics: GraphDynamics, GraphSystem
5
+ using GraphDynamics: GraphDynamics, GraphSystemParameters, PartitionedGraphSystem
6
6
using SymbolicIndexingInterface: SymbolicIndexingInterface
7
7
8
- function SymbolicIndexingInterface. is_variable (sys:: GraphSystem , var:: Num )
8
+ function SymbolicIndexingInterface. is_variable (sys:: PartitionedGraphSystem , var:: Num )
9
9
SymbolicIndexingInterface. is_variable (sys, tosymbol (var; escape= false ))
10
10
end
11
11
12
- function SymbolicIndexingInterface. variable_index (sys:: GraphSystem , var:: Num )
12
+ function SymbolicIndexingInterface. variable_index (sys:: PartitionedGraphSystem , var:: Num )
13
13
SymbolicIndexingInterface. variable_index (sys, tosymbol (var; escape= false ))
14
14
end
15
15
16
- function SymbolicIndexingInterface. is_parameter (sys:: GraphSystem , var:: Num )
16
+ function SymbolicIndexingInterface. is_parameter (sys:: PartitionedGraphSystem , var:: Num )
17
17
SymbolicIndexingInterface. is_parameter (sys, tosymbol (var; escape= false ))
18
18
end
19
19
20
- function SymbolicIndexingInterface. parameter_index (sys:: GraphSystem , var:: Num )
20
+ function SymbolicIndexingInterface. parameter_index (sys:: PartitionedGraphSystem , var:: Num )
21
21
SymbolicIndexingInterface. parameter_index (sys, tosymbol (var; escape= false ))
22
22
end
23
23
24
- function SymbolicIndexingInterface. is_independent_variable (sys:: GraphSystem , var:: Num )
24
+ function SymbolicIndexingInterface. is_independent_variable (sys:: PartitionedGraphSystem , var:: Num )
25
25
SymbolicIndexingInterface. is_independent_variable (sys, tosymbol (var; escape= false ))
26
26
end
27
27
0 commit comments