|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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. |
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 name| Method Detail |
|---|
public double getTotalMass()
getTotalMass in interface MassProviderpublic double getMass(String partName)
getMass in interface MassProviderpartName - given part
public void updateMass(String partName,
double mass)
updateMass in interface MassProviderpartName - given partmass - mass of the given part
public void addMassDerivative(String partName,
double flowRate)
addMassDerivative in interface MassProviderpartName - name of part subject to mass variationflowRate - flow rate of specified partpublic void setMassDerivativeZero(String partName)
setMassDerivativeZero in interface MassProviderpartName - name of part whose mass derivative is set to zeropublic AdditionalEquations getAdditionalEquation(String name)
getAdditionalEquation in interface MassProvidername - 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 | |||||||||