Functions

Functions

Functions exported from FourierFlows:

Base.resize!Method.
resize!(diag, newnum)

Resize the Diagnostic data and time arrays to length newnum.

source

Returns a time-stepper of type `steppernameTimeStepper'.

source
dealias!(a, g, kalias)

Dealias a on the grid g with aliased x-wavenumbers kalias.

source
gridpoints(g)

Returns the collocation points of the grid g in 2D arrays X, Y.

source
increment!(diag)
increment!(diags)

Increment the Diagnostic diag, or an array of Diagnostics diags.

source
savediagnostic(diag, diagname)

Save diagnostics to file, labeled by the string diagname.

source
saveoutput(out)

Save current output fields for file in out.filename.

source
saveproblem(prob, filename)

Save certain aspects of a problem timestepper, grid, and params. Functions that are fields in params are not saved.

source
stepforward!(prob, diags, nsteps)

Step forward prob for nsteps, incrementing diagnostics in the array diags along the way.

source
stepforward!(prob, nsteps)

Step forward prob for nsteps.

source
stepforward!(prob)

Step forward prob for one timestep.

source
update!(diag)

Update diag with its current value.

source

Functions exported from KuramotoSivashinsky:

InitialValueProblem(; parameters...)

Construct an initial-value Kuramoto-Sivashinky problem that solves the equation

∂t u + ∂ₓ⁴u + ∂ₓ²u + u ∂ₓu = 0.

source
set_u!(prob, u)
set_u!(s, v, g, u)

Set the solution prob.state.sol as the transform of u and update variables.

source
updatevars!(v, s, g)

Update the vars in v on the grid g with the solution in s.sol.

source

Functions exported from TwoDTurb:

Modules = [FourierFlows.TwoDTurb]
Private = false
Order = [:function]

Functions exported from BarotropicQG:

Modules = [FourierFlows.BarotropicQG]
Private = false
Order = [:function]

Functions exported from TracerAdvDiff:

set_c!(s, v, g, c)
set_c!(s, v, g, c::Function)
set_c!(prob, c)

Set the solution s.sol as the transform of c and update variables v on the grid g.

source
updatevars!(v, s, g)

Update the vars in v on the grid g with the solution in s.sol.

source

Functions exported from VerticallyFourierBoussinesq:

Modules = [FourierFlows.VerticallyFourierBoussinesq]
Private = false
Order = [:function]

Functions exported from VerticallyCosineBoussinesq:

Modules = [FourierFlows.VerticallyCosineBoussinesq]
Private = false
Order = [:function]