analytical tests, hollow sphere and radial displacement + longitudinal vibration of rod (modal analysis)

This commit is contained in:
Jukka Aho
2016-07-10 23:35:17 +03:00
parent a75aaecc97
commit 1344d3b95c
9 changed files with 379 additions and 8 deletions
+4
View File
@@ -313,6 +313,10 @@ function push!(problem::Problem, elements_::Vector...)
end
end
function get_connectivity(problem::Problem)
return union([get_connectivity(element) for element in get_elements(problem)]...)
end
function get_gdofs(element::Element, dim::Int)
conn = get_connectivity(element)
if length(conn) == 0