|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnr.ode.ODE.Factory
public static class ODE.Factory
an ODE factory that allows changing the algorithm. See Design Patterns (Factory and Strategy)
| Constructor Summary | |
|---|---|
ODE.Factory()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
descriptions()
the list of descriptions of solvers |
java.lang.String |
getODE()
gets the name of the current ODE |
ODE |
instance(VecFunction dxdt)
|
java.lang.String[] |
names()
the list of names of solvers |
void |
setODE(java.lang.String name)
sets the current ODE solver |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ODE.Factory()
| Method Detail |
|---|
public ODE instance(VecFunction dxdt)
throws java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetExceptionpublic java.lang.String getODE()
public void setODE(java.lang.String name)
name - the name of the desired ODE solver
java.lang.IllegalArgumentException - if no such solver existspublic java.lang.String[] names()
public java.lang.String[] descriptions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||