frictionless 2d contact

This commit is contained in:
Jukka Aho
2015-12-23 17:39:53 +02:00
parent bba9d380fb
commit e3ffe6188d
9 changed files with 1586 additions and 38 deletions
+2
View File
@@ -1,6 +1,8 @@
# This file is a part of JuliaFEM.
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
typealias Node Vector{Float64}
function ForwardDiff.derivative{T}(f::Function, S::Matrix{T}, args...)
shape = size(S)
wrapper(S::Vector) = f(reshape(S, shape))