Skip to content
Snippets Groups Projects
Commit 6d2a2f59 authored by Stephan Hilb's avatar Stephan Hilb
Browse files

fix data initialization

parent 0b93088e
No related branches found
No related tags found
No related merge requests found
......@@ -240,6 +240,7 @@ function project_img2!(u::FeFunction, img)
# number of element dofs (i.e. local dofs not counting range dimensions)
nldofs = ndofs(space.element)
u.data .= 0
# count contributions to respective dof for subsequent averaging
gdofcount = zeros(Int, size(u.data))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment