Package mgui.models.dynamic.functions
Class ODEFunction
java.lang.Object
mgui.interfaces.AbstractInterfaceObject
mgui.models.dynamic.functions.Function
mgui.models.dynamic.functions.ODEFunction
- All Implemented Interfaces:
AttributeObject
,InterfaceObject
,NamedObject
,TreeObject
,CleanableObject
,org.opensourcephysics.numerics.ODE
- Direct Known Subclasses:
CorticalFunction
public abstract class ODEFunction extends Function implements org.opensourcephysics.numerics.ODE
-
Field Summary
Fields Modifier and Type Field Description protected double[]
state
Fields inherited from class mgui.models.dynamic.functions.Function
attributes, isDestroyed
Fields inherited from class mgui.interfaces.AbstractInterfaceObject
tree_nodes
-
Constructor Summary
Constructors Constructor Description ODEFunction()
-
Method Summary
Methods inherited from class mgui.models.dynamic.functions.Function
clone, destroy, evaluate, evaluate, getAttribute, getAttributes, getAttributeValue, getTreeNodeCopy, init, isDestroyed, setAttribute, setAttributes, setTreeNode, toString
Methods inherited from class mgui.interfaces.AbstractInterfaceObject
clean, getName, getTreeLabel, issueTreeNode, setName, updateTreeNodes
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
Methods inherited from interface org.opensourcephysics.numerics.ODE
getRate
-
Field Details
-
state
protected double[] state
-
-
Constructor Details
-
ODEFunction
public ODEFunction()
-
-
Method Details
-
getState
public double[] getState()- Specified by:
getState
in interfaceorg.opensourcephysics.numerics.ODE
-
setState
public void setState(double[] s) -
reset
public abstract void reset()
-