public final class EarthGravitationalModelFactory extends Object
Factory class for earth gravitational model. This factory provides earth gravitational model by giving the potential file name, the degree and the order.
BalminoGravityModel
,
CunninghamGravityModel
,
DrozinerGravityModel
,
GravityFieldFactory
final GravityModel model = EarthGravitationalModelFactory.getGravitationalModel(potentialFileName, n, m);
Modifier and Type | Class and Description |
---|---|
static class |
EarthGravitationalModelFactory.GravityFieldNames
Gravity field names enumerate.
|
Modifier and Type | Method and Description |
---|---|
static GravityModel |
getBalmino(EarthGravitationalModelFactory.GravityFieldNames potentialFileName,
String filename,
int n,
int m,
boolean missingCoefficientsAllowed)
Create an instance of a central body attraction with normalized coefficients, Helmholtz Polynomials (Balmino
model) and specific data.
|
static GravityModel |
getCunningham(EarthGravitationalModelFactory.GravityFieldNames potentialFileName,
String filename,
int n,
int m,
boolean missingCoefficientsAllowed)
Create an instance of the gravitational field of a celestial body using Cunningham model and specific data.
|
static GravityModel |
getDroziner(EarthGravitationalModelFactory.GravityFieldNames potentialFileName,
String filename,
int n,
int m,
boolean missingCoefficientsAllowed)
Create an instance of the gravitational field of a celestial body using Droziner model and specific data.
|
static GravityModel |
getGravitationalModel(EarthGravitationalModelFactory.GravityFieldNames potentialFileName,
String filename,
int n,
int m)
Create an default instance of a gravitational field of a celestial body using Balmino model and specific data.
|
static GravityModel |
getGravitationalModel(EarthGravitationalModelFactory.GravityFieldNames potentialFileName,
String filename,
int n,
int m,
boolean missingCoefficientsAllowed)
Create an default instance of a gravitational field of a celestial body using Balmino model and specific data.
|
public static GravityModel getGravitationalModel(EarthGravitationalModelFactory.GravityFieldNames potentialFileName, String filename, int n, int m) throws IOException, ParseException, PatriusException
potentialFileName
- the gravity field namefilename
- gravity data filenamen
- the degreem
- the orderIOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing or if some loader specific error occursBalminoGravityModel
public static GravityModel getGravitationalModel(EarthGravitationalModelFactory.GravityFieldNames potentialFileName, String filename, int n, int m, boolean missingCoefficientsAllowed) throws IOException, ParseException, PatriusException
potentialFileName
- the gravity field namefilename
- gravity data filenamen
- the degreem
- the ordermissingCoefficientsAllowed
- if true, allows missing coefficients in the input dataIOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing or if some loader specific error occursBalminoGravityModel
public static GravityModel getBalmino(EarthGravitationalModelFactory.GravityFieldNames potentialFileName, String filename, int n, int m, boolean missingCoefficientsAllowed) throws IOException, ParseException, PatriusException
potentialFileName
- the gravity field namefilename
- gravity data filenamen
- the degreem
- the ordermissingCoefficientsAllowed
- if true, allows missing coefficients in the input dataIOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing or if some loader specific error occursBalminoGravityModel
public static GravityModel getCunningham(EarthGravitationalModelFactory.GravityFieldNames potentialFileName, String filename, int n, int m, boolean missingCoefficientsAllowed) throws IOException, ParseException, PatriusException
potentialFileName
- the gravity field namefilename
- gravity data filenamen
- the degreem
- the ordermissingCoefficientsAllowed
- if true, allows missing coefficients in the input dataIOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing or if some loader specific error occursCunninghamGravityModel
public static GravityModel getDroziner(EarthGravitationalModelFactory.GravityFieldNames potentialFileName, String filename, int n, int m, boolean missingCoefficientsAllowed) throws IOException, ParseException, PatriusException
potentialFileName
- the gravity field namefilename
- gravity data filenamen
- the degreem
- the ordermissingCoefficientsAllowed
- if true, allows missing coefficients in the input dataIOException
- if data can't be readParseException
- if data can't be parsedPatriusException
- if some data is missing or if some loader specific error occursDrozinerGravityModel
Copyright © 2024 CNES. All rights reserved.