예제 #1
0
def test_pw2qmcpack_minimal_init():
    from machines import job
    from qmcpack_converters import Pw2qmcpack, generate_pw2qmcpack

    sim = generate_pw2qmcpack(job=job(machine='ws1', cores=1), )

    assert (isinstance(sim, Pw2qmcpack))

    clear_all_sims()
예제 #2
0
def get_pw2qmcpack_sim(**kwargs):
    from machines import job
    from qmcpack_converters import Pw2qmcpack, generate_pw2qmcpack

    sim = generate_pw2qmcpack(job=job(machine='ws1', cores=1), **kwargs)

    assert (isinstance(sim, Pw2qmcpack))

    return sim