See data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Updating registry at `~/.julia/registries/General` | |
| Updating git-repo `https://github.com/JuliaRegistries/General.git` | |
| [?25l[2K[?25hhello world |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Cassette | |
| Cassette.@context FizzBuzzCtx | |
| function Cassette.overdub(ctx::FizzBuzzCtx, ::typeof(string), i::Integer) | |
| if i % 3 == 0 | |
| if i % 5 == 0 | |
| "fizzbuzz" | |
| else | |
| "fizz" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Pkg | |
| using LinearAlgebra | |
| using StaticArrays | |
| using GPUifyLoops | |
| @static if haskey(Pkg.installed(), "CuArrays") | |
| using CUDAdrv | |
| using CUDAnative | |
| using CuArrays | |
| CuArrays.allowscalar(false) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using CUDAdrv | |
| using CUDAnative | |
| using CuArrays | |
| using CUDAapi | |
| using GPUifyLoops | |
| using BenchmarkTools | |
| using StaticArrays | |
| using Test | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # mpiexec(cmd -> run(`$cmd -n 1 printenv`)) | |
| MPI_IMPL=none | |
| TRAVIS_ARCH=amd64 | |
| TRAVIS_FILTERED=redirect_io | |
| rvm_bin_path=/Users/travis/.rvm/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Tendencies | |
| abstract type Term end | |
| # rows: equations of each variable | |
| abstract type PrognosticQuantity <: Term end | |
| struct Mass <: PrognosticQuantity end | |
| struct Momentum <: PrognosticQuantity end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is machine-generated - editing it directly is not advised | |
| [[Base64]] | |
| uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | |
| [[CompilerSupportLibraries_jll]] | |
| deps = ["Libdl", "Pkg"] | |
| git-tree-sha1 = "7c4f882c41faa72118841185afc58a2eb00ef612" | |
| uuid = "e66e0078-7015-5450-92f7-15fbd957f2ae" | |
| version = "0.3.3+0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This file is machine-generated - editing it directly is not advised | |
| [[Adapt]] | |
| deps = ["LinearAlgebra"] | |
| git-tree-sha1 = "0fac443759fa829ed8066db6cf1077d888bb6573" | |
| uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" | |
| version = "2.0.2" | |
| [[Base64]] | |
| uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Makie, GLMakie, GeometryBasics | |
| function cubedshellwarp(a, b, c, R = max(abs(a), abs(b), abs(c))) | |
| function f(sR, ξ, η) | |
| X, Y = tan(π * ξ / 4), tan(π * η / 4) | |
| x1 = sR / sqrt(X^2 + Y^2 + 1) | |
| x2, x3 = X * x1, Y * x1 | |
| x1, x2, x3 | |
| end |