|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.orekit.forces.gravity.variations.coefficients.VariablePotentialCoefficientsReader
public abstract class VariablePotentialCoefficientsReader
Abstract class representing a variable potential coefficients file reader. No actual "file reading" takes place in
this class, as the loadData method is delegated to sub-classes, but this class handles all the data structures and
answers the VariablePotentialCoefficientsProvider interface.
VariableGravityFieldFactory| Constructor Summary | |
|---|---|
protected |
VariablePotentialCoefficientsReader(String supportedNames)
Simple constructor. |
| Method Summary | |
|---|---|
protected void |
add(VariablePotentialCoefficientsSet set)
Add an entry |
double |
getAe()
Get the value of the central body reference radius. |
Map<Integer,Map<Integer,VariablePotentialCoefficientsSet>> |
getData()
Get the normalized variable potential coefficients |
AbsoluteDate |
getDate()
Get the reference date of the file |
int |
getMaxDegree()
Get the max degree available |
double |
getMu()
Get the central body attraction coefficient. |
String |
getSupportedNames()
Get the regular expression for supported files names. |
protected void |
put(Integer deg)
Add a new orders list for given degree |
protected void |
setAe(double aeIn)
|
protected void |
setMaxDegree(int degree)
Set max degree |
protected void |
setMu(double muIn)
|
protected void |
setReadCompleted(boolean read)
|
protected void |
setYear(int fileYear)
Set file year |
boolean |
stillAcceptsData()
Check if the loader still accepts new data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.orekit.data.DataLoader |
|---|
loadData |
| Constructor Detail |
|---|
protected VariablePotentialCoefficientsReader(String supportedNames)
Build an uninitialized reader.
supportedNames - regular expression for supported files names| Method Detail |
|---|
public boolean stillAcceptsData()
This method is used to speed up data loading by interrupting crawling the data sets as soon as a loader has found the data it was waiting for. For loaders that can merge data from any number of sources (for example JPL ephemerides or Earth Orientation Parameters that are split among several files), this method should always return true to make sure no data is left over.
stillAcceptsData in interface DataLoaderpublic String getSupportedNames()
public Map<Integer,Map<Integer,VariablePotentialCoefficientsSet>> getData()
getData in interface VariablePotentialCoefficientsProviderpublic double getMu()
getMu in interface VariablePotentialCoefficientsProviderpublic double getAe()
getAe in interface VariablePotentialCoefficientsProviderprotected void add(VariablePotentialCoefficientsSet set)
set - set to add to the mapprotected void put(Integer deg)
deg - degreeprotected void setAe(double aeIn)
aeIn - the ae to setprotected void setMu(double muIn)
muIn - the mu to setprotected void setReadCompleted(boolean read)
read - the readCompleted to set
protected void setYear(int fileYear)
throws OrekitException
fileYear - reference year of the loaded file
OrekitException - if UTC timescale failspublic AbsoluteDate getDate()
VariablePotentialCoefficientsProvider
getDate in interface VariablePotentialCoefficientsProviderpublic int getMaxDegree()
getMaxDegree in interface VariablePotentialCoefficientsProviderprotected void setMaxDegree(int degree)
degree - max degree available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||