public abstract class VariablePotentialCoefficientsReader extends Object implements DataLoader, VariablePotentialCoefficientsProvider
VariablePotentialCoefficientsProvider interface.VariableGravityFieldFactory| Modifier | Constructor and Description |
|---|---|
protected |
VariablePotentialCoefficientsReader(String supportedNames)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadDataprotected VariablePotentialCoefficientsReader(String supportedNames)
Build an uninitialized reader.
supportedNames - regular expression for supported files namespublic 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 setprotected void setYear(int fileYear)
throws PatriusException
fileYear - reference year of the loaded filePatriusException - if UTC timescale failspublic AbsoluteDate getDate()
VariablePotentialCoefficientsProvidergetDate in interface VariablePotentialCoefficientsProviderpublic int getMaxDegree()
getMaxDegree in interface VariablePotentialCoefficientsProviderprotected void setMaxDegree(int degree)
degree - max degree availableCopyright © 2024 CNES. All rights reserved.