Location: Prototype reset rules @ 6ece3849ec1d / csymbol.xml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2016-09-21 09:46:16+01:00
Desc:
adding cell division example to further test things out
Permanent Source URI:
https://models.physiomeproject.org/workspace/351/rawfile/6ece3849ec1d5bfb41bfa34146ea98d79fcee940/csymbol.xml

<?xml version="1.0" encoding="iso-8859-1"?>
<model
    name="reset"
    cmeta:id="reset"
    xmlns="http://www.cellml.org/cellml/2.0#"
    xmlns:cellml="http://www.cellml.org/cellml/2.0#">
  <component name="main" id="main">
    <variable name="time" units="dimensionless"/>
    <variable name="x" initial_value="0" units="dimensionless"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="eq1">
      <apply id="time_rate"><eq/>
        <apply><diff/>
          <ci>x</ci>
          <bvar><ci>time</ci></bvar>
        </apply>
        <cn cellml:units="dimensionless">1</cn>
      </apply>
      <apply><csymbol definitionURL="http://www.cellml.org/cellml/reset"/>
      	<apply><eq/>
      		<ci>x</ci>
      		<cn cellml:units="dimensionless">1</cn>
      	</apply>
      	<apply><geq/>
      		<ci>x</ci>
      		<cn cellml:units="dimensionless">10</cn>
      	</apply>
      </apply>
    </math>
  </component>
</model>