frictionless 2d contact

This commit is contained in:
Jukka Aho
2015-12-23 17:39:53 +02:00
parent 5426e47a26
commit a608a580fa
6 changed files with 1586 additions and 38 deletions
+4
View File
@@ -12,6 +12,10 @@ function Base.size{E}(::Element{E})
return size(E)
end
function Base.size{E}(::Element{E}, i::Int64)
return size(E)[i]
end
function convert{E}(::Type{Element{E}}, connectivity::Vector{Int})
# return Element{E}(connectivity, get_integration_points(E), Dict())
return Element{E}(connectivity, Dict())