← Back to team overview

ffc team mailing list archive

Re: Bug in evaluate_dofs

 

Anders Logg wrote:
There's a bug in evaluate_dofs for tensor-valued elements.

For TensorWeightedPoisson, we get a segmentation fault because the
array named vals declared on line 1319 has length 2 when the
value_size is 4 (=2*2) for the mixed element. The vals array is used
as input to the evaluate call which will assign to all for components.

Not surprising, I haven't really taken care of tensor-valued elements at all.
I can fix tomorrow.

How are we handling tensor-valued elements btw? Flattening them?

--
Marie



Follow ups

References