|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IODE
Defines methods required by ordinary differential equations in the game framework.
Method Summary | |
---|---|
double[] |
getAllQ()
Return the values of all the dependent variables. |
int |
getEquationCount()
Return the equation count. |
double |
getQ(int index)
Return the value of the dependent variable at the given index. |
double[] |
getRightHandSide(double s,
double[] q,
double ds,
double[] deltaQ,
double qScale)
Returns the right-hand side of the ODEs. |
double |
getS()
Return the value of the independent variable. |
void |
setQ(double value,
int index)
Set the value of the dependent variable at the given index. |
void |
setS(double value)
Set the value of the independent variable. |
void |
updatePostProcess()
Perform update post-processing. |
Method Detail |
---|
double[] getAllQ()
int getEquationCount()
double getQ(int index)
index
- Index of the dependent variable.double[] getRightHandSide(double s, double[] q, double ds, double[] deltaQ, double qScale)
s
- Independent variable value.q
- Dependent variables values.ds
- Delta value of the independent variable.deltaQ
- Delta values of the dependent variables.qScale
- Scale value for the dependent variables.double getS()
void setQ(double value, int index)
value
- Dependent variable value.index
- Index of the dependent variable.void setS(double value)
void updatePostProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |