mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-28 20:46:58 +00:00
most important tests pass now
This commit is contained in:
@@ -68,10 +68,12 @@ function get_integration_points(element::LineElement, ::Type{Val{3}})
|
||||
[ (w[i], [xi[i]]) for i=1:3 ]
|
||||
end
|
||||
|
||||
#=
|
||||
function get_integration_points{E<:LineElement}(element::Element{E}, ::Type{Val{3}})
|
||||
w, xi = get_integration_points(Val{3})
|
||||
[ (w[i], [xi[i]]) for i=1:3 ]
|
||||
end
|
||||
=#
|
||||
|
||||
function get_integration_points(element::Quad4, ::Type{Val{2}})
|
||||
w, xi = get_integration_points(Val{2})
|
||||
@@ -106,6 +108,10 @@ function get_integration_points(element::Hex8)
|
||||
get_integration_points(element, Val{2})
|
||||
end
|
||||
|
||||
function get_integration_points{E}(element::Element{E}, ::Type{Val{3}})
|
||||
get_integration_points(element.properties, Val{3})
|
||||
end
|
||||
|
||||
### triangular and tetrahedral elements
|
||||
|
||||
# http://math2.uncc.edu/~shaodeng/TEACHING/math5172/Lectures/Lect_15.PDF
|
||||
|
||||
Reference in New Issue
Block a user