File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1010 rc ('xtick' , labelsize = 'small' )
1111 rc ('ytick' , labelsize = 'small' )
1212
13- nprocs = 32
13+ nprocs = 1
1414
1515 xtick_dist = 16
1616
2121 maxiter = 0
2222 nsteps = 0
2323
24- # ref = 'SDC_GRAYSCOTT_stats_hf_NOFAULT_new.npz'
24+ ref = 'SDC_GRAYSCOTT_stats_hf_NOFAULT_new.npz'
2525 # ref = 'PFASST_GRAYSCOTT_stats_hf_NOFAULT_P32.npz'
26- ref = 'PFASST_GRAYSCOTT_stats_hf_SPREAD_P32.npz'
26+ # ref = 'PFASST_GRAYSCOTT_stats_hf_SPREAD_P32.npz'
2727
2828 data = np .load (ref )
2929
@@ -109,7 +109,8 @@ def animate(index):
109109
110110 # Set up formatting for the movie files
111111 Writer = animation .writers ['ffmpeg' ]
112- writer = Writer (fps = 1 , metadata = dict (artist = 'Me' ), bitrate = 3200 )
112+ # choose fps=1 for PFASST, fps=15 for SDC
113+ writer = Writer (fps = 15 , metadata = dict (artist = 'Me' ), bitrate = 3200 )
113114
114115 fname = 'anim_conv_' + ref .split ('.' )[0 ]+ '.mp4'
115116 anim .save (fname ,writer = writer )
You can’t perform that action at this time.
0 commit comments