LaunchSimulations (version 1.0)
index
/mnt/data2/home/cajgfingert/DART/Scripts/ScriptsRami/LaunchSimulations.py

Functions to launch Dart simulations in command lines

 
Modules
       
argparse
commands
glob
os
platform
shutil
sys
time

 
Functions
       
Launch3DobjectsProcessor(SimulatioPath, DartLocal, DartHome)
Launch the java 3D objects processor
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchDart(SimulatioPath, DartLocal, DartHome)
Launch the cpp dart module
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchDirection(SimulatioPath, DartLocal, DartHome)
Launch the cpp direction module
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchMaket(SimulatioPath, DartLocal, DartHome)
Launch the cpp maket module
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchPhase(SimulatioPath, DartLocal, DartHome)
Launch the cpp phase module
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchSimulation(SimulatioPath, DartLocal, DartHome, Objects)
Launch in order: 
  Version update
  Direction 
  Phase
  3D objects processor if simulation has 3D objects
  Maket
  Dart
  
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
  - Objects: true if simulation has objects
LaunchSimulationsInList(SimulationsList, SimulationsFolder, DartLocal, DartHome)
Launch in order for each simulation in the list: 
  Version update
  Direction 
  Phase
  3D objects processor if simulation has 3D objects (in RAMI, contains DIS in the name of the simulation) 
  Maket
  Dart
  
Input:
------
arg:
  - SimulationsList: list of simulation names
  - SimulationsFolder: path to the simulations folder
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder
LaunchVersionUpdate(SimulatioPath, DartLocal, DartHome)
Launch the java version update
Input:
------
arg:
  - SimulatioPath: path to the simulation
  - DartLocal: path to the dart local folder
  - DartHome: path to the dart local folder

 
Data
        __author__ = 'Cajgfinger T.'
__credits__ = 'CESBIO'
__version__ = '1.0'
separator = '/'

 
Author
        Cajgfinger T.

 
Credits
        CESBIO