Package org.orekit.forces
Class AbstractForceModel
- java.lang.Object
-
- org.orekit.forces.AbstractForceModel
-
- All Implemented Interfaces:
ForceModel
,ParametersDriversProvider
- Direct Known Subclasses:
AbstractDragForceModel
,AbstractRadiationForceModel
,CR3BPForceModel
,DeSitterRelativity
,HolmesFeatherstoneAttractionModel
,InertialForces
,KnockeRediffusedForceModel
,LenseThirringRelativity
,Maneuver
,NewtonianAttraction
,OceanTides
,ParametricAcceleration
,PythonAbstractForceModel
,Relativity
,SingleBodyAbsoluteAttraction
,SingleBodyRelativeAttraction
,SolidTides
,ThirdBodyAttraction
,TimeSpanParametricAcceleration
public abstract class AbstractForceModel extends Object implements ForceModel
Base class for force models.- Since:
- 8.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AbstractForceModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
complainIfNotSupported(String name)
Complain if a parameter is not supported.ParameterDriver
getParameterDriver(String name)
Get parameter value from its name.boolean
isSupported(String name)
Check if a parameter is supported.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.forces.ForceModel
acceleration, acceleration, addContribution, addContribution, dependsOnPositionOnly, getEventsDetectors, getFieldEventsDetectors, getParameters, getParameters, init, init
-
Methods inherited from interface org.orekit.utils.ParametersDriversProvider
getParametersDrivers
-
-
-
-
Method Detail
-
getParameterDriver
public ParameterDriver getParameterDriver(String name)
Get parameter value from its name.- Specified by:
getParameterDriver
in interfaceForceModel
- Parameters:
name
- parameter name- Returns:
- parameter value
-
isSupported
public boolean isSupported(String name)
Check if a parameter is supported.Supported parameters are those listed by
ParametersDriversProvider.getParametersDrivers()
.- Specified by:
isSupported
in interfaceForceModel
- Parameters:
name
- parameter name to check- Returns:
- true if the parameter is supported
- See Also:
ParametersDriversProvider.getParametersDrivers()
-
complainIfNotSupported
protected void complainIfNotSupported(String name)
Complain if a parameter is not supported.- Parameters:
name
- name of the parameter
-
-