-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path4.4.4.modify_private_in.cellml
30 lines (30 loc) · 1.02 KB
/
4.4.4.modify_private_in.cellml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>
<!-- CellML Test Suite. https://github.com/MichaelClerx/cellml-validation -->
<!-- CellML 1.0, 4.4.4: A mathml:math can only modify 'owned' variables -->
<model name="modify_private_in"
xmlns="http://www.cellml.org/cellml/1.0#"
xmlns:cellml="http://www.cellml.org/cellml/1.0#">
<component name="A">
<variable name="x" units="dimensionless" private_interface="in" />
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>x</ci>
<cn cellml:units="dimensionless">1</cn>
</apply>
</math>
</component>
<component name="AA">
<variable name="x" units="dimensionless" public_interface="out" />
</component>
<group>
<relationship_ref relationship="encapsulation" />
<component_ref component="A">
<component_ref component="AA" />
</component_ref>
</group>
<connection>
<map_components component_1="A" component_2="AA" />
<map_variables variable_1="x" variable_2="x" />
</connection>
</model>