Commit 01ca1f9a authored by Petar Mlinarić's avatar Petar Mlinarić Committed by René Fritze

[demos] reduce IRKA iteration numbers in SOR-IRKA

parent 15bb2005
......@@ -610,7 +610,7 @@ def main(
roms_sor_irka = []
for mu in mu_list:
sor_irka_reductor = SORIRKAReductor(so_sys, mu=mu)
rom_sor_irka = sor_irka_reductor.reduce(r)
rom_sor_irka = sor_irka_reductor.reduce(r, irka_options={'maxit': 10})
roms_sor_irka.append(rom_sor_irka)
......
......@@ -325,7 +325,7 @@ def main(
# Second-Order Reduced Iterative Rational Krylov Algorithm (SOR-IRKA)
sor_irka_reductor = SORIRKAReductor(so_sys)
rom_sor_irka = sor_irka_reductor.reduce(r)
rom_sor_irka = sor_irka_reductor.reduce(r, irka_options={'maxit': 10})
fig, ax = plt.subplots()
ax.semilogy(sor_irka_reductor.conv_crit, '.-')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment