fr.cnes.sirius.patrius.stela.forces.drag
Class StelaCd

java.lang.Object
  extended by fr.cnes.sirius.patrius.stela.forces.drag.StelaCd

public final class StelaCd
extends Object

This class represent a drag coefficient model.

Since:
2.0
Version:
$Id: StelaCd.java 17584 2017-05-10 13:26:39Z bignon $
Author:
Cedric Dental
Concurrency :
immutable

Constructor Summary
StelaCd(double inCd)
          Simple constructor for a constant Cd.
StelaCd(Map<Double,Double> inCd, double rEq, double f)
          Constructor for a Cd model depending on spacecraft altitude.
 
Method Summary
 double getCd(Vector3D position)
          Compute the value of the Cd coefficient depending on spacecraft altitude.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StelaCd

public StelaCd(double inCd)
Simple constructor for a constant Cd.

Parameters:
inCd - the constant value of the cd

StelaCd

public StelaCd(Map<Double,Double> inCd,
               double rEq,
               double f)
Constructor for a Cd model depending on spacecraft altitude.

Parameters:
inCd - the map containing the Cd value with respect to the geodetic altitude of the spacecraft
rEq - the Earth radius
f - the Earth flattening
Method Detail

getCd

public double getCd(Vector3D position)
             throws OrekitException
Compute the value of the Cd coefficient depending on spacecraft altitude.

Parameters:
position - the spacecraft position in the inertial frame
Returns:
the value of the drag coefficient
Throws:
OrekitException - if error while computing geodetic altitude


Copyright © 2017 CNES. All Rights Reserved.