fr.cnes.sirius.patrius.stela
Class StelaSpacecraftFactory

java.lang.Object
  extended by fr.cnes.sirius.patrius.stela.StelaSpacecraftFactory

public final class StelaSpacecraftFactory
extends Object

Utility class to build Stela spacecrafts

Since:
1.3
Version:
$Id: StelaSpacecraftFactory.java 12556 2015-03-10 12:30:04Z bignon $
Author:
Rami Houdroge
Concurrency :
unconditionally thread-safe
Concurrency comment :
access to the only static field is synchronized

Method Summary
static Assembly createStelaCompatibleSpacecraft(String mainPartName, double mass, double dragArea, double dragCoefficient, double srpArea, double srpReflectionCoefficient)
           Utility method to create a STELA Assembly, made of a sphere with both radiative and aerodynamic properties.
static Assembly createStelaRadiativeSpacecraft(String mainPartName, double mass, double srpArea, double srpReflectionCoefficient)
           Utility method to create a STELA Assembly, made of a sphere with only radiative properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createStelaCompatibleSpacecraft

public static Assembly createStelaCompatibleSpacecraft(String mainPartName,
                                                       double mass,
                                                       double dragArea,
                                                       double dragCoefficient,
                                                       double srpArea,
                                                       double srpReflectionCoefficient)
                                                throws OrekitException

Utility method to create a STELA Assembly, made of a sphere with both radiative and aerodynamic properties.

The reflection coefficient Cr (parameter srpReflectionCoefficient) is related to the diffuse reflection coefficient kd as per :

 kd = (Cr - 1) * 9 / 4.
 

Parameters:
mainPartName - name of spacecraft
mass - mass of spacecraft
dragArea - drag area of spacecraft
dragCoefficient - drag coefficient of spacecraft
srpArea - radiative are of spacecraf
srpReflectionCoefficient - reflection coefficient of spacecraft
Returns:
the assembly
Throws:
OrekitException - if the mass is negative (OrekitMessages.MASS_ARGUMENT_IS_NEGATIVE)

createStelaRadiativeSpacecraft

public static Assembly createStelaRadiativeSpacecraft(String mainPartName,
                                                      double mass,
                                                      double srpArea,
                                                      double srpReflectionCoefficient)
                                               throws OrekitException

Utility method to create a STELA Assembly, made of a sphere with only radiative properties.

The reflection coefficient Cr (parameter srpReflectionCoefficient) is related to the diffuse reflection coefficient kd as per :

 kd = (Cr - 1) * 9 / 4.
 

Parameters:
mainPartName - name of spacecraft
mass - mass of spacecraft
srpArea - radiative are of spacecraf
srpReflectionCoefficient - reflection coefficient of spacecraft
Returns:
the assembly
Throws:
OrekitException - if the mass is negative (OrekitMessages.MASS_ARGUMENT_IS_NEGATIVE)


Copyright © 2016 CNES. All Rights Reserved.