-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path5.4.1.2.units_shadowing_2.cellml
More file actions
37 lines (37 loc) · 1.06 KB
/
5.4.1.2.units_shadowing_2.cellml
File metadata and controls
37 lines (37 loc) · 1.06 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
35
36
37
<?xml version="1.0" encoding="UTF-8"?>
<!-- CellML Test Suite. https://github.com/MichaelClerx/cellml-validation -->
<!-- CellML 1.0, 5.4.1.2: Component units can shadow model unit names; the
component unit takes precedence. -->
<model name="units_shadowing_2"
xmlns="http://www.cellml.org/cellml/1.0#"
xmlns:cellml="http://www.cellml.org/cellml/1.0#">
<units name="wooster">
<unit units="volt" />
</units>
<component name="A">
<units name="wooster">
<unit units="newton" />
</units>
<variable name="x" units="wooster" />
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>x</ci>
<cn cellml:units="newton">1</cn>
</apply>
</math>
</component>
<component name="B">
<units name="wooster">
<unit units="kilogram" />
</units>
<variable name="x" units="wooster" />
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>x</ci>
<cn cellml:units="kilogram">1</cn>
</apply>
</math>
</component>
</model>