|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectintegration.BS
public class BS
| Field Summary | |
|---|---|
static double |
precision
|
double[][] |
xyz
|
| Constructor Summary | |
|---|---|
BS(int nbodies)
|
|
| Method Summary | |
|---|---|
double |
advance(double[][] xyzParam,
double timeInterval,
double tstep)
Advances the system by the specified time, using xyzParam as initial (r, v). |
void |
computeDerivatives(double t,
double[] y,
double[] ydot)
|
java.lang.String |
getAuthor()
Returns the author's name. |
boolean |
getCloseEncounter()
|
java.lang.String |
getDesc()
Returns a description of the integrator. |
int |
getDimension()
|
java.lang.Object |
getProperty(int property)
Reserved for future use. |
java.lang.String |
getVersion()
Returns the version of the integrator. |
boolean |
hasCloseEncounter()
Specifies if a close encounter happened during the last advance(). |
void |
setProperty(int property,
java.lang.Object value)
Reserved for future use. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double[][] xyz
public static double precision
| Constructor Detail |
|---|
public BS(int nbodies)
| Method Detail |
|---|
public boolean getCloseEncounter()
public double advance(double[][] xyzParam,
double timeInterval,
double tstep)
Integrator
advance in interface IntegratorxyzParam - Input / output coordinatestimeInterval - Amount of time to evolve for.tstep - Timestep hint.
public boolean hasCloseEncounter()
Integrator
hasCloseEncounter in interface Integratorpublic java.lang.Object getProperty(int property)
Integrator
getProperty in interface Integratorproperty - Specifies which property to return.
public void setProperty(int property,
java.lang.Object value)
Integrator
setProperty in interface Integratorproperty - Which property to set.value - Value of the property.public java.lang.String getAuthor()
Integrator
getAuthor in interface Integratorpublic java.lang.String getVersion()
Integrator
getVersion in interface Integratorpublic java.lang.String getDesc()
Integrator
getDesc in interface Integratorpublic int getDimension()
getDimension in interface org.apache.commons.math.ode.FirstOrderDifferentialEquations
public final void computeDerivatives(double t,
double[] y,
double[] ydot)
throws org.apache.commons.math.ode.DerivativeException
computeDerivatives in interface org.apache.commons.math.ode.FirstOrderDifferentialEquationsorg.apache.commons.math.ode.DerivativeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||