public abstract class AbstractForceModel extends Object implements ForceModel
Constructor and Description |
---|
AbstractForceModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
complainIfNotSupported(String name)
Complain if a parameter is not supported.
|
double |
getParameter(String name)
Deprecated.
|
ParameterDriver |
getParameterDriver(String name)
Get parameter value from its name.
|
List<String> |
getParametersNames()
Deprecated.
|
boolean |
isSupported(String name)
Check if a parameter is supported.
|
void |
setParameter(String name,
double value)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accelerationDerivatives, accelerationDerivatives, addContribution, getEventsDetectors, getParametersDrivers, init
public ParameterDriver getParameterDriver(String name) throws OrekitException
getParameterDriver
in interface ForceModel
name
- parameter nameOrekitException
- if parameter is not supportedpublic boolean isSupported(String name)
Supported parameters are those listed by ForceModel.getParametersDrivers()
.
isSupported
in interface ForceModel
name
- parameter name to checkForceModel.getParametersDrivers()
protected void complainIfNotSupported(String name) throws OrekitException
name
- name of the parameterOrekitException
- if the parameter is not supported@Deprecated public List<String> getParametersNames()
getParametersNames
in interface ForceModel
ForceModel.isSupported(String)
@Deprecated public double getParameter(String name) throws OrekitException
getParameter
in interface ForceModel
name
- parameter nameOrekitException
- if parameter is not supported@Deprecated public void setParameter(String name, double value) throws OrekitException
setParameter
in interface ForceModel
name
- parameter namevalue
- parameter valueOrekitException
- if parameter is not supportedCopyright © 2002-2016 CS Systèmes d'information. All rights reserved.