|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.propagation.SimpleMassModel
public class SimpleMassModel
Simple implementation of MassProvider
. The mass DOESNT vary!
Field Summary |
---|
Fields inherited from interface org.orekit.propagation.MassProvider |
---|
MASS |
Constructor Summary | |
---|---|
SimpleMassModel(double mass,
String name)
Constructor. |
Method Summary | |
---|---|
void |
addMassDerivative(String partName,
double flowRate)
This model represents one part only. |
AdditionalEquations |
getAdditionalEquation(String name)
Get the mass equation related to the part. |
List<String> |
getAllPartsNames()
Get the list of the name of the parts. |
double |
getMass(String partName)
This model represents one part only. |
double |
getTotalMass()
Return the mass of the spacecraft. |
double |
getTotalMass(SpacecraftState state)
Return the mass of the spacecraft following the order. |
void |
setMassDerivativeZero(String partName)
Set mass derivative to zero. |
void |
updateMass(String partName,
double mass)
This model represents one part only. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMassModel(double mass, String name)
mass
- mass of spacecraftname
- mass model nameMethod Detail |
---|
public double getTotalMass()
getTotalMass
in interface MassProvider
public double getTotalMass(SpacecraftState state)
MassProvider.getTotalMass()
)
getTotalMass
in interface MassProvider
state
- spacecraft state
public double getMass(String partName)
getMass
in interface MassProvider
partName
- given part
public void updateMass(String partName, double mass)
updateMass
in interface MassProvider
partName
- given partmass
- mass of the given partpublic void addMassDerivative(String partName, double flowRate)
addMassDerivative
in interface MassProvider
partName
- name of part subject to mass variationflowRate
- flow rate of specified partpublic void setMassDerivativeZero(String partName)
setMassDerivativeZero
in interface MassProvider
partName
- name of part whose mass derivative is set to zeropublic AdditionalEquations getAdditionalEquation(String name)
getAdditionalEquation
in interface MassProvider
name
- part name
public List<String> getAllPartsNames()
getAllPartsNames
in interface MassProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |