Skip to content

Commit

Permalink
TL: found back original settings for parareal
Browse files Browse the repository at this point in the history
  • Loading branch information
tlunet committed Apr 27, 2023
1 parent a529695 commit fd07c02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions outputs/01_SISC/fig_parareal.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
nPtsPerWavelength = 10
plotSol = False

nPtsCoarse = int(round(nPtsPerWavelength/2))
nPtsCoarse = int(round(nPtsPerWavelength/5))

for i, lam in enumerate(lams):

s = GFMSolver(lam, u0=1, dt=0.1*np.pi, L=10)
s = GFMSolver(lam, u0=1, dt=0.2*np.pi, L=10)
s.setFineLevel(
M=nPtsPerWavelength if plotSol else 1,
method=fineMethod, nodes=nodesType, qType=qType,
Expand Down Expand Up @@ -61,7 +61,7 @@
gamma = np.linalg.norm(R, ord=np.inf)

plt.figure()
plt.title(f'lam={lam}, {nPtsPerWavelength} pts per wavelength')
# plt.title(f'lam={lam}, {nPtsPerWavelength} pts per wavelength')
# Iterations
for k in range(nIter):
s.iterate(algo, uAlgo)
Expand Down

0 comments on commit fd07c02

Please sign in to comment.