示例#1
0
def setSimulationName(properties):
    extension, title = setup.setSimulationNameExtention(properties, file_type)
    name = "lockwood_" + element + "_" + str(test_number) + extension
    output = element + "/" + setup.getResultsDirectory(
        file_type, interpolation) + "/" + name

    return (output, title)
示例#2
0
def setSimulationName(properties):

    extension, title = setup.setSimulationNameExtention(properties, file_type)
    name = "example_" + str(energy) + extension
    output = setup.getResultsDirectory(file_type, interpolation) + "/" + name

    return (output, title)
示例#3
0
def setSimulationName(properties):
    extension, title = setup.setSimulationNameExtention(properties, file_type)
    name = "tabata" + extension
    output = material + "/" + setup.getResultsDirectory(
        file_type, interpolation) + "/" + name

    return (output, title)
示例#4
0
def setSimulationName(properties):
    extension, title = setup.setSimulationNameExtention(properties, file_type)
    name = "forward_" + str(energy) + extension

    date = str(datetime.datetime.today()).split()[0]
    directory = "results/forward/" + date

    output = directory + "/" + name

    return (output, title)