-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path3.4.6.4.map_variables_chain_down.cellml
More file actions
34 lines (34 loc) · 1.26 KB
/
3.4.6.4.map_variables_chain_down.cellml
File metadata and controls
34 lines (34 loc) · 1.26 KB
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
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<!-- CellML Test Suite. https://github.com/MichaelClerx/cellml-validation -->
<!-- CellML 1.0, 3.4.6.4: Parent-child relationships are defined by
the parent's private interface, and
the child's public interface. -->
<!-- A.a to B.a, B.a to C.a -->
<model name="map_variables_chain_down"
xmlns="http://www.cellml.org/cellml/1.0#">
<component name="A">
<variable name="a" units="newton" private_interface="out" initial_value="1" />
</component>
<component name="B">
<variable name="a" units="newton" public_interface="in" private_interface="out" />
</component>
<component name="C">
<variable name="a" units="newton" public_interface="in" />
</component>
<group>
<relationship_ref relationship="encapsulation" />
<component_ref component="A" >
<component_ref component="B" >
<component_ref component="C" />
</component_ref>
</component_ref>
</group>
<connection>
<map_components component_1="A" component_2="B" />
<map_variables variable_1="a" variable_2="a" />
</connection>
<connection>
<map_components component_1="B" component_2="C" />
<map_variables variable_1="a" variable_2="a" />
</connection>
</model>