fr.cnes.sirius.patrius.assembly.properties
Class PropulsiveProperty

java.lang.Object
  extended by fr.cnes.sirius.patrius.assembly.properties.PropulsiveProperty
All Implemented Interfaces:
IPartProperty

public final class PropulsiveProperty
extends Object
implements IPartProperty

Propulsive property : gathers all thrust properties.

Since:
3.4
Version:
$Id: PropulsiveProperty.java 17588 2017-05-10 13:31:54Z bignon $
Author:
rodriguest
Concurrency :
immutable

Constructor Summary
PropulsiveProperty(String inName, double inThrust, double inIsp)
          Constructor for the property with constant value for thrust and isp.
PropulsiveProperty(String inName, IDependentVariable<SpacecraftState> inThrust, IDependentVariable<SpacecraftState> inIsp)
          Constructor for the property with thrust and isp as IDependentVariable.
PropulsiveProperty(String inName, Parameter inThrust, Parameter inIsp)
          Constructor for the property with thrust and isp as Parameter.
 
Method Summary
 IDependentVariable<SpacecraftState> getIsp()
          Getter for the isp as an IDependentVariable object.
 double getIsp(SpacecraftState state)
          Getter for isp (s) as function of input SpacecraftState.
 Parameter getIspParam()
          Getter for the isp as an Parameter object.
 String getName()
          Getter for the name.
 IDependentVariable<SpacecraftState> getThrust()
          Getter for the thrust as an IDependentVariable object.
 double getThrust(SpacecraftState state)
          Getter for thrust force (N) as function of input SpacecraftState.
 Parameter getThrustParam()
          Getter for the thrust force as an Parameter object.
 PropertyType getType()
          Get the type of the property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropulsiveProperty

public PropulsiveProperty(String inName,
                          Parameter inThrust,
                          Parameter inIsp)
Constructor for the property with thrust and isp as Parameter.

Parameters:
inName - name
inThrust - thrust
inIsp - isp

PropulsiveProperty

public PropulsiveProperty(String inName,
                          double inThrust,
                          double inIsp)
Constructor for the property with constant value for thrust and isp.

Parameters:
inName - name
inThrust - thrust
inIsp - isp

PropulsiveProperty

public PropulsiveProperty(String inName,
                          IDependentVariable<SpacecraftState> inThrust,
                          IDependentVariable<SpacecraftState> inIsp)
Constructor for the property with thrust and isp as IDependentVariable.

Parameters:
inName - name
inThrust - thrust
inIsp - isp
Method Detail

getName

public String getName()
Getter for the name.

Returns:
the name

getThrust

public IDependentVariable<SpacecraftState> getThrust()
Getter for the thrust as an IDependentVariable object.

Returns:
the thrust

getIsp

public IDependentVariable<SpacecraftState> getIsp()
Getter for the isp as an IDependentVariable object.

Returns:
the isp

getIspParam

public Parameter getIspParam()
Getter for the isp as an Parameter object.

Will return NaN if ISP has been defined as variable.

Returns:
the isp

getThrustParam

public Parameter getThrustParam()
Getter for the thrust force as an Parameter object.

Will return NaN if thrust has been defined as variable.

Returns:
the thrust force

getThrust

public double getThrust(SpacecraftState state)
Getter for thrust force (N) as function of input SpacecraftState.

Parameters:
state - the spacecraft state
Returns:
the thrust (N)

getIsp

public double getIsp(SpacecraftState state)
Getter for isp (s) as function of input SpacecraftState.

Parameters:
state - the spacecraft state
Returns:
the isp (s)

getType

public PropertyType getType()
Description copied from interface: IPartProperty
Get the type of the property.

Specified by:
getType in interface IPartProperty
Returns:
the type of the property (see PropertyType enumeration)


Copyright © 2017 CNES. All Rights Reserved.