public class PsimuBatch extends Object
Constructor and Description |
---|
PsimuBatch(String confFilename,
String outputDir)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> |
getListEventsToDetect()
Get list of events to detect.
|
OutputConfig |
getOutputConfig()
Get output configuration.
|
Psimu |
getPsimu()
Get JPSIMU subroutine mode.
|
void |
propagateInMasterMode()
Propagates the orbit.
|
fr.cnes.sirius.patrius.propagation.SpacecraftState |
propagateInSlaveMode()
Propagates in slave mode.
|
void |
run(String outputDir,
String resultName,
String varListFilename,
boolean writeVts)
Main method (expected to be called from IHM).
|
public PsimuBatch(String confFilename, String outputDir) throws PsimuException, PsimuOutputManagerException
confFilename
- scenario input data (SCE_[].xml)outputDir
- output directory.PsimuException
- if some internal error occursPsimuOutputManagerException
- if the selected time scale isn't recognizedpublic void propagateInMasterMode() throws PsimuPropagationException
PsimuPropagationException
- if the propagation fails.public fr.cnes.sirius.patrius.propagation.SpacecraftState propagateInSlaveMode() throws PsimuPropagationException
PsimuPropagationException
- if propagation fails.public Psimu getPsimu()
public OutputConfig getOutputConfig()
public List<fr.cnes.genopus.nonWidget.events.CustomEventDetector> getListEventsToDetect()
public void run(String outputDir, String resultName, String varListFilename, boolean writeVts) throws PsimuException
outputDir
- output directory for the results.resultName
- prefix for the results.varListFilename
- name of the file containing the variables to send to the EPH and EVENT files.writeVts
- if the VTS output files shall be generated.PsimuException
- if some internal error occursCopyright © 2022. All rights reserved.