Esempio n. 1
0
def test_maxwell_cavities_mpi():
    from pytools.mpi import run_with_mpi_ranks
    run_with_mpi_ranks(__file__,
                       2,
                       main,
                       write_output=False,
                       allow_features=["mpi"])
 def test_simulation_2d_linear_plm_mpi(self):
     from pytools.mpi import run_with_mpi_ranks
     run_with_mpi_ranks(__file__, 2, lambda: test_simulation_2d_linear_plm())
Esempio n. 3
0
def test_hedge_parallel(dtype, flux_type, random_partition, mesh_gen):
    from pytools.mpi import run_with_mpi_ranks
    run_with_mpi_ranks(__file__, 2, run_convergence_test_advec,
                       (dtype, flux_type, random_partition, mesh_gen))
Esempio n. 4
0
def test_maxwell_cavities_mpi():
    from pytools.mpi import run_with_mpi_ranks

    run_with_mpi_ranks(__file__, 2, main, write_output=False, allow_features=["mpi"])
Esempio n. 5
0
def run_parallel_test(dtype):
    from pytools.mpi import run_with_mpi_ranks
    run_with_mpi_ranks(__file__, 2, lambda: run_convergence_test_advec(dtype))
Esempio n. 6
0
def test_hedge_parallel(dtype, flux_type, random_partition, mesh_gen):
    from pytools.mpi import run_with_mpi_ranks
    run_with_mpi_ranks(__file__, 2,
            run_convergence_test_advec,
                (dtype, flux_type, random_partition, mesh_gen))