for (unsigned int d=0; d<n_components; ++d)
               Tensor<2,dim> hessian_phi_v =
fe.shape_hessian_component(i, k, d);
                Mii += dx *
                       (hessian_phi_v.trace * hessian_phi_v.trace);

You are missing curly braces: the way you wrote it, the Mii assignment
is not done inside the loop.


-- 
Timo Heister
http://www.math.clemson.edu/~heister/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to