Package org.orekit.forces
Class AbstractForceModel
- java.lang.Object
-
- org.orekit.forces.AbstractForceModel
-
- All Implemented Interfaces:
ForceModel
- Direct Known Subclasses:
AbstractParametricAcceleration,ConstantThrustManeuver,DragForce,HolmesFeatherstoneAttractionModel,NewtonianAttraction,OceanTides,Relativity,SolarRadiationPressure,SolidTides,ThirdBodyAttraction
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 voidcomplainIfNotSupported(String name)Complain if a parameter is not supported.ParameterDrivergetParameterDriver(String name)Get parameter value from its name.booleanisSupported(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, getParametersDrivers, init
-
-
-
-
Method Detail
-
getParameterDriver
public ParameterDriver getParameterDriver(String name)
Get parameter value from its name.- Specified by:
getParameterDriverin 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
ForceModel.getParametersDrivers().- Specified by:
isSupportedin interfaceForceModel- Parameters:
name- parameter name to check- Returns:
- true if the parameter is supported
- See Also:
ForceModel.getParametersDrivers()
-
complainIfNotSupported
protected void complainIfNotSupported(String name)
Complain if a parameter is not supported.- Parameters:
name- name of the parameter
-
-