<xs:complexType name="Gate">
<xs:annotation>
<xs:documentation>Definition of a single voltage/concentration dependent gate</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="state" maxOccurs="2">
<xs:annotation>
<xs:documentation>Internal state of the gate, specifying a name, and possibly a fractional contribution. HHGate or KSGate elements will specify the rate equations, etc. for the gate, referencing this state name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="fraction" type="meta:ZeroToOne" default="1"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="power" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>The power to which the gate is raised in the expression for the total conductance</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType> |