Skip to content

Instantly share code, notes, and snippets.

Fredrik Ekre fredrikekre

  • Chalmers University of Technology
Block or report user

Report or block fredrikekre

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mastervspr.md

A ratio greater than 1.0 denotes a possible regression (marked with ), while a ratio less than 1.0 denotes a possible improvement (marked with ). Only significant results - results that indicate possible regressions or improvements - are shown below (thus, an empty table means that all benchmark results remained invariant between builds).

ID time ratio memory ratio
["dcontract","dim 1 - order 2sym 2 - Float32"] 0.94 (5%) 1.00 (1%)
["dcontract","dim 1 - order 2sym 2 - Float64"] 0.90 (5%) 1.00 (1%)
["dcontract","dim 1 - order 4 2sym - Float32"] 0.94 (5%) 1.00 (1%)
View fefacevals.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View labelstyles.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View typestuff.jl
abstract foo{T}
immutable bar{T}
x::T
end
immutable baz{T} <: foo{T <: Real}
x::bar{T}
end
View gandke.md

Calculating g and ke at the same time

using ForwardDiff
View test_mesh.jl
using JuAFEM
# Test of mesh functions in JuAFEM
function test_mesh()
# Set up nodal coordinates
coords = [0.0 1.0 2.0 0.0 1.0 2.0 0.0 1.0 2.0;
0.0 0.0 0.0 1.0 1.0 1.0 2.0 2.0 2.0]
coords_tens = reinterpret(Vec{2, Float64}, coords, (div(length(coords),2),))
You can’t perform that action at this time.