Dice Player Translation, Initial work on Dice Processes

This commit adds the functions responsible for creating Dice inputs and calling dice it self, the original functions were removed from the Dice.py file and added to SetGlobals' Internal and Dice classes

Signed-off-by: Vitor Hideyoshi <vitor.h.n.batista@gmail.com>
This commit is contained in:
2021-11-05 16:06:31 +00:00
parent f5e4c7ba1f
commit 0d877e3dce
24 changed files with 700 additions and 3382 deletions

View File

@@ -9,13 +9,6 @@ from DPpack.PTable import *
from DPpack.SetGlobals import *
from DPpack.Misc import *
dice_end_flag = "End of simulation" ## The normal end flag
dice_flag_line = -2 ## must be in the line before the last
umaAng3_to_gcm3 = 1.6605 ## Conversion between uma/Ang3 to g/cm3
max_seed = 4294967295 ## Maximum allowed value for a seed (numpy)
####################################### functions ######################################
def make_inputs(cycle, proc):