-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path5.2.7.unit_checking_dimensionless.cellml
40 lines (40 loc) · 1.19 KB
/
5.2.7.unit_checking_dimensionless.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
31
32
33
34
35
36
37
38
39
40
<?xml version="1.0" encoding="UTF-8"?>
<!-- CellML Test Suite. https://github.com/MichaelClerx/cellml-validation -->
<!-- CellML 1.0, 5.2.7: Unit checking: exponent doesn't matter for dimensionless -->
<model name="unit_checking_piecewise"
xmlns="http://www.cellml.org/cellml/1.0#"
xmlns:cellml="http://www.cellml.org/cellml/1.0#">
<units name="wooster">
<unit units="dimensionless" exponent="3" />
</units>
<component name="A">
<variable name="x" units="dimensionless" />
<variable name="y" units="dimensionless" />
<variable name="z" units="dimensionless" />
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>x</ci>
<apply>
<times />
<cn cellml:units="dimensionless">2</cn>
<cn cellml:units="dimensionless">3</cn>
</apply>
</apply>
<apply>
<eq/>
<ci>y</ci>
<cn cellml:units="wooster">2</cn>
</apply>
<apply>
<eq/>
<ci>z</ci>
<apply>
<divide />
<cn cellml:units="dimensionless">1</cn>
<cn cellml:units="wooster">2</cn>
</apply>
</apply>
</math>
</component>
</model>