|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--math.numerics.ODE3
Constructor Summary | |
ODE3()
|
|
ODE3(Function f1,
Function f2,
Function f3,
Variable indVar,
Variable depVar1,
Variable depVar2,
Variable depVar3,
double indIC,
double indMax,
double depIC1,
double depIC2,
double depIC3)
|
Method Summary | |
Point4D[] |
adaptRK45()
|
Point4D[] |
euler()
|
double |
getIndIC()
gets the initial condition for the independent variable |
double |
getIndMax()
gets the max value for the independent variable |
Point4D[] |
huenmethod()
|
Point4D[] |
rungeKutta4()
|
void |
setDepIC1(double ic)
sets the initial condition for the first dependent variable |
void |
setDepIC2(double ic)
sets the initial condition for the second dependent variable |
void |
setDepIC3(double ic)
sets the initial condition for the third dependent variable |
void |
setDepVar1(Variable var)
sets the first dependent variable for this class |
void |
setDepVar2(Variable var)
sets the second dependent variable for this class |
void |
setDepVar3(Variable var)
sets the third dependent variable for this class |
void |
setFunction1(Function f)
sets the first Function for this class |
void |
setFunction2(Function f)
sets the second Function for this class |
void |
setFunction3(Function f)
sets the third Function for this class |
void |
setIndIC(double ic)
sets the initial condition for the independent variable |
void |
setIndMax(double max)
sets the max. |
void |
setIndVar(Variable var)
sets the independent variable for this class |
void |
setNumSteps(int num)
Sets the number of steps used for the solver |
void |
setStepSize(double s)
sets the step size for this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ODE3()
public ODE3(Function f1, Function f2, Function f3, Variable indVar, Variable depVar1, Variable depVar2, Variable depVar3, double indIC, double indMax, double depIC1, double depIC2, double depIC3)
Method Detail |
public void setFunction1(Function f)
public void setFunction2(Function f)
public void setFunction3(Function f)
public void setIndVar(Variable var)
var
- -- the Independent variablepublic void setDepVar1(Variable var)
public void setDepVar2(Variable var)
public void setDepVar3(Variable var)
public void setIndIC(double ic)
public double getIndIC()
public void setDepIC1(double ic)
public void setDepIC2(double ic)
public void setDepIC3(double ic)
public double getIndMax()
public void setIndMax(double max)
max
- -- the maximum value of the domainpublic void setNumSteps(int num)
public void setStepSize(double s)
s
- -- a double representing the step sizepublic Point4D[] euler() throws VariableUndefinedException, UnacceptableVariableException, InfinityException
VariableUndefinedException
UnacceptableVariableException
InfinityException
public Point4D[] huenmethod() throws VariableUndefinedException, UnacceptableVariableException, InfinityException
VariableUndefinedException
UnacceptableVariableException
InfinityException
public Point4D[] rungeKutta4() throws VariableUndefinedException, UnacceptableVariableException
VariableUndefinedException
UnacceptableVariableException
public Point4D[] adaptRK45() throws VariableUndefinedException, UnacceptableVariableException, InfinityException, MinimumStepSizeException
VariableUndefinedException
UnacceptableVariableException
InfinityException
MinimumStepSizeException
|
MVT API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |