|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectintegration.Hermite
public class Hermite
Field Summary | |
---|---|
static double |
precision
|
Constructor Summary | |
---|---|
Hermite(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). |
double |
advance(double timeInterval,
double tstep)
|
java.lang.String |
getAuthor()
Returns the author's name. |
boolean |
getCloseEncounter()
|
java.lang.String |
getDesc()
Returns a description of the integrator. |
double |
getMass(int i)
|
double[] |
getPos(int i)
|
java.lang.Object |
getProperty(int property)
Reserved for future use. |
double[] |
getVel(int i)
|
java.lang.String |
getVersion()
Returns the version of the integrator. |
boolean |
hasCloseEncounter()
Specifies if a close encounter happened during the last advance(). |
static void |
main(java.lang.String[] args)
|
void |
restore(double[][] acc,
double[][] jerk)
|
void |
save(double[][] acc,
double[][] jerk)
|
void |
setBody(int i,
double m,
double x,
double y,
double z,
double vx,
double vy,
double vz)
|
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 static double precision
Constructor Detail |
---|
public Hermite(int nbodies)
Method Detail |
---|
public static void main(java.lang.String[] args)
public java.lang.Object getProperty(int property)
Integrator
getProperty
in interface Integrator
property
- Specifies which property to return.
public void setProperty(int property, java.lang.Object value)
Integrator
setProperty
in interface Integrator
property
- Which property to set.value
- Value of the property.public java.lang.String getAuthor()
Integrator
getAuthor
in interface Integrator
public java.lang.String getVersion()
Integrator
getVersion
in interface Integrator
public java.lang.String getDesc()
Integrator
getDesc
in interface Integrator
public boolean getCloseEncounter()
public double advance(double timeInterval, double tstep)
public double advance(double[][] xyzParam, double timeInterval, double tstep)
Integrator
advance
in interface Integrator
xyzParam
- Input / output coordinatestimeInterval
- Amount of time to evolve for.tstep
- Timestep hint.
public void setBody(int i, double m, double x, double y, double z, double vx, double vy, double vz)
public double getMass(int i)
public double[] getPos(int i)
public double[] getVel(int i)
public boolean hasCloseEncounter()
Integrator
hasCloseEncounter
in interface Integrator
public void restore(double[][] acc, double[][] jerk)
public void save(double[][] acc, double[][] jerk)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |