Skip to content

Commit

Permalink
Merge pull request #181 from FourierFlows/ncc/back-to-mp4
Browse files Browse the repository at this point in the history
Back to mp4 for Docs
  • Loading branch information
navidcy authored Jan 8, 2021
2 parents 37caaaf + dd7ab3a commit 8f50454
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
FourierFlows = "≥ 0.4.5"
FourierFlows = "≥ 0.6"
Plots = "≥ 1.10.1"
3 changes: 2 additions & 1 deletion examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[compat]
FourierFlows = "≥ 0.4.4"
FourierFlows = "≥ 0.6"
Plots = "≥ 1.10.1"
2 changes: 1 addition & 1 deletion examples/barotropicqgql_betaforced.jl
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ anim = @animate for j = 0:round(Int, nsteps / nsubs)
BarotropicQGQL.updatevars!(prob)
end

gif(anim, "barotropicqgql_betaforced.gif", fps=18)
mp4(anim, "barotropicqgql_betaforced.mp4", fps=18)


# ## Save
Expand Down
2 changes: 1 addition & 1 deletion examples/multilayerqg_2layer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ anim = @animate for j = 0:round(Int, nsteps / nsubs)
MultiLayerQG.updatevars!(prob)
end

gif(anim, "multilayerqg_2layer.gif", fps=18)
mp4(anim, "multilayerqg_2layer.mp4", fps=18)


# ## Save
Expand Down
2 changes: 1 addition & 1 deletion examples/singlelayerqg_betadecay.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ anim = @animate for j = 0:round(Int, nsteps/nsubs)

end

gif(anim, "barotropicqg_betadecay.gif", fps=8)
mp4(anim, "barotropicqg_betadecay.mp4", fps=8)

# ## Save

Expand Down
2 changes: 1 addition & 1 deletion examples/singlelayerqg_betaforced.jl
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ anim = @animate for j = 0:Int(nsteps / nsubs)
SingleLayerQG.updatevars!(prob)
end

gif(anim, "barotropicqg_betaforced.gif", fps=18)
mp4(anim, "barotropicqg_betaforced.mp4", fps=18)


# ## Save
Expand Down
2 changes: 1 addition & 1 deletion examples/singlelayerqg_decay_topography.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ anim = @animate for j = 0:round(Int, nsteps/nsubs)
SingleLayerQG.updatevars!(prob)
end

gif(anim, "barotropicqg_decay_topography.gif", fps=12)
mp4(anim, "barotropicqg_decay_topography.mp4", fps=12)
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ anim = @animate for j = 0:Int(nsteps/nsubs)
SingleLayerQG.updatevars!(prob_eqbqg)
end

gif(anim, "singlelayerqg_barotropic_equivalentbarotropic.gif", fps=18)
mp4(anim, "singlelayerqg_barotropic_equivalentbarotropic.mp4", fps=18)
2 changes: 1 addition & 1 deletion examples/surfaceqg_decaying.jl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ anim = @animate for j = 0:round(Int, nsteps/nsubs)
SurfaceQG.updatevars!(prob)
end

gif(anim, "sqg_ellipticalvortex.gif", fps=14)
mp4(anim, "sqg_ellipticalvortex.mp4", fps=14)

# Let's see how all flow fields look like at the end of the simulation.

Expand Down
2 changes: 1 addition & 1 deletion examples/twodnavierstokes_decaying.jl
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ anim = @animate for j = 0:Int(nsteps/nsubs)
TwoDNavierStokes.updatevars!(prob)
end

gif(anim, "twodturb.gif", fps=18)
mp4(anim, "twodturb.mp4", fps=18)


# Last we save the output.
Expand Down
2 changes: 1 addition & 1 deletion examples/twodnavierstokes_stochasticforcing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,4 @@ anim = @animate for j = 0:round(Int, nsteps / nsubs)
TwoDNavierStokes.updatevars!(prob)
end

gif(anim, "twodturb_forced.gif", fps=18)
mp4(anim, "twodturb_forced.mp4", fps=18)

0 comments on commit 8f50454

Please sign in to comment.