joopa joo.

This commit is contained in:
Jukka Aho
2016-02-26 18:18:00 +02:00
parent 28e193fa95
commit d20d2b3aaf
3 changed files with 62 additions and 141 deletions
+9
View File
@@ -78,6 +78,15 @@ function get_integration_points(::TriangularElement, ::Type{Val{2}})
]
end
function get_integration_points(::TriangularElement, ::Type{Val{3}})
[
IntegrationPoint([1/3, 1/3], 0.5*-0.5625),
IntegrationPoint([0.2, 0.2], 0.5*0.5208333333333333),
IntegrationPoint([0.2, 0.6], 0.5*0.5208333333333333),
IntegrationPoint([0.6, 0.2], 0.5*0.5208333333333333),
]
end
function get_integration_points(::TriangularElement, ::Type{Val{4}})
# http://math2.uncc.edu/~shaodeng/TEACHING/math5172/Lectures/Lect_15.PDF
# FIXME: something wrong here with weights ..?