first attemps to make properly linearized version of mortar projection for finite sliding. not working at the moment, it has convergence issues.

This commit is contained in:
Jukka Aho
2016-02-23 11:32:53 +02:00
parent 21d7592c80
commit 65eb014de9
18 changed files with 1865 additions and 739 deletions
+9
View File
@@ -216,6 +216,15 @@ function Base.(:*){T<:Real}(c::T, field::DVTI)
return DVTI(c*field.data)
end
""" Multiply DVTI field with another vector T. Vector length
must match to the field length and this can be used mainly
for interpolation purposes, i.e., u = ∑ Nᵢuᵢ
"""
function Base.(:*)(T::Vector, f::DVTI)
@assert length(T) == length(f)
return sum([T[i]*f[i] for i=1:length(f)])
end
function Base.vec(field::DVTI)
return [field.data...;]
end