コード例 #1
0
def load_errorfiles():
    dir_name = os.path.dirname(os.path.abspath(__file__))
    # dir_name = oftest.base_dir()
    ferr_serial = os.path.join(dir_name, "volumeFractionError.dat")
    ferr_par = os.path.join(dir_name, "volumeFractionErrorPar.dat")
    err_serial = oftest.read_functionObject(ferr_serial)
    err_parrallel = oftest.read_functionObject(ferr_par)
    return err_serial, err_parrallel
コード例 #2
0
def load_errorfiles():
    dir_name = os.path.dirname(os.path.abspath(__file__))
    ferr = os.path.join(dir_name, "volumeFractionError.dat")
    err = oftest.read_functionObject(ferr)
    return err