Exemple #1
0
def test_parabolic_mor_results():
    from pymordemos import parabolic_mor

    args = ["pymor", "greedy", 5, 20, 3]
    results = _test_demo(lambda: parabolic_mor.main(*args))
    check_results(
        "test_parabolic_mor_results",
        args,
        results,
        (1e-13, 1e-7),
        "basis_sizes",
        "norms",
        "max_norms",
        (1e-13, 4.0),
        "errors",
        "max_errors",
        "rel_errors",
        "max_rel_errors",
        "estimates",
        "max_estimates",
        "effectivities",
        "min_effectivities",
        "max_effectivities",
        "errors",
    )
Exemple #2
0
def test_parabolic_mor_results():
    from pymordemos import parabolic_mor
    args = ['pymor', 'greedy', 5, 20, 3]
    results = _test_demo(lambda: parabolic_mor.main(*args))
    check_results('test_parabolic_mor_results', args, results,
                  (1e-13, 1e-7), 'basis_sizes', 'norms', 'max_norms',
                  (1e-13, 4.), 'errors', 'max_errors', 'rel_errors', 'max_rel_errors',
                  'estimates', 'max_estimates', 'effectivities', 'min_effectivities', 'max_effectivities', 'errors')
Exemple #3
0
def test_parabolic_mor_results():
    from pymordemos import parabolic_mor
    args = ['pymor', 'greedy', 5, 20, 3]
    results = _test_demo(lambda: parabolic_mor.main(*args))
    check_results('test_parabolic_mor_results', args, results,
                  (1e-13, 1e-7), 'basis_sizes', 'norms', 'max_norms',
                  (1e-13, 4.), 'errors', 'max_errors', 'rel_errors', 'max_rel_errors',
                  'estimates', 'max_estimates', 'effectivities', 'min_effectivities', 'max_effectivities', 'errors')