jvx.numeric
Class PnOdeExpr
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.numeric.PnOde
|
+--jvx.numeric.PnOdeExpr
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PnOdeExpr
- extends PnOde
Extends basic ode class with ability to supply a string expression of the ode.
- Version:
- 02.10.99, 1.10 revised (kp) Moved to jv.numeric from vgp.tutor.ode.
00.00.98, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
- Serialized Form
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, m_infoPanel, m_name, m_panelList, m_parent, m_tag, m_updateList, NUM_TAGS |
|
Method Summary |
void |
diffEquation(double x,
double[] y,
double[] dy)
Method should be overwritten y an application with problem dependent ODE. |
void |
init()
If instance has missing name then assign default name 'object_NUMBER' where
number is the total number of already created instances. |
void |
setEquation(java.lang.String eq)
|
void |
setEquation(java.lang.String eq,
java.lang.String[] parm)
|
void |
setOrder(int order)
|
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_defaultVariable
public static final java.lang.String[] m_defaultVariable
m_expr
protected Expr m_expr
m_equation
protected java.lang.String m_equation
m_parm
protected Variable[] m_parm
m_var
protected Variable[] m_var
PnOdeExpr
public PnOdeExpr()
init
public void init()
- Description copied from class:
PsObject
- If instance has missing name then assign default name 'object_NUMBER' where
number is the total number of already created instances.
- Overrides:
init in class PnOde
setOrder
public void setOrder(int order)
- Overrides:
setOrder in class PnOde
setEquation
public void setEquation(java.lang.String eq)
setEquation
public void setEquation(java.lang.String eq,
java.lang.String[] parm)
diffEquation
public void diffEquation(double x,
double[] y,
double[] dy)
- Description copied from class:
PnOde
- Method should be overwritten y an application with problem dependent ODE.
- Overrides:
diffEquation in class PnOde
The software JavaView® is copyright protected. All Rights Reserved.