Exemple #1
0
def run_tests(executable):

    temp = 'input/vlct/dual_energy_cloud/{}_cloud.in'
    wrapper = EnzoEWrapper(executable,temp)

    wrapper('hlld')
    wrapper('hllc')
    wrapper('hlle')
def run_tests(executable):

    temp = 'input/vlct/MHD_shock_tube/method_vlct_{:s}_rj2a_N{:d}.in'
    call_test = EnzoEWrapper(executable, temp)

    call_test("x", 256)
    call_test("y", 256)
    call_test("z", 256)
def run_tests(executable):

    temp = 'input/vlct/dual_energy_shock_tube/method_vlct_sod_{}_de_M10{}.in'
    wrapper = EnzoEWrapper(executable, temp)

    wrapper('x', '')
    wrapper('x', '_reverse')
    wrapper('y', '')
    wrapper('z', '')
Exemple #4
0
def run_tests(executable):
    temp = ('input/vlct/passive_advect_sound_wave/'
            'method_vlct_{}_passive_sound.in')
    call_test = EnzoEWrapper(executable, temp)

    # calls some tests
    call_test('x')
    call_test('y')
    call_test('z')
def run_tests(executable):

    for solver in ['ppm', 'vlct']:

        temp = 'input/Gravity/jeans_wave/' + solver + '_stable_jeansN{:d}.in'
        call_test = EnzoEWrapper(executable, temp)

        call_test(16)
        call_test(32)
Exemple #6
0
def run_tests(executable):
    temp = 'input/vlct/HD_linear_wave/method_vlct_{}N{:d}{}.in'
    call_test = EnzoEWrapper(executable, temp)

    call_test("sound", 16, '')
    call_test("sound", 32, '')
    call_test("sound", 32, '_left')

    call_test("hd_entropy", 16, '')
    call_test("hd_entropy", 32, '')

    call_test("hd_transv_entropy_v1", 16, '')
    call_test("hd_transv_entropy_v1", 32, '')

    call_test("hd_transv_entropy_v2", 16, '')
    call_test("hd_transv_entropy_v2", 32, '')
Exemple #7
0
def run_tests(executable):
    temp = 'input/vlct/MHD_linear_wave/method_vlct_{}N{:d}{}.in'
    call_test = EnzoEWrapper(executable,temp)

    call_test("fast",16,'')
    call_test("fast",32,'')
    call_test("fast",32,'_left')

    call_test("alfven",16,'')
    call_test("alfven",32,'')

    call_test("slow",16,'')
    call_test("slow",32,'')
    
    call_test("entropy",16,'')
    call_test("entropy",32,'')